diff options
Diffstat (limited to 'src/libdisfluid/main.c')
-rw-r--r-- | src/libdisfluid/main.c | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src/libdisfluid/main.c b/src/libdisfluid/main.c index 6b21295..5aab482 100644 --- a/src/libdisfluid/main.c +++ b/src/libdisfluid/main.c @@ -25,6 +25,7 @@ #include "disfluid-cache-entry-key.h" #include "disfluid-cache-entry-hash.h" #include "disfluid-tests.h" +#include "disfluid-ui.h" #include "disfluid-version.h" const char * @@ -117,6 +118,12 @@ disfluid_translation_credits (void) return translation_credits (); } +char * +disfluid_copyright_statement (void) +{ + return copyright_statement (); +} + size_t disfluid_cache_entry_size (size_t max_key, size_t max_header, size_t max_body) { @@ -238,6 +245,27 @@ disfluid_cache_entry_is_invalidated (const struct disfluid_cache_entry *entry) return cache_entry_is_invalidated (entry); } +size_t +disfluid_cache_entry_get_key (const struct disfluid_cache_entry *entry, + size_t start, size_t max, char *key) +{ + return cache_entry_get_key (entry, start, max, key); +} + +size_t +disfluid_cache_entry_get_header (const struct disfluid_cache_entry *entry, + size_t start, size_t max, char *header) +{ + return cache_entry_get_header (entry, start, max, header); +} + +size_t +disfluid_cache_entry_get_body (const struct disfluid_cache_entry *entry, + size_t start, size_t max, char *body) +{ + return cache_entry_get_body (entry, start, max, body); +} + int disfluid_cache_entry_load (struct disfluid_cache_entry *entry, int load_key, @@ -307,3 +335,29 @@ disfluid_hash_primary_cache_key (const char *method, return hash_primary_cache_key (method, uri, password, password_length, max_hash, hash); } + +const char * +disfluid_greet_world (void) +{ + return greet_world (); +} + +const char * +disfluid_metaphor_name (void) +{ + return metaphor_name (); +} + +int +disfluid_cache_entry_describe_request_date (const struct disfluid_cache_entry + *entry, char **description) +{ + return cache_entry_describe_request_date (entry, description); +} + +int +disfluid_cache_entry_describe_response_date (const struct disfluid_cache_entry + *entry, char **description) +{ + return cache_entry_describe_response_date (entry, description); +} |