Browse Source

core: typedefed avp search state structure

Daniel-Constantin Mierla 13 years ago
parent
commit
b5af0f6622
1 changed files with 2 additions and 2 deletions
  1. 2 2
      usr_avp.h

+ 2 - 2
usr_avp.h

@@ -115,13 +115,13 @@ typedef struct avp_ident {
 /*
 /*
  * AVP search state
  * AVP search state
  */
  */
-struct search_state {
+typedef struct search_state {
 	avp_flags_t flags;  /* Type of search and additional flags */
 	avp_flags_t flags;  /* Type of search and additional flags */
 	avp_id_t id;
 	avp_id_t id;
 	avp_name_t name;
 	avp_name_t name;
 	avp_t* avp;            /* Current AVP */
 	avp_t* avp;            /* Current AVP */
 //	regex_t* search_re;    /* Compiled regular expression */
 //	regex_t* search_re;    /* Compiled regular expression */
-};
+} avp_search_state_t;
 
 
 /* avp aliases structs*/
 /* avp aliases structs*/
 typedef struct avp_spec {
 typedef struct avp_spec {