original files of m241
This commit is contained in:
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
******************************************************************************
|
||||
* HEADER FILE
|
||||
*
|
||||
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipike_configuration_file.h,v $ $Revision: 1.3 $
|
||||
* $Source: /home/interpeak/CVSRoot/ipike/src/ipike_configuration_file.h,v $
|
||||
* $Author: edahlber $ $Date: 2010-05-06 14:34:47 $
|
||||
* $State: Exp $ $Locker: $
|
||||
*
|
||||
* INTERPEAK_COPYRIGHT_STRING
|
||||
* Design and implementation by Kenneth Jonsson <kenneth@interpeak.se>
|
||||
******************************************************************************
|
||||
*/
|
||||
#ifndef IPIKE_CONFIGURATION_FILE_H
|
||||
#define IPIKE_CONFIGURATION_FILE_H
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 1 DESCRIPTION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 2 CONFIGURATION
|
||||
****************************************************************************
|
||||
*/
|
||||
#include "ipike_config.h"
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 3 INCLUDE FILES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#include "ipike.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/*
|
||||
****************************************************************************
|
||||
* 4 DEFINES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 5 TYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 6 FUNCTIONS
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* ipike_config_file_import_content
|
||||
*===========================================================================
|
||||
* Description: Load config file content to config context.
|
||||
* Parameters: config - The config context.
|
||||
* data - The config data.
|
||||
* Returns: Standard IPIKE error code.
|
||||
*/
|
||||
IP_GLOBAL Ipike_error
|
||||
ipike_config_file_import_content(
|
||||
Ipike_config_ike* config,
|
||||
const char* buf,
|
||||
Ip_size_t buf_len);
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* ipike_config_file_export_content
|
||||
*===========================================================================
|
||||
* Description:Export config context to config file content.
|
||||
* Parameters: config - The config context.
|
||||
* buf - Buffer that will receive the config data.
|
||||
* buf_len - Length of buffer and will receive used length.
|
||||
* Returns: Standard IPIKE error code.
|
||||
*/
|
||||
IP_GLOBAL Ipike_error
|
||||
ipike_config_file_export_content(
|
||||
Ipike_config_ike* config,
|
||||
char* buf,
|
||||
Ip_size_t* buf_len);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* END OF FILE
|
||||
****************************************************************************
|
||||
*/
|
||||
Reference in New Issue
Block a user