struct uci_list *prev;};struct uci_ptr;struct uci_element;struct uci_package;struct uci_section;...
int uci_list_configs(struct uci_context *ctx, char ***list) Purpose: List available uci config files Arguments ArgumentDescription ctx the uci context list pointer to list output Notes Caller is responsible for freeing the allocated memory behind list int uci_set_savedir(struct uci_context *...
char **(*list_configs)(struct uci_context *ctx); struct uci_package *(*load)(struct uci_context *ctx, const char *name); void (*commit)(struct uci_context *ctx, struct uci_package **p, bool overwrite); /* private: */
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
在Linux 系统中, 客观来说,缺乏相对开发者比较友好的进程间通信框架。谈到Linux上进程间通信,一般都会...
Example of maclist (cmd: uci show wireless): ... wireless.default_radio0.macfilter=deny wireless.default_radio0.maclist=15:15:12:64:66:14 15:15:12:64:66:15 15:15:12:64:66:16 ... As an add_list usage example, lets add these MAC addresses to the list: 11:11:11:11:11:...
For consistency, native configs autogenerated from uci should go into the /var/etc directory. > +CHAP_SECRETS=/etc/ppp/chap-secrets This should reside in /var/etc or /var/run, if pptp cannot be isntructed to look for this file there it should be symlinked there. ...
static void uci_parse_option(struct uci_context *ctx, bool list) { struct uci_parse_context *pctx = ctx->pctx; struct uci_element *e; struct uci_ptr ptr; int ofs_name, ofs_value; char *name = NULL; char *value = NULL; if (!pctx->section) ...
(uci_list_configs(ctx, &config) != 0) goto done; for(i = 0; config[i] != NULL; i++) { uci_lua_changes_pkg(L, ctx, config[i]); } } done: return 1; } static int uci_lua_get_confdir(lua_State *L) { struct uci_context *ctx = find_context(L, NULL); lua_pushstring...
Files master lua sh test .gitignore CMakeLists.txt blob.c cli.c delta.c file.c libuci.c list.c list.h parse.c uci.h uci_blob.h uci_config.h.in uci_internal.h ucimap.c ucimap.h util.c Latest commit Felix Fietkau remove unused hook support ...