00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __SR_NAMETAGDEFS_H
00021 #define __SR_NAMETAGDEFS_H
00022
00023
00024
00025 #include "SR_NametagPrefix.h"
00026 #include "ESR_Locale.h"
00027 #include "ptypes.h"
00028 #include "ESR_ReturnCode.h"
00029
00030
00045 typedef struct SR_Nametag_t
00046 {
00054 ESR_ReturnCode (*getID)(const struct SR_Nametag_t* self, LCHAR** id);
00055
00064 ESR_ReturnCode (*getValue)(const struct SR_Nametag_t* self, const char** pvalue, size_t* plen);
00065
00073 ESR_ReturnCode (*setID)(struct SR_Nametag_t* self, const LCHAR* id);
00074
00082 ESR_ReturnCode (*clone)(const struct SR_Nametag_t* self, struct SR_Nametag_t** result);
00083
00090 ESR_ReturnCode (*destroy)(struct SR_Nametag_t* self);
00091 } SR_Nametag;
00092
00097 #endif