- Timestamp:
- Jan 23, 2014 8:13:11 AM (11 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/base64.c
r4537 r4713 25 25 #define PADDING '=' 26 26 27 const char base64_char[] = {27 static const char base64_char[] = { 28 28 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 29 29 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', -
pjproject/trunk/pjlib-util/src/pjlib-util/getopt.c
r3550 r4713 112 112 know that. */ 113 113 114 int __getopt_initialized = 0;114 static int __getopt_initialized = 0; 115 115 116 116 /* The next char to be scanned in the option-element -
pjproject/trunk/pjlib-util/src/pjlib-util/http_client.c
r4614 r4713 1497 1497 * result at the back of the string. 1498 1498 */ 1499 void str_snprintf(pj_str_t *s, size_t size,1500 1499 static void str_snprintf(pj_str_t *s, size_t size, 1500 pj_bool_t append, const char *format, ...) 1501 1501 { 1502 1502 va_list arg; -
pjproject/trunk/pjlib/src/pj/pool_buf.c
r4624 r4713 22 22 #include <pj/os.h> 23 23 24 st ruct pj_pool_factory stack_based_factory;24 static struct pj_pool_factory stack_based_factory; 25 25 26 26 struct creation_param -
pjproject/trunk/pjmedia/src/pjmedia-codec/g722/g722_dec.c
r3553 r4713 451 451 } 452 452 453 void rx_qmf(g722_dec_t *dec, int rl, int rh, int *xout1, int *xout2)453 static void rx_qmf(g722_dec_t *dec, int rl, int rh, int *xout1, int *xout2) 454 454 { 455 455 int i; -
pjproject/trunk/pjmedia/src/pjmedia-codec/speex_codec.c
r4537 r4713 726 726 * Returns 0 if a frame found, otherwise returns -1. 727 727 */ 728 int speex_get_next_frame(SpeexBits *bits)728 static int speex_get_next_frame(SpeexBits *bits) 729 729 { 730 730 static const int inband_skip_table[NB_SUBMODES] = -
pjproject/trunk/pjmedia/src/pjmedia/echo_suppress.c
r3664 r4713 126 126 } talk_state_t; 127 127 128 const char *state_names[] =128 static const char *state_names[] = 129 129 { 130 130 "Null", -
pjproject/trunk/pjnath/src/pjnath/ice_session.c
r4602 r4713 1987 1987 1988 1988 /* Utility: find string in string array */ 1989 const pj_str_t *find_str(const pj_str_t *strlist[], unsigned count,1990 1989 static const pj_str_t *find_str(const pj_str_t *strlist[], unsigned count, 1990 const pj_str_t *str) 1991 1991 { 1992 1992 unsigned i; -
pjproject/trunk/pjsip/src/pjsip-simple/presence.c
r3553 r4713 131 131 * Some static constants. 132 132 */ 133 const pj_str_t STR_EVENT = { "Event", 5 };134 const pj_str_t STR_PRESENCE = { "presence", 8 };135 const pj_str_t STR_APPLICATION = { "application", 11 };136 const pj_str_t STR_PIDF_XML = { "pidf+xml", 8};137 const pj_str_t STR_XPIDF_XML = { "xpidf+xml", 9};138 const pj_str_t STR_APP_PIDF_XML = { "application/pidf+xml", 20 };139 const pj_str_t STR_APP_XPIDF_XML = { "application/xpidf+xml", 21 };133 static const pj_str_t STR_EVENT = { "Event", 5 }; 134 static const pj_str_t STR_PRESENCE = { "presence", 8 }; 135 static const pj_str_t STR_APPLICATION = { "application", 11 }; 136 static const pj_str_t STR_PIDF_XML = { "pidf+xml", 8}; 137 static const pj_str_t STR_XPIDF_XML = { "xpidf+xml", 9}; 138 static const pj_str_t STR_APP_PIDF_XML = { "application/pidf+xml", 20 }; 139 static const pj_str_t STR_APP_XPIDF_XML = { "application/xpidf+xml", 21 }; 140 140 141 141 -
pjproject/trunk/pjsip/src/pjsip-ua/sip_100rel.c
r4613 r4713 51 51 52 52 53 const pj_str_t tag_100rel = { "100rel", 6 };54 const pj_str_t RSEQ = { "RSeq", 4 };55 const pj_str_t RACK = { "RAck", 4 };53 static const pj_str_t tag_100rel = { "100rel", 6 }; 54 static const pj_str_t RSEQ = { "RSeq", 4 }; 55 static const pj_str_t RACK = { "RAck", 4 }; 56 56 57 57 -
pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c
r4703 r4713 193 193 * Set session state. 194 194 */ 195 void inv_set_state(pjsip_inv_session *inv, pjsip_inv_state state,196 195 static void inv_set_state(pjsip_inv_session *inv, pjsip_inv_state state, 196 pjsip_event *e) 197 197 { 198 198 pjsip_inv_state prev_state = inv->state; … … 284 284 * Set cause code. 285 285 */ 286 void inv_set_cause(pjsip_inv_session *inv, int cause_code,287 286 static void inv_set_cause(pjsip_inv_session *inv, int cause_code, 287 const pj_str_t *cause_text) 288 288 { 289 289 if (cause_code > inv->cause) { -
pjproject/trunk/pjsip/src/pjsip-ua/sip_xfer.c
r3553 r4713 77 77 * String constants 78 78 */ 79 const pj_str_t STR_REFER = { "refer", 5 };80 const pj_str_t STR_MESSAGE = { "message", 7 };81 const pj_str_t STR_SIPFRAG = { "sipfrag", 7 };82 const pj_str_t STR_SIPFRAG_VERSION = {";version=2.0", 12 };79 static const pj_str_t STR_REFER = { "refer", 5 }; 80 static const pj_str_t STR_MESSAGE = { "message", 7 }; 81 static const pj_str_t STR_SIPFRAG = { "sipfrag", 7 }; 82 static const pj_str_t STR_SIPFRAG_VERSION = {";version=2.0", 12 }; 83 83 84 84 -
pjproject/trunk/pjsip/src/pjsip/sip_transport.c
r4615 r4713 131 131 * Transport names. 132 132 */ 133 st ruct transport_names_t133 static struct transport_names_t 134 134 { 135 135 pjsip_transport_type_e type; /* Transport type */ … … 218 218 219 219 220 st ruct transport_names_t *get_tpname(pjsip_transport_type_e type)220 static struct transport_names_t *get_tpname(pjsip_transport_type_e type) 221 221 { 222 222 unsigned i; -
pjproject/trunk/pjsip/src/pjsip/sip_transport_loop.c
r3553 r4713 68 68 69 69 /* Helper function to create "incoming" packet */ 70 st ruct recv_list *create_incoming_packet( struct loop_transport *loop,71 70 static struct recv_list *create_incoming_packet( struct loop_transport *loop, 71 pjsip_tx_data *tdata ) 72 72 { 73 73 pj_pool_t *pool; -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r4613 r4713 1788 1788 1789 1789 /* Check and update Service-Route header */ 1790 void update_service_route(pjsua_acc *acc, pjsip_rx_data *rdata)1790 static void update_service_route(pjsua_acc *acc, pjsip_rx_data *rdata) 1791 1791 { 1792 1792 pjsip_generic_string_hdr *hsr = NULL; -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r4564 r4713 75 75 76 76 /* Acquire lock to the specified buddy_id */ 77 pj_status_t lock_buddy(const char *title,78 79 80 77 static pj_status_t lock_buddy(const char *title, 78 pjsua_buddy_id buddy_id, 79 struct buddy_lock *lck, 80 unsigned _unused_) 81 81 { 82 82 enum { MAX_RETRY=50 };
Note: See TracChangeset
for help on using the changeset viewer.