refactor(parse): move parse functions to another file

This commit is contained in:
2026-01-30 01:42:47 +01:00
parent da146feec8
commit 4186b23e1a
3 changed files with 190 additions and 196 deletions

11
include/parse.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef TGBOT_PARSE_H
#define TGBOT_PARSE_H
#include "common.h"
#include <json-c/json.h>
tgbot_rc tgbot_parse_message(tgbot_s *bot, tgbot_update_s *update, json_object *result);
tgbot_rc tgbot_parse_cbquery(tgbot_s *bot, tgbot_cbquery_s *query, json_object *result, Callback cbq_handler);
#endif