diff options
author | Michael McVady <femtonaut@gmail.com> | 2024-01-12 16:33:49 -0600 |
---|---|---|
committer | Michael McVady <femtonaut@gmail.com> | 2024-01-12 16:33:53 -0600 |
commit | dd5411a8d709520c19a2e3577064b6c1bc289e64 (patch) | |
tree | d44967e5fad879a7575e3bb8155e96aba109bf5f /src/clog.c | |
parent | 660d6e73218229c6ac08ac2b7a19819169529fc8 (diff) |
Stub out search ...
Diffstat (limited to 'src/clog.c')
-rw-r--r-- | src/clog.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -67,6 +67,7 @@ int get_index(struct http_request *req); int get_entry(struct http_request *req); int edit_entry(struct http_request *req); int update_entry(struct http_request *req); +int search_entries(struct http_request *req); int sql_select(struct entry_query *eq); int sql_update(const char *id, const char *title, const char *body); @@ -407,6 +408,19 @@ out: ; return KORE_RESULT_OK; } + +int search_entries(struct http_request *req) { + // int err = 0; + + kore_log(LOG_INFO, "search ...."); + + http_err_resp(req, HTTP_STATUS_OK); + +// out: ; + + return KORE_RESULT_OK; +} + int sql_select(struct entry_query *eq) { int err = KORE_RESULT_OK; |