HIPC  0.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
scfg.c File Reference
#include <hipc/scfg.h>
Include dependency graph for scfg.c:

Go to the source code of this file.

Functions

void hipcScfgInit (const struct HIPC_scfg *const cfg_p)
 Initializes a server-side configuration. More...
 
enum HIPC_errno hipcScfgCheckStrusize (const struct HIPC_scfg *const cfg_p)
 Checks structure sizes. More...
 

Function Documentation

void hipcScfgInit ( const struct HIPC_scfg *const  cfg_p)

Initializes a server-side configuration.

Parameters
cfg_ppointer to a server-side configuration

Definition at line 8 of file scfg.c.

References HIPC_scfg::endian_p, and hipcEndian().

Referenced by hipcUsocAccept(), and hipcUsocAcceptSimple().

Here is the call graph for this function:

Here is the caller graph for this function:

enum HIPC_errno hipcScfgCheckStrusize ( const struct HIPC_scfg *const  cfg_p)

Checks structure sizes.

Parameters
cfg_ppointer to a server-side configuration
Returns
HIPC_SUCCESS on success, or an error on failure.

Definition at line 20 of file scfg.c.

References HIPC_ERR_S_OVERSIZED_STRU, HIPC_SUCCESS, HIPC_scfg::n_struct, and HIPC_scfg::strusize_p.

Referenced by hipcUsocAccept(), and hipcUsocAcceptSimple().

Here is the caller graph for this function: