Changeset 622


Ignore:
Timestamp:
Jul 22, 2006 1:42:56 PM (18 years ago)
Author:
bennylp
Message:

Changed all public header files to compile correctly when -ansi and -pedantic is used, also when g++ is used

Location:
pjproject/trunk
Files:
30 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/include/pjlib-util/scanner.h

    r583 r622  
    180180    /** Auto-skip new lines. 
    181181     */ 
    182     PJ_SCAN_AUTOSKIP_NEWLINE = 4, 
     182    PJ_SCAN_AUTOSKIP_NEWLINE = 4 
    183183}; 
    184184 
  • pjproject/trunk/pjlib/include/pj/compat/cc_gcc.h

    r582 r622  
    3535 
    3636 
    37 #define PJ_INLINE_SPECIFIER     static inline 
    3837#define PJ_THREAD_FUNC   
    3938#define PJ_NORETURN              
    40 #define PJ_ATTR_NORETURN        __attribute__ ((noreturn)) 
    4139 
    4240#define PJ_HAS_INT64            1 
    4341 
    44 typedef long long pj_int64_t; 
    45 typedef unsigned long long pj_uint64_t; 
     42#ifdef __STRICT_ANSI__ 
     43  #include <inttypes.h>  
     44  typedef int64_t               pj_int64_t; 
     45  typedef uint64_t              pj_uint64_t; 
     46  #define PJ_INLINE_SPECIFIER   static __inline 
     47  #define PJ_ATTR_NORETURN       
     48#else 
     49  typedef long long             pj_int64_t; 
     50  typedef unsigned long long    pj_uint64_t; 
     51  #define PJ_INLINE_SPECIFIER   static inline 
     52  #define PJ_ATTR_NORETURN      __attribute__ ((noreturn)) 
     53#endif 
    4654 
    4755#define PJ_INT64(val)           val##LL 
  • pjproject/trunk/pjlib/include/pj/ctype.h

    r66 r622  
    6363 *              an ASCII character. 
    6464 */ 
    65 PJ_INLINE(int) pj_isascii(int c) { return isascii(c); } 
     65PJ_INLINE(int) pj_isascii(int c) { return c<128 && c>=0; } 
    6666 
    6767/**  
  • pjproject/trunk/pjlib/include/pj/file_io.h

    r66 r622  
    6262    PJ_O_RDWR       = 0x1103,   /**< Open file for reading and writing.  
    6363                                     File will be truncated.            */ 
    64     PJ_O_APPEND     = 0x1108,   /**< Append to existing file.           */ 
     64    PJ_O_APPEND     = 0x1108    /**< Append to existing file.           */ 
    6565}; 
    6666 
     
    7272    PJ_SEEK_SET     = 0x1201,   /**< Offset from beginning of the file. */ 
    7373    PJ_SEEK_CUR     = 0x1202,   /**< Offset from current position.      */ 
    74     PJ_SEEK_END     = 0x1203,   /**< Size of the file plus offset.      */ 
     74    PJ_SEEK_END     = 0x1203    /**< Size of the file plus offset.      */ 
    7575}; 
    7676 
  • pjproject/trunk/pjlib/include/pj/ioqueue.h

    r548 r622  
    220220#if defined(PJ_HAS_TCP) && PJ_HAS_TCP != 0 
    221221    PJ_IOQUEUE_OP_ACCEPT        = 64,   /**< accept() operation.    */ 
    222     PJ_IOQUEUE_OP_CONNECT       = 128,  /**< connect() operation.   */ 
     222    PJ_IOQUEUE_OP_CONNECT       = 128   /**< connect() operation.   */ 
    223223#endif  /* PJ_HAS_TCP */ 
    224224} pj_ioqueue_operation_e; 
  • pjproject/trunk/pjlib/include/pj/log.h

    r320 r622  
    7878    PJ_LOG_HAS_SENDER     =  64, /**< Include sender in the log [yes].       */ 
    7979    PJ_LOG_HAS_NEWLINE    = 128, /**< Terminate each call with newline [yes].*/ 
    80     PJ_LOG_HAS_CR         = 256, /**< Include carriage return [no].          */ 
     80    PJ_LOG_HAS_CR         = 256  /**< Include carriage return [no].          */ 
    8181}; 
    8282 
     
    250250 */ 
    251251 
    252 /////////////////////////////////////////////////////////////////////////////// 
     252/* **************************************************************************/ 
    253253/* 
    254254 * Log functions implementation prototypes. 
  • pjproject/trunk/pjlib/include/pj/os.h

    r514 r622  
    3434 
    3535 
    36 /////////////////////////////////////////////////////////////////////////////// 
     36/* **************************************************************************/ 
    3737/** 
    3838 * @defgroup PJ_THREAD Threads 
     
    227227 */ 
    228228 
    229 /////////////////////////////////////////////////////////////////////////////// 
     229/* **************************************************************************/ 
    230230/** 
    231231 * @defgroup PJ_TLS Thread Local Storage. 
     
    272272 
    273273 
    274 /////////////////////////////////////////////////////////////////////////////// 
     274/* **************************************************************************/ 
    275275/** 
    276276 * @defgroup PJ_ATOMIC Atomic Variables 
     
    383383 */ 
    384384 
    385 /////////////////////////////////////////////////////////////////////////////// 
     385/* **************************************************************************/ 
    386386/** 
    387387 * @defgroup PJ_MUTEX Mutexes. 
     
    404404    PJ_MUTEX_DEFAULT, 
    405405    PJ_MUTEX_SIMPLE, 
    406     PJ_MUTEX_RECURSE, 
     406    PJ_MUTEX_RECURSE 
    407407} pj_mutex_type_e; 
    408408 
     
    501501 */ 
    502502 
    503 /////////////////////////////////////////////////////////////////////////////// 
     503/* **************************************************************************/ 
    504504/** 
    505505 * @defgroup PJ_RW_MUTEX Reader/Writer Mutex 
     
    577577 
    578578 
    579 /////////////////////////////////////////////////////////////////////////////// 
     579/* **************************************************************************/ 
    580580/** 
    581581 * @defgroup PJ_CRIT_SEC Critical sections. 
     
    611611 */ 
    612612 
    613 /////////////////////////////////////////////////////////////////////////////// 
     613/* **************************************************************************/ 
    614614#if defined(PJ_HAS_SEMAPHORE) && PJ_HAS_SEMAPHORE != 0 
    615615/** 
     
    680680 
    681681 
    682 /////////////////////////////////////////////////////////////////////////////// 
     682/* **************************************************************************/ 
    683683#if defined(PJ_HAS_EVENT_OBJ) && PJ_HAS_EVENT_OBJ != 0 
    684684/** 
     
    772772#endif  /* PJ_HAS_EVENT_OBJ */ 
    773773 
    774 /////////////////////////////////////////////////////////////////////////////// 
     774/* **************************************************************************/ 
    775775/** 
    776776 * @addtogroup PJ_TIME Time Data Type and Manipulation. 
     
    837837 */ 
    838838 
    839 /////////////////////////////////////////////////////////////////////////////// 
     839/* **************************************************************************/ 
    840840#if defined(PJ_TERM_HAS_COLOR) && PJ_TERM_HAS_COLOR != 0 
    841841 
     
    868868#endif  /* PJ_TERM_HAS_COLOR */ 
    869869 
    870 /////////////////////////////////////////////////////////////////////////////// 
     870/* **************************************************************************/ 
    871871/** 
    872872 * @defgroup PJ_TIMESTAMP High Resolution Timestamp 
     
    10471047 
    10481048 
    1049 /////////////////////////////////////////////////////////////////////////////// 
     1049/* **************************************************************************/ 
    10501050/** 
    10511051 * Internal PJLIB function to initialize the threading subsystem. 
  • pjproject/trunk/pjlib/include/pj/pool.h

    r594 r622  
    313313 */ 
    314314 
    315 /////////////////////////////////////////////////////////////////////////////// 
     315/* **************************************************************************/ 
    316316/** 
    317317 * @defgroup PJ_POOL_FACTORY Pool Factory and Policy. 
     
    527527 */ 
    528528 
    529 /////////////////////////////////////////////////////////////////////////////// 
     529/* **************************************************************************/ 
    530530 
    531531/** 
  • pjproject/trunk/pjlib/include/pj/sock.h

    r484 r622  
    110110    PJ_MSG_OOB          = 0x01,     /**< Out-of-band messages.           */ 
    111111    PJ_MSG_PEEK         = 0x02,     /**< Peek, don't remove from buffer. */ 
    112     PJ_MSG_DONTROUTE    = 0x04,     /**< Don't route.                    */ 
     112    PJ_MSG_DONTROUTE    = 0x04      /**< Don't route.                    */ 
    113113} pj_sock_msg_flag; 
    114114 
     
    124124    PJ_SHUT_WR      = 1,    /**< Alias for SD_SEND.         */ 
    125125    PJ_SD_BOTH      = 2,    /**< No more send and receive.  */ 
    126     PJ_SHUT_RDWR    = 2,    /**< Alias for SD_BOTH.         */ 
     126    PJ_SHUT_RDWR    = 2     /**< Alias for SD_BOTH.         */ 
    127127} pj_socket_sd_type; 
    128128 
     
    380380    in_addr.s_addr = pj_ntohl(addr->sin_addr.s_addr); 
    381381    return in_addr; 
    382 }; 
     382} 
    383383 
    384384/** 
  • pjproject/trunk/pjlib/include/pj/types.h

    r514 r622  
    3737PJ_BEGIN_DECL 
    3838 
    39 /////////////////////////////////////////////////////////////////////////////// 
     39/* ************************************************************************* */ 
    4040 
    4141/** Unsigned 32bit integer. */ 
     
    104104#endif 
    105105 
    106 /////////////////////////////////////////////////////////////////////////////// 
     106/* ************************************************************************* */ 
    107107/* 
    108108 * Data structure types. 
     
    231231typedef PJ_ATOMIC_VALUE_TYPE pj_atomic_value_t; 
    232232  
    233 /////////////////////////////////////////////////////////////////////////////// 
     233/* ************************************************************************* */ 
    234234 
    235235/** Thread handle. */ 
     
    269269typedef int pj_exception_id_t; 
    270270 
    271 /////////////////////////////////////////////////////////////////////////////// 
     271/* ************************************************************************* */ 
    272272 
    273273/** Utility macro to compute the number of elements in static array. */ 
     
    282282#define PJ_MAX_OBJ_NAME 16 
    283283 
    284 /////////////////////////////////////////////////////////////////////////////// 
     284/* ************************************************************************* */ 
    285285/* 
    286286 * General. 
     
    498498 */ 
    499499 
    500 /////////////////////////////////////////////////////////////////////////////// 
     500/* ************************************************************************* */ 
    501501/* 
    502502 * Terminal. 
  • pjproject/trunk/pjmedia/include/pjmedia-codec/types.h

    r571 r622  
    4949    PJMEDIA_RTP_PT_L16_32KHZ_STEREO,            /**< L16 @ 32KHz, stereo    */ 
    5050    PJMEDIA_RTP_PT_L16_48KHZ_MONO,              /**< L16 @ 48KHz, mono      */ 
    51     PJMEDIA_RTP_PT_L16_48KHZ_STEREO,            /**< L16 @ 48KHz, stereo    */ 
     51    PJMEDIA_RTP_PT_L16_48KHZ_STEREO             /**< L16 @ 48KHz, stereo    */ 
    5252}; 
    5353 
  • pjproject/trunk/pjmedia/include/pjmedia/clock.h

    r518 r622  
    6363     * #pjmedia_clock_wait() in order to synchronize timing. 
    6464     */ 
    65     PJMEDIA_CLOCK_NO_ASYNC  = 1, 
     65    PJMEDIA_CLOCK_NO_ASYNC  = 1 
    6666}; 
    6767 
  • pjproject/trunk/pjmedia/include/pjmedia/codec.h

    r518 r622  
    221221    PJMEDIA_RTP_PT_H263 = 34,       /**< video H263                         */ 
    222222 
    223     PJMEDIA_RTP_PT_DYNAMIC = 96,    /**< start of dynamic RTP payload       */ 
     223    PJMEDIA_RTP_PT_DYNAMIC = 96     /**< start of dynamic RTP payload       */ 
    224224 
    225225}; 
     
    576576     * query functions. 
    577577     */ 
    578     PJMEDIA_CODEC_PRIO_DISABLED = 0, 
     578    PJMEDIA_CODEC_PRIO_DISABLED = 0 
    579579 
    580580} pjmedia_codec_priority; 
  • pjproject/trunk/pjmedia/include/pjmedia/conference.h

    r518 r622  
    7272    PJMEDIA_CONF_NO_DEVICE = 2, /**< Do not create sound device.            */ 
    7373    PJMEDIA_CONF_SMALL_FILTER=4,/**< Use small filter table when resampling */ 
    74     PJMEDIA_CONF_USE_LINEAR=8,  /**< Use linear resampling instead of filter 
     74    PJMEDIA_CONF_USE_LINEAR=8   /**< Use linear resampling instead of filter 
    7575                                     based.                                 */ 
    7676}; 
  • pjproject/trunk/pjmedia/include/pjmedia/port.h

    r518 r622  
    256256     * Enable TX and RX to/from this port. 
    257257     */ 
    258     PJMEDIA_PORT_ENABLE, 
     258    PJMEDIA_PORT_ENABLE 
    259259}; 
    260260 
     
    293293    PJMEDIA_FRAME_TYPE_NONE,        /**< No frame.              */ 
    294294    PJMEDIA_FRAME_TYPE_CNG,         /**< Silence audio frame.   */ 
    295     PJMEDIA_FRAME_TYPE_AUDIO,       /**< Normal audio frame.    */ 
     295    PJMEDIA_FRAME_TYPE_AUDIO        /**< Normal audio frame.    */ 
    296296 
    297297} pjmedia_frame_type; 
  • pjproject/trunk/pjmedia/include/pjmedia/resample.h

    r518 r622  
    140140     * Do not destroy downstream port when resample port is destroyed. 
    141141     */ 
    142     PJMEDIA_RESAMPLE_DONT_DESTROY_DN = 4, 
     142    PJMEDIA_RESAMPLE_DONT_DESTROY_DN = 4 
    143143}; 
    144144 
  • pjproject/trunk/pjmedia/include/pjmedia/sdp_neg.h

    r531 r622  
    273273     * successfully or not. 
    274274     */ 
    275     PJMEDIA_SDP_NEG_STATE_DONE, 
     275    PJMEDIA_SDP_NEG_STATE_DONE 
    276276}; 
    277277 
  • pjproject/trunk/pjmedia/include/pjmedia/transport_udp.h

    r539 r622  
    5252     * Specifying this option will disable this feature. 
    5353     */ 
    54     PJMEDIA_UDP_NO_SRC_ADDR_CHECKING = 1, 
     54    PJMEDIA_UDP_NO_SRC_ADDR_CHECKING = 1 
    5555}; 
    5656 
  • pjproject/trunk/pjmedia/include/pjmedia/types.h

    r582 r622  
    6464     *  encoding_name. 
    6565     */ 
    66     PJMEDIA_TYPE_UNKNOWN = 3, 
     66    PJMEDIA_TYPE_UNKNOWN = 3 
    6767 
    6868} pjmedia_type; 
     
    8585 
    8686    /** Incoming and outgoing stream. */ 
    87     PJMEDIA_DIR_ENCODING_DECODING = 3, 
     87    PJMEDIA_DIR_ENCODING_DECODING = 3 
    8888 
    8989} pjmedia_dir; 
  • pjproject/trunk/pjmedia/include/pjmedia/wav_port.h

    r532 r622  
    4747     * file has been played. 
    4848     */ 
    49     PJMEDIA_FILE_NO_LOOP = 1, 
     49    PJMEDIA_FILE_NO_LOOP = 1 
    5050}; 
    5151 
  • pjproject/trunk/pjsip/include/pjsip/sip_auth.h

    r515 r622  
    5151{ 
    5252    PJSIP_CRED_DATA_PLAIN_PASSWD,   /**< Plain text password.   */ 
    53     PJSIP_CRED_DATA_DIGEST,         /**< Hashed digest.         */ 
     53    PJSIP_CRED_DATA_DIGEST          /**< Hashed digest.         */ 
    5454} pjsip_cred_data_type; 
    5555 
     
    6060    PJSIP_AUTH_QOP_AUTH,            /**< Authentication. */ 
    6161    PJSIP_AUTH_QOP_AUTH_INT,        /**< Authentication with integrity protection. */ 
    62     PJSIP_AUTH_QOP_UNKNOWN,         /**< Unknown protection. */ 
     62    PJSIP_AUTH_QOP_UNKNOWN          /**< Unknown protection. */ 
    6363} pjsip_auth_qop_type; 
    6464 
  • pjproject/trunk/pjsip/include/pjsip/sip_dialog.h

    r515 r622  
    7777 * Dialog state. 
    7878 */ 
    79 enum pjsip_dialog_state 
     79typedef enum pjsip_dialog_state 
    8080{ 
    8181    /** Dialog is not established. */ 
     
    8383 
    8484    /** Dialog has been established (probably early) */ 
    85     PJSIP_DIALOG_STATE_ESTABLISHED, 
    86 }; 
     85    PJSIP_DIALOG_STATE_ESTABLISHED 
     86} pjsip_dialog_state; 
    8787 
    8888/** 
  • pjproject/trunk/pjsip/include/pjsip/sip_event.h

    r515 r622  
    6060 
    6161    /** Indicates that the event was triggered by user action. */ 
    62     PJSIP_EVENT_USER, 
     62    PJSIP_EVENT_USER 
    6363 
    6464} pjsip_event_id_e; 
  • pjproject/trunk/pjsip/include/pjsip/sip_module.h

    r515 r622  
    208208     * This is the recommended priority to be used by applications. 
    209209     */ 
    210     PJSIP_MOD_PRIORITY_APPLICATION      = 64, 
     210    PJSIP_MOD_PRIORITY_APPLICATION      = 64 
    211211}; 
    212212 
  • pjproject/trunk/pjsip/include/pjsip/sip_msg.h

    r515 r622  
    3838 */ 
    3939 
    40 /////////////////////////////////////////////////////////////////////////////// 
     40/* **************************************************************************/ 
    4141/** 
    4242 * @defgroup PJSIP_MSG_METHOD Methods 
     
    6161    PJSIP_OPTIONS_METHOD,   /**< OPTIONS method.                            */ 
    6262 
    63     PJSIP_OTHER_METHOD,     /**< Other method.                              */ 
     63    PJSIP_OTHER_METHOD      /**< Other method.                              */ 
    6464 
    6565} pjsip_method_e; 
     
    154154 */ 
    155155 
    156 /////////////////////////////////////////////////////////////////////////////// 
     156/* **************************************************************************/ 
    157157/**  
    158158 * @defgroup PJSIP_MSG_HDR Header Fields 
     
    219219    PJSIP_H_WWW_AUTHENTICATE, 
    220220 
    221     PJSIP_H_OTHER, 
     221    PJSIP_H_OTHER 
    222222 
    223223} pjsip_hdr_e; 
     
    335335 */ 
    336336 
    337 /////////////////////////////////////////////////////////////////////////////// 
     337/* **************************************************************************/ 
    338338/** 
    339339 * @defgroup PJSIP_MSG_LINE Request and Status Line. 
     
    433433 
    434434    PJSIP_SC_TSX_TIMEOUT = 701, 
    435     //PJSIP_SC_TSX_RESOLVE_ERROR = 702, 
    436     PJSIP_SC_TSX_TRANSPORT_ERROR = 703, 
     435    /*PJSIP_SC_TSX_RESOLVE_ERROR = 702,*/ 
     436    PJSIP_SC_TSX_TRANSPORT_ERROR = 703 
    437437 
    438438} pjsip_status_code; 
     
    461461 */ 
    462462 
    463 /////////////////////////////////////////////////////////////////////////////// 
     463/* **************************************************************************/ 
    464464/** 
    465465 * @addtogroup PJSIP_MSG_MEDIA Media/MIME Type 
     
    484484 */ 
    485485 
    486 /////////////////////////////////////////////////////////////////////////////// 
     486/* **************************************************************************/ 
    487487/** 
    488488 * @addtogroup PJSIP_MSG_BODY Message Body 
     
    653653 */ 
    654654 
    655 /////////////////////////////////////////////////////////////////////////////// 
     655/* **************************************************************************/ 
    656656/** 
    657657 * @defgroup PJSIP_MSG_MSG Message Structure 
     
    667667{ 
    668668    PJSIP_REQUEST_MSG,      /**< Indicates request message. */ 
    669     PJSIP_RESPONSE_MSG,     /**< Indicates response message. */ 
     669    PJSIP_RESPONSE_MSG      /**< Indicates response message. */ 
    670670} pjsip_msg_type_e; 
    671671 
     
    845845 */ 
    846846 
    847 /////////////////////////////////////////////////////////////////////////////// 
     847/* **************************************************************************/ 
    848848/** 
    849849 * @addtogroup PJSIP_MSG_HDR 
     
    905905 
    906906 
    907 /////////////////////////////////////////////////////////////////////////////// 
     907/* **************************************************************************/ 
    908908 
    909909/** 
     
    955955                                                            int value ); 
    956956 
    957 /////////////////////////////////////////////////////////////////////////////// 
     957/* **************************************************************************/ 
    958958 
    959959/** Maximum elements in the header array. */ 
     
    10081008 
    10091009 
    1010 /////////////////////////////////////////////////////////////////////////////// 
     1010/* **************************************************************************/ 
    10111011 
    10121012/** Accept header. */ 
     
    10431043 
    10441044 
    1045 /////////////////////////////////////////////////////////////////////////////// 
     1045/* **************************************************************************/ 
    10461046 
    10471047/** 
     
    10781078                                                void *mem ); 
    10791079 
    1080 /////////////////////////////////////////////////////////////////////////////// 
     1080/* **************************************************************************/ 
    10811081 
    10821082/** 
     
    11191119 
    11201120 
    1121 /////////////////////////////////////////////////////////////////////////////// 
     1121/* **************************************************************************/ 
    11221122/** 
    11231123 * Content-Length header. 
     
    11551155 
    11561156 
    1157 /////////////////////////////////////////////////////////////////////////////// 
     1157/* **************************************************************************/ 
    11581158/** 
    11591159 * CSeq header. 
     
    11911191                                              void *mem ); 
    11921192 
    1193 /////////////////////////////////////////////////////////////////////////////// 
     1193/* **************************************************************************/ 
    11941194/** 
    11951195 * Contact header. 
     
    12351235 
    12361236 
    1237 /////////////////////////////////////////////////////////////////////////////// 
     1237/* **************************************************************************/ 
    12381238/** 
    12391239 * Content-Type. 
     
    12711271                                                void *mem ); 
    12721272 
    1273 /////////////////////////////////////////////////////////////////////////////// 
     1273/* **************************************************************************/ 
    12741274/** Expires header. */ 
    12751275typedef pjsip_generic_int_hdr pjsip_expires_hdr; 
     
    13071307 
    13081308 
    1309 /////////////////////////////////////////////////////////////////////////////// 
     1309/* **************************************************************************/ 
    13101310/** 
    13111311 * To or From header. 
     
    13921392 
    13931393 
    1394 /////////////////////////////////////////////////////////////////////////////// 
     1394/* **************************************************************************/ 
    13951395/** 
    13961396 * Max-Forwards header. 
     
    14291429 
    14301430 
    1431 /////////////////////////////////////////////////////////////////////////////// 
     1431/* **************************************************************************/ 
    14321432/** 
    14331433 * Min-Expires header. 
     
    14671467 
    14681468 
    1469 /////////////////////////////////////////////////////////////////////////////// 
     1469/* **************************************************************************/ 
    14701470/** 
    14711471 * Record-Route and Route headers. 
     
    15511551PJ_DECL(pjsip_route_hdr*)   pjsip_routing_hdr_set_route( pjsip_routing_hdr *r ); 
    15521552 
    1553 /////////////////////////////////////////////////////////////////////////////// 
     1553/* **************************************************************************/ 
    15541554/** 
    15551555 * Require header. 
     
    15841584 
    15851585 
    1586 /////////////////////////////////////////////////////////////////////////////// 
     1586/* **************************************************************************/ 
    15871587/** 
    15881588 * Retry-After header. 
     
    16161616 
    16171617 
    1618 /////////////////////////////////////////////////////////////////////////////// 
     1618/* **************************************************************************/ 
    16191619/** 
    16201620 * Supported header. 
     
    16431643                                                        void *mem ); 
    16441644 
    1645 /////////////////////////////////////////////////////////////////////////////// 
     1645/* **************************************************************************/ 
    16461646/** 
    16471647 * Unsupported header. 
     
    16701670                                                            void *mem ); 
    16711671 
    1672 /////////////////////////////////////////////////////////////////////////////// 
     1672/* **************************************************************************/ 
    16731673/** 
    16741674 * SIP Via header. 
     
    17121712                                            void *mem ); 
    17131713 
    1714 /////////////////////////////////////////////////////////////////////////////// 
     1714/* **************************************************************************/ 
    17151715/** 
    17161716 * SIP Warning header. 
     
    17531753                                      pj_status_t status); 
    17541754 
    1755 /////////////////////////////////////////////////////////////////////////////// 
     1755/* **************************************************************************/ 
    17561756/** Accept-Encoding header. */ 
    17571757typedef pjsip_generic_string_hdr pjsip_accept_encoding_hdr; 
     
    18771877 
    18781878/** 
    1879  * @}  // PJSIP_MSG 
     1879 * @}  PJSIP_MSG 
    18801880 */ 
    18811881 
  • pjproject/trunk/pjsip/include/pjsip/sip_parser.h

    r608 r622  
    5555     *  are treated as header parameters (not URI parameters). 
    5656     */ 
    57     PJSIP_PARSE_URI_IN_FROM_TO_HDR = 2, 
     57    PJSIP_PARSE_URI_IN_FROM_TO_HDR = 2 
    5858}; 
    5959 
     
    355355enum 
    356356{ 
    357     PJSIP_PARSE_REMOVE_QUOTE = 1, 
     357    PJSIP_PARSE_REMOVE_QUOTE = 1 
    358358}; 
    359359 
  • pjproject/trunk/pjsip/include/pjsip/sip_transaction.h

    r515 r622  
    6969    PJSIP_TSX_STATE_TERMINATED, /**< For UAS/UAC, before it's destroyed.    */ 
    7070    PJSIP_TSX_STATE_DESTROYED,  /**< For UAS/UAC, will be destroyed now.    */ 
    71     PJSIP_TSX_STATE_MAX,        /**< Number of states.                      */ 
     71    PJSIP_TSX_STATE_MAX         /**< Number of states.                      */ 
    7272} pjsip_tsx_state_e; 
    7373 
  • pjproject/trunk/pjsip/include/pjsip/sip_transport.h

    r611 r622  
    6363    PJSIP_TRANSPORT_RELIABLE        = 1,    /**< Transport is reliable.     */ 
    6464    PJSIP_TRANSPORT_SECURE          = 2,    /**< Transport is secure.       */ 
    65     PJSIP_TRANSPORT_DATAGRAM        = 4,    /**< Datagram based transport.   
     65    PJSIP_TRANSPORT_DATAGRAM        = 4     /**< Datagram based transport.   
    6666                                                 (it's also assumed to be  
    6767                                                 connectionless)            */ 
  • pjproject/trunk/pjsip/include/pjsip/sip_types.h

    r515 r622  
    8080 
    8181    /** Loopback (datagram, unreliable) */ 
    82     PJSIP_TRANSPORT_LOOP_DGRAM, 
     82    PJSIP_TRANSPORT_LOOP_DGRAM 
    8383 
    8484} pjsip_transport_type_e; 
     
    163163 
    164164/** 
    165  * Dialog state (sip_dialog.h). 
    166  */ 
    167 typedef enum pjsip_dialog_state pjsip_dialog_state; 
    168  
    169 /** 
    170165 * Transaction role. 
    171166 */ 
     
    178173 
    179174    PJSIP_UAC_ROLE = PJSIP_ROLE_UAC,    /**< Role is UAC. */ 
    180     PJSIP_UAS_ROLE = PJSIP_ROLE_UAS,    /**< Role is UAS. */ 
     175    PJSIP_UAS_ROLE = PJSIP_ROLE_UAS     /**< Role is UAS. */ 
    181176 
    182177} pjsip_role_e; 
  • pjproject/trunk/pjsip/include/pjsip/sip_uri.h

    r611 r622  
    145145    PJSIP_URI_IN_CONTACT_HDR,   /**< The URI is in Contact header. */ 
    146146    PJSIP_URI_IN_ROUTING_HDR,   /**< The URI is in Route/Record-Route header. */ 
    147     PJSIP_URI_IN_OTHER,         /**< Other context (web page, business card, etc.) */ 
     147    PJSIP_URI_IN_OTHER          /**< Other context (web page, business card, etc.) */ 
    148148} pjsip_uri_context_e; 
    149149 
Note: See TracChangeset for help on using the changeset viewer.