コード例 #1
0
ファイル: clixon_backend_handle.c プロジェクト: clicon/clixon
/*! Creates and returns a clicon config handle for other CLICON API calls
 */
clicon_handle
backend_handle_init(void)
{
    return clicon_handle_init0(sizeof(struct backend_handle));
}
コード例 #2
0
ファイル: clicon_handle.c プロジェクト: andrnils/clicon
/*
 * \brief Basic CLICON init functions returning a handle for API access.
 *
 * This is the first call to CLICON basic API which returns a handle to be 
 * used in the API functions. There are other clicon_init functions for more 
 * elaborate applications (cli/backend/netconf). This should be used by the most
 * basic applications that use CLICON lib directly.
 */
clicon_handle 
clicon_handle_init(void)
{
    return clicon_handle_init0(sizeof(struct clicon_handle));
}