Have the prototypes of uat_esc and uat_unesc available to packet-snmp.c
svn path=/trunk/; revision=21296
This commit is contained in:
parent
3af0bc1b22
commit
53d3904a28
|
@ -87,10 +87,6 @@ gboolean uat_load(uat_t* , char** );
|
|||
|
||||
void uat_load_all(void);
|
||||
|
||||
char* uat_undquote(const char* si, guint in_len, guint* len_p);
|
||||
char* uat_unbinstring(const char* si, guint in_len, guint* len_p);
|
||||
char* uat_esc(const char* buf, guint len);
|
||||
|
||||
#define UAT_UPDATE(uat) do { *((uat)->user_ptr) = (void*)((uat)->user_data->data); *((uat)->nrows_p) = (uat)->user_data->len; } while(0)
|
||||
#define UAT_INDEX_PTR(uat,idx) (uat->user_data->data + (uat->record_size * (idx)))
|
||||
#endif
|
||||
|
|
|
@ -267,6 +267,11 @@ gboolean uat_fld_chk_str_ ## what (void*, const char*, unsigned, void*, void*, c
|
|||
typedef void (*uat_cb_t)(void* uat,void* user_data);
|
||||
void uat_foreach_table(uat_cb_t cb,void* user_data);
|
||||
|
||||
char* uat_undquote(const char* si, guint in_len, guint* len_p);
|
||||
char* uat_unbinstring(const char* si, guint in_len, guint* len_p);
|
||||
char* uat_unesc(const char* si, guint in_len, guint* len_p);
|
||||
char* uat_esc(const char* buf, guint len);
|
||||
|
||||
/* Some strings entirely made of ... already declared */
|
||||
CHK_STR_IS_DECL(isprint);
|
||||
CHK_STR_IS_DECL(isalpha);
|
||||
|
|
Loading…
Reference in New Issue