Restructured error,debug anf log API
Renamed functions clicon->clixon, replaced global variables w access functions Unified clicon_netconf_error with clixon_err()
This commit is contained in:
parent
261469be16
commit
24a4991ec8
199 changed files with 4668 additions and 4158 deletions
|
|
@ -42,18 +42,18 @@
|
|||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
clicon_handle restconf_handle_init(void);
|
||||
int restconf_handle_exit(clicon_handle h);
|
||||
char *restconf_param_get(clicon_handle h, const char *param);
|
||||
int restconf_param_set(clicon_handle h, const char *param, char *val);
|
||||
int restconf_param_del_all(clicon_handle h);
|
||||
clixon_auth_type_t restconf_auth_type_get(clicon_handle h);
|
||||
int restconf_auth_type_set(clicon_handle h, clixon_auth_type_t type);
|
||||
int restconf_pretty_get(clicon_handle h);
|
||||
int restconf_pretty_set(clicon_handle h, int pretty);
|
||||
int restconf_http_data_get(clicon_handle h);
|
||||
int restconf_http_data_set(clicon_handle h, int http_data);
|
||||
char *restconf_fcgi_socket_get(clicon_handle h);
|
||||
int restconf_fcgi_socket_set(clicon_handle h, char *socketpath);
|
||||
clixon_handle restconf_handle_init(void);
|
||||
int restconf_handle_exit(clixon_handle h);
|
||||
char *restconf_param_get(clixon_handle h, const char *param);
|
||||
int restconf_param_set(clixon_handle h, const char *param, char *val);
|
||||
int restconf_param_del_all(clixon_handle h);
|
||||
clixon_auth_type_t restconf_auth_type_get(clixon_handle h);
|
||||
int restconf_auth_type_set(clixon_handle h, clixon_auth_type_t type);
|
||||
int restconf_pretty_get(clixon_handle h);
|
||||
int restconf_pretty_set(clixon_handle h, int pretty);
|
||||
int restconf_http_data_get(clixon_handle h);
|
||||
int restconf_http_data_set(clixon_handle h, int http_data);
|
||||
char *restconf_fcgi_socket_get(clixon_handle h);
|
||||
int restconf_fcgi_socket_set(clixon_handle h, char *socketpath);
|
||||
|
||||
#endif /* _RESTCONF_HANDLE_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue