diff options
author | Justin Maggard <jmaggard@users.sourceforge.net> | 2009-05-20 03:43:51 +0400 |
---|---|---|
committer | Justin Maggard <jmaggard@users.sourceforge.net> | 2009-05-20 03:43:51 +0400 |
commit | c220c2236cebf7ce82818c45545bc4aa1438a477 (patch) | |
tree | 554e7f8b8949ac3a33e35cd377ca806588f79736 /upnpdescgen.c | |
parent | f6fbfba75904ee51c13268eadd2efeca3cdd39f5 (diff) |
* Some fixes for the UPnP Device Validator.
Diffstat (limited to 'upnpdescgen.c')
-rw-r--r-- | upnpdescgen.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/upnpdescgen.c b/upnpdescgen.c index 5116f84..4893759 100644 --- a/upnpdescgen.c +++ b/upnpdescgen.c @@ -84,7 +84,9 @@ static const char * const upnpallowedvalues[] = 0, RESOURCE_PROTOCOL_INFO_VALUES, /* 44 */ 0, - "", /* 46 */ + "0", /* 46 */ + 0, + "", /* 48 */ 0 }; @@ -291,8 +293,8 @@ static const struct action ConnectionManagerActions[] = static const struct stateVar ConnectionManagerVars[] = { {"SourceProtocolInfo", 1<<7, 0, 44, 44}, /* required */ - {"SinkProtocolInfo", 1<<7, 0}, /* required */ - {"CurrentConnectionIDs", 1<<7, 0}, /* required */ + {"SinkProtocolInfo", 1<<7, 0, 0, 48}, /* required */ + {"CurrentConnectionIDs", 1<<7, 0, 0, 46}, /* required */ {"A_ARG_TYPE_ConnectionStatus", 0, 0, 27}, /* required */ {"A_ARG_TYPE_ConnectionManager", 0, 0}, /* required */ {"A_ARG_TYPE_Direction", 0, 0, 33}, /* required */ @@ -374,7 +376,7 @@ static const struct action ContentDirectoryActions[] = static const struct stateVar ContentDirectoryVars[] = { - {"TransferIDs", 1<<7, 0, 0, 46}, /* 0 */ + {"TransferIDs", 1<<7, 0, 0, 48}, /* 0 */ {"A_ARG_TYPE_ObjectID", 0, 0}, {"A_ARG_TYPE_Result", 0, 0}, {"A_ARG_TYPE_SearchCriteria", 0, 0}, @@ -434,10 +436,10 @@ static const struct stateVar X_MS_MediaReceiverRegistrarVars[] = {"A_ARG_TYPE_RegistrationReqMsg", 7, 0}, {"A_ARG_TYPE_RegistrationRespMsg", 7, 0}, {"A_ARG_TYPE_Result", 6, 0}, - {"AuthorizationDeniedUpdateID", (1<<7)|3, 0}, - {"AuthorizationGrantedUpdateID", (1<<7)|3, 0}, - {"ValidationRevokedUpdateID", (1<<7)|3, 0}, - {"ValidationSucceededUpdateID", (1<<7)|3, 0}, + {"AuthorizationDeniedUpdateID", 3, 0}, + {"AuthorizationGrantedUpdateID", 3, 0}, + {"ValidationRevokedUpdateID", 3, 0}, + {"ValidationSucceededUpdateID", 3, 0}, {0, 0} }; |