Browse code

core: typedefed avp search state structure

Daniel-Constantin Mierla authored on 19/06/2012 13:05:33
Showing 1 changed files
... ...
@@ -115,13 +115,13 @@ typedef struct avp_ident {
115 115
 /*
116 116
  * AVP search state
117 117
  */
118
-struct search_state {
118
+typedef struct search_state {
119 119
 	avp_flags_t flags;  /* Type of search and additional flags */
120 120
 	avp_id_t id;
121 121
 	avp_name_t name;
122 122
 	avp_t* avp;            /* Current AVP */
123 123
 //	regex_t* search_re;    /* Compiled regular expression */
124
-};
124
+} avp_search_state_t;
125 125
 
126 126
 /* avp aliases structs*/
127 127
 typedef struct avp_spec {