<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Apache Portable Runtime: Portability Routines</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.9.1 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div> <h1>Portability Routines<br> <small> [<a class="el" href="group__APR.html">Apache Portability Runtime library</a>]</small> </h1><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Modules</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">group </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__os__thread.html">Thread portability Routines</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">group </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__os__dso.html">DSO (Dynamic Loading) Portabiliity Routines</a></td></tr> <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__os__sock__info__t.html">apr_os_sock_info_t</a></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga31">apr_os_global_mutex_t</a> <a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga32">apr_os_global_mutex_get</a> apr_os_proc_mutex_get</td></tr> <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef DIR </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga1">apr_os_dir_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga2">apr_os_sock_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga3">apr_os_proc_mutex_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef pthread_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga4">apr_os_thread_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef pthread_key_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga5">apr_os_threadkey_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef pid_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga6">apr_os_proc_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef timeval </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga7">apr_os_imp_time_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef tm </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga8">apr_os_exp_time_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga9">apr_os_dso_handle_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga10">apr_os_shm_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga11" doxytag="apr_portabile::apr_os_sock_info_t"></a> typedef <a class="el" href="structapr__os__sock__info__t.html">apr_os_sock_info_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga11">apr_os_sock_info_t</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">alias for local OS socket <br></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga12">apr_os_file_get</a> (<a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a> *thefile, <a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> *file)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga13">apr_os_dir_get</a> (<a class="el" href="group__apr__portabile.html#ga1">apr_os_dir_t</a> **thedir, <a class="el" href="group__apr__file__info.html#ga0">apr_dir_t</a> *dir)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga14">apr_os_sock_get</a> (<a class="el" href="group__apr__portabile.html#ga2">apr_os_sock_t</a> *thesock, <a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> *sock)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga15">apr_os_proc_mutex_get</a> (<a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a> *ospmutex, <a class="el" href="group__apr__proc__mutex.html#ga0">apr_proc_mutex_t</a> *pmutex)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga16">apr_os_exp_time_get</a> (<a class="el" href="group__apr__portabile.html#ga8">apr_os_exp_time_t</a> **ostime, <a class="el" href="structapr__time__exp__t.html">apr_time_exp_t</a> *aprtime)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga17">apr_os_imp_time_get</a> (<a class="el" href="group__apr__portabile.html#ga7">apr_os_imp_time_t</a> **ostime, <a class="el" href="group__apr__time.html#ga2">apr_time_t</a> *aprtime)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga18">apr_os_shm_get</a> (<a class="el" href="group__apr__portabile.html#ga10">apr_os_shm_t</a> *osshm, <a class="el" href="group__apr__shm.html#ga0">apr_shm_t</a> *shm)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga19">apr_os_file_put</a> (<a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> **file, <a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a> *thefile, apr_int32_t flags, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga20">apr_os_pipe_put</a> (<a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> **file, <a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a> *thefile, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga21">apr_os_pipe_put_ex</a> (<a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> **file, <a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a> *thefile, int register_cleanup, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga22">apr_os_dir_put</a> (<a class="el" href="group__apr__file__info.html#ga0">apr_dir_t</a> **dir, <a class="el" href="group__apr__portabile.html#ga1">apr_os_dir_t</a> *thedir, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga23">apr_os_sock_put</a> (<a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> **sock, <a class="el" href="group__apr__portabile.html#ga2">apr_os_sock_t</a> *thesock, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga24">apr_os_sock_make</a> (<a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> **apr_sock, <a class="el" href="structapr__os__sock__info__t.html">apr_os_sock_info_t</a> *os_sock_info, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga25">apr_os_proc_mutex_put</a> (<a class="el" href="group__apr__proc__mutex.html#ga0">apr_proc_mutex_t</a> **pmutex, <a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a> *ospmutex, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga26">apr_os_imp_time_put</a> (<a class="el" href="group__apr__time.html#ga2">apr_time_t</a> *aprtime, <a class="el" href="group__apr__portabile.html#ga7">apr_os_imp_time_t</a> **ostime, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga27">apr_os_exp_time_put</a> (<a class="el" href="structapr__time__exp__t.html">apr_time_exp_t</a> *aprtime, <a class="el" href="group__apr__portabile.html#ga8">apr_os_exp_time_t</a> **ostime, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga28">apr_os_shm_put</a> (<a class="el" href="group__apr__shm.html#ga0">apr_shm_t</a> **shm, <a class="el" href="group__apr__portabile.html#ga10">apr_os_shm_t</a> *osshm, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga29">apr_os_default_encoding</a> (<a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *pool)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__portabile.html#ga30">apr_os_locale_encoding</a> (<a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *pool)</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="ga32" doxytag="apr_portable.h::apr_os_global_mutex_get"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define apr_os_global_mutex_get apr_os_proc_mutex_get </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>apr_os_global_mutex </dd></dl> </td> </tr> </table> <a class="anchor" name="ga31" doxytag="apr_portable.h::apr_os_global_mutex_t"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define apr_os_global_mutex_t <a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Opaque global mutex type </td> </tr> </table> <hr><h2>Typedef Documentation</h2> <a class="anchor" name="ga1" doxytag="apr_portable.h::apr_os_dir_t"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef DIR <a class="el" href="group__apr__portabile.html#ga1">apr_os_dir_t</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> native dir </td> </tr> </table> <a class="anchor" name="ga9" doxytag="apr_portable.h::apr_os_dso_handle_t"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__portabile.html#ga9">apr_os_dso_handle_t</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> native dso types </td> </tr> </table> <a class="anchor" name="ga8" doxytag="apr_portable.h::apr_os_exp_time_t"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct tm <a class="el" href="group__apr__portabile.html#ga8">apr_os_exp_time_t</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> native tm </td> </tr> </table> <a class="anchor" name="ga0" doxytag="apr_portable.h::apr_os_file_t"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef int <a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> native file </td> </tr> </table> <a class="anchor" name="ga7" doxytag="apr_portable.h::apr_os_imp_time_t"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct timeval <a class="el" href="group__apr__portabile.html#ga7">apr_os_imp_time_t</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> native timeval </td> </tr> </table> <a class="anchor" name="ga3" doxytag="apr_portable.h::apr_os_proc_mutex_t"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a> <a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> native proces mutex </td> </tr> </table> <a class="anchor" name="ga6" doxytag="apr_portable.h::apr_os_proc_t"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef pid_t <a class="el" href="group__apr__portabile.html#ga6">apr_os_proc_t</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> native pid </td> </tr> </table> <a class="anchor" name="ga10" doxytag="apr_portable.h::apr_os_shm_t"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef void* <a class="el" href="group__apr__portabile.html#ga10">apr_os_shm_t</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> native SHM </td> </tr> </table> <a class="anchor" name="ga2" doxytag="apr_portable.h::apr_os_sock_t"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef int <a class="el" href="group__apr__portabile.html#ga2">apr_os_sock_t</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> native dir </td> </tr> </table> <a class="anchor" name="ga4" doxytag="apr_portable.h::apr_os_thread_t"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef pthread_t <a class="el" href="group__apr__portabile.html#ga4">apr_os_thread_t</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> native thread </td> </tr> </table> <a class="anchor" name="ga5" doxytag="apr_portable.h::apr_os_threadkey_t"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef pthread_key_t <a class="el" href="group__apr__portabile.html#ga5">apr_os_threadkey_t</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> native thread address space </td> </tr> </table> <hr><h2>Function Documentation</h2> <a class="anchor" name="ga29" doxytag="apr_portable.h::apr_os_default_encoding"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">const char* apr_os_default_encoding </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>pool</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Get the name of the system default characer set. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pool</em> </td><td>the pool to allocate the name from, if needed </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="ga13" doxytag="apr_portable.h::apr_os_dir_get"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_dir_get </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__portabile.html#ga1">apr_os_dir_t</a> ** </td> <td class="mdname" nowrap> <em>thedir</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__file__info.html#ga0">apr_dir_t</a> * </td> <td class="mdname" nowrap> <em>dir</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> convert the dir from apr type to os specific type. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>thedir</em> </td><td>The os specific dir we are converting to </td></tr> <tr><td valign="top"></td><td valign="top"><em>dir</em> </td><td>The apr dir to convert. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="ga22" doxytag="apr_portable.h::apr_os_dir_put"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_dir_put </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__file__info.html#ga0">apr_dir_t</a> ** </td> <td class="mdname" nowrap> <em>dir</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__portabile.html#ga1">apr_os_dir_t</a> * </td> <td class="mdname" nowrap> <em>thedir</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> * </td> <td class="mdname" nowrap> <em>cont</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> convert the dir from os specific type to apr type. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>dir</em> </td><td>The apr dir we are converting to. </td></tr> <tr><td valign="top"></td><td valign="top"><em>thedir</em> </td><td>The os specific dir to convert </td></tr> <tr><td valign="top"></td><td valign="top"><em>cont</em> </td><td>The pool to use when creating to apr directory. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="ga16" doxytag="apr_portable.h::apr_os_exp_time_get"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_exp_time_get </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__portabile.html#ga8">apr_os_exp_time_t</a> ** </td> <td class="mdname" nowrap> <em>ostime</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="structapr__time__exp__t.html">apr_time_exp_t</a> * </td> <td class="mdname" nowrap> <em>aprtime</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Get the exploded time in the platforms native format. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>ostime</em> </td><td>the native time format </td></tr> <tr><td valign="top"></td><td valign="top"><em>aprtime</em> </td><td>the time to convert </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="ga27" doxytag="apr_portable.h::apr_os_exp_time_put"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_exp_time_put </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structapr__time__exp__t.html">apr_time_exp_t</a> * </td> <td class="mdname" nowrap> <em>aprtime</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__portabile.html#ga8">apr_os_exp_time_t</a> ** </td> <td class="mdname" nowrap> <em>ostime</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> * </td> <td class="mdname" nowrap> <em>cont</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Put the exploded time in the APR format. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aprtime</em> </td><td>the APR time format </td></tr> <tr><td valign="top"></td><td valign="top"><em>ostime</em> </td><td>the time to convert </td></tr> <tr><td valign="top"></td><td valign="top"><em>cont</em> </td><td>the pool to use if necessary </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="ga12" doxytag="apr_portable.h::apr_os_file_get"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_file_get </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a> * </td> <td class="mdname" nowrap> <em>thefile</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> * </td> <td class="mdname" nowrap> <em>file</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> convert the file from apr type to os specific type. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>thefile</em> </td><td>The os specific file we are converting to </td></tr> <tr><td valign="top"></td><td valign="top"><em>file</em> </td><td>The apr file to convert. </td></tr> </table> </dl> <dl compact><dt><b>Remarks:</b></dt><dd>On Unix, it is only possible to get a file descriptor from an apr file type. </dd></dl> </td> </tr> </table> <a class="anchor" name="ga19" doxytag="apr_portable.h::apr_os_file_put"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_file_put </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> ** </td> <td class="mdname" nowrap> <em>file</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a> * </td> <td class="mdname" nowrap> <em>thefile</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>apr_int32_t </td> <td class="mdname" nowrap> <em>flags</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> * </td> <td class="mdname" nowrap> <em>cont</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> convert the file from os specific type to apr type. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>file</em> </td><td>The apr file we are converting to. </td></tr> <tr><td valign="top"></td><td valign="top"><em>thefile</em> </td><td>The os specific file to convert </td></tr> <tr><td valign="top"></td><td valign="top"><em>flags</em> </td><td>The flags that were used to open this file. </td></tr> <tr><td valign="top"></td><td valign="top"><em>cont</em> </td><td>The pool to use if it is needed. </td></tr> </table> </dl> <dl compact><dt><b>Remarks:</b></dt><dd>On Unix, it is only possible to put a file descriptor into an apr file type. </dd></dl> </td> </tr> </table> <a class="anchor" name="ga17" doxytag="apr_portable.h::apr_os_imp_time_get"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_imp_time_get </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__portabile.html#ga7">apr_os_imp_time_t</a> ** </td> <td class="mdname" nowrap> <em>ostime</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__time.html#ga2">apr_time_t</a> * </td> <td class="mdname" nowrap> <em>aprtime</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Get the imploded time in the platforms native format. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>ostime</em> </td><td>the native time format </td></tr> <tr><td valign="top"></td><td valign="top"><em>aprtime</em> </td><td>the time to convert </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="ga26" doxytag="apr_portable.h::apr_os_imp_time_put"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_imp_time_put </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__time.html#ga2">apr_time_t</a> * </td> <td class="mdname" nowrap> <em>aprtime</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__portabile.html#ga7">apr_os_imp_time_t</a> ** </td> <td class="mdname" nowrap> <em>ostime</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> * </td> <td class="mdname" nowrap> <em>cont</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Put the imploded time in the APR format. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aprtime</em> </td><td>the APR time format </td></tr> <tr><td valign="top"></td><td valign="top"><em>ostime</em> </td><td>the time to convert </td></tr> <tr><td valign="top"></td><td valign="top"><em>cont</em> </td><td>the pool to use if necessary </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="ga30" doxytag="apr_portable.h::apr_os_locale_encoding"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">const char* apr_os_locale_encoding </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>pool</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Get the name of the current locale character set. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pool</em> </td><td>the pool to allocate the name from, if needed </td></tr> </table> </dl> <dl compact><dt><b>Remarks:</b></dt><dd>Defers to apr_os_default_encoding if the current locale's data can't be retreved on this system. </dd></dl> </td> </tr> </table> <a class="anchor" name="ga20" doxytag="apr_portable.h::apr_os_pipe_put"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_pipe_put </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> ** </td> <td class="mdname" nowrap> <em>file</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a> * </td> <td class="mdname" nowrap> <em>thefile</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> * </td> <td class="mdname" nowrap> <em>cont</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> convert the file from os specific type to apr type. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>file</em> </td><td>The apr file we are converting to. </td></tr> <tr><td valign="top"></td><td valign="top"><em>thefile</em> </td><td>The os specific pipe to convert </td></tr> <tr><td valign="top"></td><td valign="top"><em>cont</em> </td><td>The pool to use if it is needed. </td></tr> </table> </dl> <dl compact><dt><b>Remarks:</b></dt><dd>On Unix, it is only possible to put a file descriptor into an apr file type. </dd></dl> </td> </tr> </table> <a class="anchor" name="ga21" doxytag="apr_portable.h::apr_os_pipe_put_ex"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_pipe_put_ex </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> ** </td> <td class="mdname" nowrap> <em>file</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a> * </td> <td class="mdname" nowrap> <em>thefile</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>register_cleanup</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> * </td> <td class="mdname" nowrap> <em>cont</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> convert the file from os specific type to apr type. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>file</em> </td><td>The apr file we are converting to. </td></tr> <tr><td valign="top"></td><td valign="top"><em>thefile</em> </td><td>The os specific pipe to convert </td></tr> <tr><td valign="top"></td><td valign="top"><em>register_cleanup</em> </td><td>A cleanup will be registered on the apr_file_t to issue <a class="el" href="group__apr__file__io.html#ga4">apr_file_close()</a>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>cont</em> </td><td>The pool to use if it is needed. </td></tr> </table> </dl> <dl compact><dt><b>Remarks:</b></dt><dd>On Unix, it is only possible to put a file descriptor into an apr file type. </dd></dl> </td> </tr> </table> <a class="anchor" name="ga15" doxytag="apr_portable.h::apr_os_proc_mutex_get"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_proc_mutex_get </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a> * </td> <td class="mdname" nowrap> <em>ospmutex</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__proc__mutex.html#ga0">apr_proc_mutex_t</a> * </td> <td class="mdname" nowrap> <em>pmutex</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Convert the proc mutex from os specific type to apr type <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>ospmutex</em> </td><td>The os specific proc mutex we are converting to. </td></tr> <tr><td valign="top"></td><td valign="top"><em>pmutex</em> </td><td>The apr proc mutex to convert. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="ga25" doxytag="apr_portable.h::apr_os_proc_mutex_put"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_proc_mutex_put </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__proc__mutex.html#ga0">apr_proc_mutex_t</a> ** </td> <td class="mdname" nowrap> <em>pmutex</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a> * </td> <td class="mdname" nowrap> <em>ospmutex</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> * </td> <td class="mdname" nowrap> <em>cont</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Convert the proc mutex from os specific type to apr type <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pmutex</em> </td><td>The apr proc mutex we are converting to. </td></tr> <tr><td valign="top"></td><td valign="top"><em>ospmutex</em> </td><td>The os specific proc mutex to convert. </td></tr> <tr><td valign="top"></td><td valign="top"><em>cont</em> </td><td>The pool to use if it is needed. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="ga18" doxytag="apr_portable.h::apr_os_shm_get"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_shm_get </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__portabile.html#ga10">apr_os_shm_t</a> * </td> <td class="mdname" nowrap> <em>osshm</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__shm.html#ga0">apr_shm_t</a> * </td> <td class="mdname" nowrap> <em>shm</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> convert the shm from apr type to os specific type. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>osshm</em> </td><td>The os specific shm representation </td></tr> <tr><td valign="top"></td><td valign="top"><em>shm</em> </td><td>The apr shm to convert. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="ga28" doxytag="apr_portable.h::apr_os_shm_put"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_shm_put </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__shm.html#ga0">apr_shm_t</a> ** </td> <td class="mdname" nowrap> <em>shm</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__portabile.html#ga10">apr_os_shm_t</a> * </td> <td class="mdname" nowrap> <em>osshm</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> * </td> <td class="mdname" nowrap> <em>cont</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> convert the shared memory from os specific type to apr type. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>shm</em> </td><td>The apr shm representation of osshm </td></tr> <tr><td valign="top"></td><td valign="top"><em>osshm</em> </td><td>The os specific shm identity </td></tr> <tr><td valign="top"></td><td valign="top"><em>cont</em> </td><td>The pool to use if it is needed. </td></tr> </table> </dl> <dl compact><dt><b>Remarks:</b></dt><dd>On fork()ed architectures, this is typically nothing more than the memory block mapped. On non-fork architectures, this is typically some internal handle to pass the mapping from process to process. </dd></dl> </td> </tr> </table> <a class="anchor" name="ga14" doxytag="apr_portable.h::apr_os_sock_get"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_sock_get </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__portabile.html#ga2">apr_os_sock_t</a> * </td> <td class="mdname" nowrap> <em>thesock</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> * </td> <td class="mdname" nowrap> <em>sock</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Convert the socket from an apr type to an OS specific socket <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>thesock</em> </td><td>The socket to convert. </td></tr> <tr><td valign="top"></td><td valign="top"><em>sock</em> </td><td>The os specifc equivelant of the apr socket.. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="ga24" doxytag="apr_portable.h::apr_os_sock_make"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_sock_make </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> ** </td> <td class="mdname" nowrap> <em>apr_sock</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="structapr__os__sock__info__t.html">apr_os_sock_info_t</a> * </td> <td class="mdname" nowrap> <em>os_sock_info</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> * </td> <td class="mdname" nowrap> <em>cont</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Create a socket from an existing descriptor and local and remote socket addresses. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>apr_sock</em> </td><td>The new socket that has been set up </td></tr> <tr><td valign="top"></td><td valign="top"><em>os_sock_info</em> </td><td>The os representation of the socket handle and other characteristics of the socket </td></tr> <tr><td valign="top"></td><td valign="top"><em>cont</em> </td><td>The pool to use </td></tr> </table> </dl> <dl compact><dt><b>Remarks:</b></dt><dd>If you only know the descriptor/handle or if it isn't really a true socket, use <a class="el" href="group__apr__portabile.html#ga23">apr_os_sock_put()</a> instead. </dd></dl> </td> </tr> </table> <a class="anchor" name="ga23" doxytag="apr_portable.h::apr_os_sock_put"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> apr_os_sock_put </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> ** </td> <td class="mdname" nowrap> <em>sock</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__portabile.html#ga2">apr_os_sock_t</a> * </td> <td class="mdname" nowrap> <em>thesock</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> * </td> <td class="mdname" nowrap> <em>cont</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Convert a socket from the os specific type to the apr type <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>sock</em> </td><td>The pool to use. </td></tr> <tr><td valign="top"></td><td valign="top"><em>thesock</em> </td><td>The socket to convert to. </td></tr> <tr><td valign="top"></td><td valign="top"><em>cont</em> </td><td>The socket we are converting to an apr type. </td></tr> </table> </dl> <dl compact><dt><b>Remarks:</b></dt><dd>If it is a true socket, it is best to call <a class="el" href="group__apr__portabile.html#ga24">apr_os_sock_make()</a> and provide APR with more information about the socket. </dd></dl> </td> </tr> </table> <hr size="1"><address style="align: right;"><small>Generated on Sun Mar 20 19:52:27 2005 for Apache Portable Runtime by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address> </body> </html>