added a sendWriteRequest, writeAckHandler, wp decode service request, struct and library to map property to tag

This commit is contained in:
bigjohngoulah
2005-12-16 21:39:57 +00:00
parent babe7d57ff
commit bd7f0b3ad4
9 changed files with 312 additions and 0 deletions
+11
View File
@@ -45,10 +45,21 @@ typedef struct
const char *pString; /* text pair - use NULL to end the list */
} INDTEXT_DATA;
typedef struct
{
unsigned prop_id; /* index number that matches the text */
unsigned tag_id; /* text pair - use NULL to end the list */
} PROP_TAG_DATA;
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
unsigned indtext_tag_by_index_default(
PROP_TAG_DATA *data_list,
unsigned index,
unsigned default_ret);
/* Searches for a matching string and returns the index to the string
in the parameter found_index.
If the string is not found, false is returned