}
-HashList *load_netconf(WCTemplateToken *Token)
+HashList *load_netconf(StrBuf *Target, int nArgs, WCTemplateToken *Tokens, void *Context, int ContextType)
{
StrBuf *Buf;
HashList *Hash;
return;
}
- NodeConfig = load_netconf(NULL);
+ NodeConfig = load_netconf(NULL, 0, NULL, NULL, CTX_NONE);
Put(NodeConfig, ChrPtr(Index), StrLength(Index), NewNode, DeleteNodeConf);
save_net_conf(NodeConfig);
DeleteHash(&NodeConfig);
return;
}
- NodeConfig = load_netconf(NULL);
+ NodeConfig = load_netconf(NULL, 0, NULL, NULL, CTX_NONE);
if (!GetHash(NodeConfig, ChrPtr(Index), StrLength(Index), &vNode) ||
(vNode == NULL)) {
sprintf(WC->ImportantMessage, _("Invalid Parameter"));
return;
}
- NodeConfig = load_netconf(NULL);
+ NodeConfig = load_netconf(NULL, 0, NULL, NULL, CTX_NONE);
if (!GetHash(NodeConfig, ChrPtr(Index), StrLength(Index), &vNode) ||
(vNode == NULL)) {
sprintf(WC->ImportantMessage, _("Invalid Parameter"));