/* * cms.h : GeeXboX uShare Connection Management Service header. * Originally developped for the GeeXboX project. * Parts of the code are originated from GMediaServer from Oskar Liljeblad. * Copyright (C) 2005-2007 Benjamin Zores * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef CMS_H_ #define CMS_H_ #define CMS_DESCRIPTION \ "" \ "" \ " " \ " 1" \ " 0" \ " " \ " " \ " " \ " GetCurrentConnectionInfo" \ " " \ " " \ " ConnectionID" \ " in" \ " A_ARG_TYPE_ConnectionID" \ " " \ " " \ " RcsID" \ " out" \ " A_ARG_TYPE_RcsID" \ " " \ " " \ " AVTransportID" \ " out" \ " A_ARG_TYPE_AVTransportID" \ " " \ " " \ " ProtocolInfo" \ " out" \ " A_ARG_TYPE_ProtocolInfo" \ " " \ " " \ " PeerConnectionManager" \ " out" \ " A_ARG_TYPE_ConnectionManager" \ " " \ " " \ " PeerConnectionID" \ " out" \ " A_ARG_TYPE_ConnectionID" \ " " \ " " \ " Direction" \ " out" \ " A_ARG_TYPE_Direction" \ " " \ " " \ " Status" \ " out" \ " A_ARG_TYPE_ConnectionStatus" \ " " \ " " \ " " \ " " \ " GetProtocolInfo" \ " " \ " " \ " Source" \ " out" \ " SourceProtocolInfo" \ " " \ " " \ " Sink" \ " out" \ " SinkProtocolInfo" \ " " \ " " \ " " \ " " \ " GetCurrentConnectionIDs" \ " " \ " " \ " ConnectionIDs" \ " out" \ " CurrentConnectionIDs" \ " " \ " " \ " " \ " " \ " " \ " " \ " A_ARG_TYPE_ProtocolInfo" \ " string" \ " " \ " " \ " A_ARG_TYPE_ConnectionStatus" \ " string" \ " " \ " OK" \ " ContentFormatMismatch" \ " InsufficientBandwidth" \ " UnreliableChannel" \ " Unknown" \ " " \ " " \ " " \ " A_ARG_TYPE_AVTransportID" \ " i4" \ " " \ " " \ " A_ARG_TYPE_RcsID" \ " i4" \ " " \ " " \ " A_ARG_TYPE_ConnectionID" \ " i4" \ " " \ " " \ " A_ARG_TYPE_ConnectionManager" \ " string" \ " " \ " " \ " SourceProtocolInfo" \ " string" \ " " \ " " \ " SinkProtocolInfo" \ " string" \ " " \ " " \ " A_ARG_TYPE_Direction" \ " string" \ " " \ " Input" \ " Output" \ " " \ " " \ " " \ " CurrentConnectionIDs" \ " string" \ " " \ " " \ "" #define CMS_DESCRIPTION_LEN strlen (CMS_DESCRIPTION) #define CMS_LOCATION "/web/cms.xml" #define CMS_SERVICE_ID "urn:upnp-org:serviceId:ConnectionManager" #define CMS_SERVICE_TYPE "urn:schemas-upnp-org:service:ConnectionManager:1" #endif /* CMS_H_ */