/* * cds.h : GeeXboX uShare Content Directory 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 CDS_H_ #define CDS_H_ #define CDS_DESCRIPTION \ "" \ "" \ " " \ " 1" \ " 0" \ " " \ " " \ " " \ " Browse" \ " " \ " " \ " ObjectID" \ " in" \ " A_ARG_TYPE_ObjectID" \ " " \ " " \ " BrowseFlag" \ " in" \ " A_ARG_TYPE_BrowseFlag" \ " " \ " " \ " Filter" \ " in" \ " A_ARG_TYPE_Filter" \ " " \ " " \ " StartingIndex" \ " in" \ " A_ARG_TYPE_Index" \ " " \ " " \ " RequestedCount" \ " in" \ " A_ARG_TYPE_Count" \ " " \ " " \ " SortCriteria" \ " in" \ " A_ARG_TYPE_SortCriteria" \ " " \ " " \ " Result" \ " out" \ " A_ARG_TYPE_Result" \ " " \ " " \ " NumberReturned" \ " out" \ " A_ARG_TYPE_Count" \ " " \ " " \ " TotalMatches" \ " out" \ " A_ARG_TYPE_Count" \ " " \ " " \ " UpdateID" \ " out" \ " A_ARG_TYPE_UpdateID" \ " " \ " " \ " " \ " " \ " DestroyObject" \ " " \ " " \ " ObjectID" \ " in" \ " A_ARG_TYPE_ObjectID" \ " " \ " " \ " " \ " " \ " GetSystemUpdateID" \ " " \ " " \ " Id" \ " out" \ " SystemUpdateID" \ " " \ " " \ " " \ " " \ " GetSearchCapabilities" \ " " \ " " \ " SearchCaps" \ " out" \ " SearchCapabilities" \ " " \ " " \ " " \ " " \ " GetSortCapabilities" \ " " \ " " \ " SortCaps" \ " out" \ " SortCapabilities" \ " " \ " " \ " " \ " " \ " UpdateObject" \ " " \ " " \ " ObjectID" \ " in" \ " A_ARG_TYPE_ObjectID" \ " " \ " " \ " CurrentTagValue" \ " in" \ " A_ARG_TYPE_TagValueList" \ " " \ " " \ " NewTagValue" \ " in" \ " A_ARG_TYPE_TagValueList" \ " " \ " " \ " " \ " " \ " " \ " " \ " A_ARG_TYPE_BrowseFlag" \ " string" \ " " \ " BrowseMetadata" \ " BrowseDirectChildren" \ " " \ " " \ " " \ " SystemUpdateID" \ " ui4" \ " " \ " " \ " A_ARG_TYPE_Count" \ " ui4" \ " " \ " " \ " A_ARG_TYPE_SortCriteria" \ " string" \ " " \ " " \ " SortCapabilities" \ " string" \ " " \ " " \ " A_ARG_TYPE_Index" \ " ui4" \ " " \ " " \ " A_ARG_TYPE_ObjectID" \ " string" \ " " \ " " \ " A_ARG_TYPE_UpdateID" \ " ui4" \ " " \ " " \ " A_ARG_TYPE_TagValueList" \ " string" \ " " \ " " \ " A_ARG_TYPE_Result" \ " string" \ " " \ " " \ " SearchCapabilities" \ " string" \ " " \ " " \ " A_ARG_TYPE_Filter" \ " string" \ " " \ " " \ "" #define CDS_DESCRIPTION_LEN strlen (CDS_DESCRIPTION) #define CDS_LOCATION "/web/cds.xml" #define CDS_SERVICE_ID "urn:upnp-org:serviceId:ContentDirectory" #define CDS_SERVICE_TYPE "urn:schemas-upnp-org:service:ContentDirectory:1" #endif /* CDS_H_ */