Changeset 61 for pjproject/trunk
- Timestamp:
- Nov 20, 2005 10:58:43 AM (19 years ago)
- Location:
- pjproject/trunk/pjsip/src/test-pjsip
- Files:
-
- 1 added
- 2 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test-pjsip/main.c
r51 r61 17 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 #include "test.h"20 #include <stdio.h>21 22 int main()23 {24 test_uri();25 test_msg();26 27 #if !IS_PROFILING28 puts("Press <ENTER> to quit.");29 fgets( s, sizeof(s), stdin);30 #endif31 return 0;32 } -
pjproject/trunk/pjsip/src/test-pjsip/test.h
r51 r61 17 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 #include <pj/types.h> 19 #ifndef __TEST_H__ 20 #define __TEST_H__ 20 21 21 pj_status_t test_uri(void); 22 pj_status_t test_msg(void); 22 #include <pjsip/sip_types.h> 23 23 24 24 #define SILENT 1 25 25 #define IS_PROFILING 1 26 26 #define LOOP 2000 27 28 extern pjsip_endpoint *endpt; 29 30 pj_status_t parse_uri(void); 31 pj_status_t parse_msg(void); 32 33 void app_perror(const char *msg, pj_status_t status); 34 35 36 #endif /* __TEST_H__ */
Note: See TracChangeset
for help on using the changeset viewer.