Browse Source

core: typedefed avp search state structure

Daniel-Constantin Mierla 13 năm trước cách đây
mục cha
commit
b5af0f6622
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      usr_avp.h

+ 2 - 2
usr_avp.h

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