Changeset 3664 for pjproject/trunk/pjlib/include/pj/os.h
- Timestamp:
- Jul 19, 2011 3:42:28 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
- Property svn:mergeinfo changed
-
pjproject/trunk/pjlib/include/pj/os.h
r3553 r3664 1435 1435 /* **************************************************************************/ 1436 1436 /** 1437 * @defgroup PJ_APP_OS Application execution 1438 * @ingroup PJ_OS 1439 * @{ 1440 */ 1441 1442 /* Type for main function. */ 1443 typedef int (*pj_main_func_ptr)(int argc, char *argv[]); 1444 1445 /** 1446 * Run the application. This function has to be called in the main thread 1447 * and after doing the necessary initialization according to the flags 1448 * provided, it will call main_func() function. 1449 * 1450 * @param main_func Application's main function. 1451 * @param argc Number of arguments from the main() function, which 1452 * will be passed to main_func() function. 1453 * @param argv The arguments from the main() function, which will 1454 * be passed to main_func() function. 1455 * @param flags Flags for application execution, currently must be 0. 1456 * 1457 * @return main_func()'s return value. 1458 */ 1459 int pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], 1460 unsigned flags); 1461 1462 /** @} */ 1463 1464 1465 /* **************************************************************************/ 1466 /** 1437 1467 * Internal PJLIB function to initialize the threading subsystem. 1438 1468 * @return PJ_SUCCESS or the appropriate error code.
Note: See TracChangeset
for help on using the changeset viewer.