HIPC  0.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Functions
scfg.h File Reference
#include <stddef.h>
#include <hipc.h>
#include <hipc/msgd.h>
Include dependency graph for scfg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  HIPC_scfg
 
struct  HIPC_fixed_sysmsg
 

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(), hipcUsocAcceptSimple(), and test_hipcScfgInit().

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(), hipcUsocAcceptSimple(), and test_hipcScfgCheckStrusize().

Here is the caller graph for this function: