encode_expires.c File Reference

#include <stdio.h>
#include <netinet/in.h>
#include <string.h>
#include "../../parser/parse_expires.h"

Include dependency graph for encode_expires.c:

Go to the source code of this file.

Defines

#define _GNU_SOURCE

Functions

int encode_expires (char *hdrstart, int hdrlen, exp_body_t *body, unsigned char *where)
int print_encoded_expires (FILE *fd, char *hdr, int hdrlen, unsigned char *payload, int paylen, char *prefix)


Define Documentation

#define _GNU_SOURCE

Definition at line 40 of file encode_expires.c.


Function Documentation

int encode_expires ( char *  hdrstart,
int  hdrlen,
exp_body_t body,
unsigned char *  where 
)

Definition at line 51 of file encode_expires.c.

References _str::len, _str::s, exp_body::text, and exp_body::val.

Referenced by encode_header().

int print_encoded_expires ( FILE *  fd,
char *  hdr,
int  hdrlen,
unsigned char *  payload,
int  paylen,
char *  prefix 
)

Definition at line 62 of file encode_expires.c.

Referenced by print_encoded_header().


Generated on Wed May 23 06:01:02 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6