#ifndef _SIP_PARSE_GENERIC_H
#define _SIP_PARSE_GENERIC_H
#ifdef __cplusplus
extern "C" {
#endif
#include <sip.h>
#include <sys/types.h>
#include "sip_msg.h"
extern int sip_atoi(_sip_header_t *, int *);
extern int sip_find_token(_sip_header_t *, char);
extern int sip_find_cr(_sip_header_t *);
extern int sip_find_separator(_sip_header_t *, char, char, char,
boolean_t);
extern int sip_find_white_space(_sip_header_t *);
extern int sip_skip_white_space(_sip_header_t *);
extern int sip_reverse_skip_white_space(_sip_header_t *);
extern int sip_parse_goto_values(_sip_header_t *);
extern int sip_goto_next_value(_sip_header_t *);
extern int sip_parse_params(_sip_header_t *, sip_param_t **);
extern int sip_prim_parsers(_sip_header_t *,
sip_parsed_header_t **);
extern boolean_t sip_is_empty_hdr(_sip_header_t *);
extern int sip_parse_hdr_empty(_sip_header_t *,
sip_parsed_header_t **);
int sip_get_protocol_version(_sip_header_t *,
sip_proto_version_t *sip_proto_version);
extern int sip_parse_first_line(_sip_header_t *,
sip_message_type_t **);
extern int sip_parse_hdr_parser1(_sip_header_t *,
sip_parsed_header_t **, char);
extern int sip_parse_hdr_parser2(_sip_header_t *,
sip_parsed_header_t **, int);
extern int sip_parse_hdr_parser3(_sip_header_t *,
sip_parsed_header_t **, int, boolean_t);
extern int sip_parse_hdr_parser4(_sip_header_t *,
sip_parsed_header_t **);
extern int sip_parse_hdr_parser5(_sip_header_t *,
sip_parsed_header_t **, boolean_t);
#ifdef __cplusplus
}
#endif
#endif