CliXoN
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
cli_common.h File Reference

Go to the source code of this file.

Macros

#define cb_single_arg(fn)
 

Functions

void cli_signal_block (clicon_handle h)
 
void cli_signal_unblock (clicon_handle h)
 

Macro Definition Documentation

#define cb_single_arg (   fn)
Value:
int fn(clicon_handle h, cvec *cvv, cg_var *arg) \
{ \
int retval=-1; \
cvec *argv = NULL; \
if (arg && (argv = cvec_from_var(arg)) == NULL){ \
clicon_err(OE_UNIX, errno, "cvec_from_var"); \
goto done; \
} \
retval = fn##v(h, cvv, argv); \
done: \
if (argv) cvec_free(argv); \
return retval; \
}
input_stmt NULL
Definition: clixon_yang_parse.y:899
etg etg<</NAME%s > if(xml_parse_bslash1(_YA, $2)< 0) YYABORT
return(CHAR)

macro to create a single-argument callback from multiple

Function Documentation

void cli_signal_block ( clicon_handle  h)
void cli_signal_unblock ( clicon_handle  h)