X-Git-Url: https://www.pipapo.org/gitweb/?p=rxpd;a=blobdiff_plain;f=src%2Frxpd.h;h=60dc441530b56b39da907a4867133f01a42a075d;hp=d5ecc982f13167a431627c5cb340ca4653d083a0;hb=74720bb0ac4e5e34feb40be2ec4030471e0e1bfe;hpb=0df95b7987c64d06e58a81c332f505b250b3acaa diff --git a/src/rxpd.h b/src/rxpd.h index d5ecc98..60dc441 100644 --- a/src/rxpd.h +++ b/src/rxpd.h @@ -46,12 +46,13 @@ 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(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") @@ -141,7 +142,7 @@ struct rxpd_file* 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);