Skip to content

Commit

Permalink
usrloc: Fix bad flags/cflags documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuchircu committed Mar 23, 2018
1 parent 1773ecf commit b432ab4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/usrloc/ucontact.h
Expand Up @@ -60,8 +60,9 @@ typedef enum cstate {
typedef enum flags {
FL_NONE = 0, /*!< No flags set */
FL_MEM = 1 << 0, /*!< Update memory only */
FL_LOCAL_CT = 1 << 1, /*!< Makes sense in federation clustering */
FL_ALL = (int)0xFFFFFFFF /*!< All flags set */
} flags_t;
} ucontact_flags_t;

/*! \brief
* An "ucontact_id" is a time-unique identifier for in-memory "ucontact_t"
Expand Down Expand Up @@ -93,8 +94,8 @@ typedef struct ucontact {
str callid; /*!< Call-ID header field of registration */
int cseq; /*!< CSeq value */
cstate_t state; /*!< State of the contact (\ref cstate) */
unsigned int flags; /*!< Various flags (NAT, ping type, etc) */
unsigned int cflags; /*!< Custom contact flags (from script) */
ucontact_flags_t flags; /*!< Usrloc-specific internal contact flags */
unsigned int cflags; /*!< Custom branch flags (NAT, RTO, etc.) */
str user_agent; /*!< User-Agent header field */
struct socket_info *sock; /*!< received socket */
time_t last_modified; /*!< When the record was last modified */
Expand Down Expand Up @@ -126,7 +127,7 @@ typedef struct ucontact_info {
str instance;
str* callid;
int cseq;
unsigned int flags;
ucontact_flags_t flags;
unsigned int cflags;
str *user_agent;
struct socket_info *sock;
Expand Down

0 comments on commit b432ab4

Please sign in to comment.