Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

auth_status_t * auth_status_new ( su_home_t home ) [related]

Allocate a new auth_status_t structure.

Definition at line 330 of file auth_module.c.

References as_phrase, as_status, and su_home_clone().

{
  auth_status_t *as = su_home_clone(home, (sizeof *as));
  if (as) {
    as->as_status = 500;
    as->as_phrase = auth_internal_server_error;
  }
  return as;
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index