restconf; xmlput extended with api_path; xmldb_put_tree
This commit is contained in:
parent
ebd53a34ee
commit
b744a4ad8a
21 changed files with 732 additions and 1260 deletions
|
|
@ -24,27 +24,10 @@
|
|||
* Prototypes
|
||||
*/
|
||||
int notfound(FCGX_Request *r);
|
||||
|
||||
char *ival2influxdb(char *ival);
|
||||
int openfile(FCGX_Request *r, char *dir, char *filename);
|
||||
int errorfn(FCGX_Request *r, char *root, char *reason);
|
||||
int badrequest(FCGX_Request *r);
|
||||
int clicon_debug_xml(int dbglevel, char *str, cxobj *cx);
|
||||
int str2cvec(char *string, char delim1, char delim2, cvec **cvp);
|
||||
int netconf_rpc(cbuf *result, char *format, ...);
|
||||
int netconf_cmd(FCGX_Request *r, char *data);
|
||||
int cli_rpc(cbuf *result, char *mode, char *format, ...);
|
||||
int cli_cmd(FCGX_Request *r, char *mode, char *cmd);
|
||||
int check_credentials(char *passwd, cxobj *cx);
|
||||
int get_db_entry(char *entry, char *attr, char *val, cxobj **cx);
|
||||
int get_user_cookie(char *cookiestr, char *attribute, char **val);
|
||||
int test(FCGX_Request *r, int dbg);
|
||||
cbuf *readdata(FCGX_Request *r);
|
||||
|
||||
int create_database(char *server_addr, char *database, char *www_user, char *www_passwd);
|
||||
int create_db_user(char *server_addr, char *database, char *user, char *password, char *www_user, char *www_passwd);
|
||||
int url_post(char *url, char *username, char *passwd, char *putdata,
|
||||
char *expect, char **getdata);
|
||||
int b64_decode(const char *b64_buf, char *buf, size_t buf_len);
|
||||
int metric_spec_description(char *metric, char **result);
|
||||
int metric_spec_units(char *metric, char **result);
|
||||
|
||||
#endif /* _RESTCONF_LIB_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue