[sr-dev] git:master: core: typedefed avp search state structure

Daniel-Constantin Mierla miconda at gmail.com
Tue Jun 19 15:08:07 CEST 2012


Module: sip-router
Branch: master
Commit: b5af0f6622d592f52f53b8c8572fcfe73fab867f
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b5af0f6622d592f52f53b8c8572fcfe73fab867f

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Tue Jun 19 15:05:33 2012 +0200

core: typedefed avp search state structure

---

 usr_avp.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr_avp.h b/usr_avp.h
index b40ccdb..3204ff1 100644
--- a/usr_avp.h
+++ b/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 {




More information about the sr-dev mailing list