69 if (supplement == iter) {
Asterisk locking-related definitions:
Asterisk main include file. File version handling, generic pbx functions.
int ast_sip_session_add_supplements(struct ast_sip_session *session)
Add supplements to a SIP session.
#define AST_RWLIST_HEAD_STATIC(name, type)
Defines a structure to be used to hold a read/write list of specified type, statically initialized...
#define AST_RWLIST_WRLOCK(head)
Write locks a list.
#define AST_RWLIST_UNLOCK(head)
Attempts to unlock a read/write based list.
static int copy(char *infile, char *outfile)
Utility function to copy a file.
void ast_sip_session_register_supplement_with_module(struct ast_module *module, struct ast_sip_session_supplement *supplement)
Register a supplement to SIP session processing.
A structure describing a SIP session.
enum ast_sip_session_response_priority response_priority
#define ast_module_unref(mod)
Release a reference to the module.
#define AST_RWLIST_RDLOCK(head)
Read locks a list.
static struct ast_mansession session
#define AST_RWLIST_TRAVERSE
#define AST_RWLIST_REMOVE_CURRENT
#define SCOPED_LOCK(varname, lock, lockfunc, unlockfunc)
Scoped Locks.
A set of macros to manage forward-linked lists.
#define AST_RWLIST_INSERT_BEFORE_CURRENT
#define AST_LIST_REMOVE_HEAD(head, field)
Removes and returns the head entry from a list.
#define AST_RWLIST_TRAVERSE_SAFE_BEGIN
struct ast_module * module
#define AST_LIST_INSERT_TAIL(head, elm, field)
Appends a list entry to the tail of a list.
enum ast_sip_supplement_priority priority
#define ast_calloc(num, len)
A wrapper for calloc()
struct ast_sip_session::@308 supplements
void ast_sip_session_remove_supplements(struct ast_sip_session *session)
Remove supplements from a SIP session.
struct ast_sip_session_supplement * next
A supplement to SIP message processing.
#define AST_RWLIST_INSERT_TAIL
static struct ast_sip_session_supplement * supplement_dup(const struct ast_sip_session_supplement *src)
void ast_sip_session_unregister_supplement(struct ast_sip_session_supplement *supplement)
Unregister a an supplement to SIP session processing.
Asterisk module definitions.
#define AST_RWLIST_TRAVERSE_SAFE_END
#define ast_module_ref(mod)
Hold a reference to the module.