diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2009-08-29 09:46:07 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2009-08-29 09:46:07 +0200 |
commit | c22206b7038390e0fe6b14f1ecb1d7012b0ed86d (patch) | |
tree | a5ddc76075a188e3800f248e95d0cebc83b62823 | |
parent | 9abbfc63eb9bc0803e3a408f7785ab342c4f0ece (diff) | |
download | eurephia-c22206b7038390e0fe6b14f1ecb1d7012b0ed86d.tar.gz eurephia-c22206b7038390e0fe6b14f1ecb1d7012b0ed86d.tar.xz eurephia-c22206b7038390e0fe6b14f1ecb1d7012b0ed86d.zip |
Improved some comments
-rw-r--r-- | database/eurephiadb_mapping.c | 16 | ||||
-rw-r--r-- | database/sqlite/firewalladmin.c | 5 |
2 files changed, 11 insertions, 10 deletions
diff --git a/database/eurephiadb_mapping.c b/database/eurephiadb_mapping.c index a62bd2b..0918ca9 100644 --- a/database/eurephiadb_mapping.c +++ b/database/eurephiadb_mapping.c @@ -36,14 +36,14 @@ // defined tables in eurephia_mapping.h const char *TABLE_NAME[] = { NULL, - "users", - "certificates", - "usercerts", - "lastlog", - "attemptslog", - "blacklist", - "eurephia_adminaccess", - "firewall_profiles", + "users", // TABLE_USERS + "certificates", // TABLE_CERTS + "usercerts", // TABLE_USERCERTS + "lastlog", // TABLE_LASTLOG + "attemptslog", // TABLE_ATTEMPTS + "blacklist", // TABLE_BLACKLIST + "eurephia_adminaccess", // TABLE_EUREPHIAADMACC + "firewall_profiles", // TABLE_FWPROFILES NULL}; // Simple mapping table for session status diff --git a/database/sqlite/firewalladmin.c b/database/sqlite/firewalladmin.c index 4824fdd..8429779 100644 --- a/database/sqlite/firewalladmin.c +++ b/database/sqlite/firewalladmin.c @@ -208,12 +208,13 @@ xmlDoc *fwadmin_delete(eurephiaCTX *ctx, eDBfieldMap *fmap) { // <eurephia format="1"> // <firewall_profiles mode="{search|add|delete}"> // <fieldMapping table="fwprofiles"> -// <{search field}>{search value}</{search field}> +// <{field name}>{search value}</{field name}> // </fieldMapping> // </firewall_profiles> // </eurehpia> // -// It can be several search field tags to limit the search even more. +// It can be several field name tags to limit the search even more. +// For the add mode, the fw_profile field name tag must be present. // xmlDoc *eDBadminFirewallProfiles(eurephiaCTX *ctx, xmlDoc *srch) { eDBfieldMap *fmap = NULL; |