DELETE command
[rxpd] / src / rxpd.h
index d5ecc98..60dc441 100644 (file)
   RXPD_CMD(PREPEND,     "new rules in front of a list")         \
   RXPD_CMD(REMOVE,      "rules from a list")                    \
   RXPD_CMD(REPLACE,     "a rule in a list with new rules")      \
   RXPD_CMD(PREPEND,     "new rules in front of a list")         \
   RXPD_CMD(REMOVE,      "rules from a list")                    \
   RXPD_CMD(REPLACE,     "a rule in a list with new rules")      \
+  RXPD_CMD(DELETE,      "a list from memory")                   \
   RXPD_CMD(LOAD,        "a list from disk")                     \
   RXPD_CMD(SAVE,        "a list to disk")                       \
   RXPD_CMD(EXPIRE,      "aged rules from a list")               \
   RXPD_CMD(DUMP,        "rules in a list")                      \
   RXPD_CMD(LIST,        "all existing lists")                   \
   RXPD_CMD(LOAD,        "a list from disk")                     \
   RXPD_CMD(SAVE,        "a list to disk")                       \
   RXPD_CMD(EXPIRE,      "aged rules from a list")               \
   RXPD_CMD(DUMP,        "rules in a list")                      \
   RXPD_CMD(LIST,        "all existing lists")                   \
-  RXPD_CMD(VERSION,     "of this rxpd is "PACKAGE_STRING)       \
+  RXPD_CMD(VERSION,     "of this rxpd is "PACKAGE_VERSION)      \
   RXPD_CMD(HELP,        "is what you see right now")            \
   RXPD_CMD(SHUTDOWN,    "the daemon")
 
   RXPD_CMD(HELP,        "is what you see right now")            \
   RXPD_CMD(SHUTDOWN,    "the daemon")
 
@@ -141,7 +142,7 @@ struct rxpd_file*
 rxpd_file_new (struct rxpd_base* base, const char* filename);
 
 void
 rxpd_file_new (struct rxpd_base* base, const char* filename);
 
 void
-rxpd_file_delete (PSplay file);
+rxpd_file_delete (struct rxpd_file* file);
 
 int
 rxpd_file_load (struct rxpd_file* self);
 
 int
 rxpd_file_load (struct rxpd_file* self);