Tracking de l'application VNode (moteur du jeu, services, broker.. etc

This commit is contained in:
2025-05-11 18:06:20 +02:00
parent 89e9db9b62
commit 4b4060bc8b
187 changed files with 29906 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#ifndef WEBHOOK_POST_H
#define WEBHOOK_POST_H
#include "webhook_inproc.h"
#include "broker.h"
extern int webhook_msg_publish(nng_socket *sock, conf_web_hook *hook_conf,
pub_packet_struct *pub_packet, const char *username,
const char *client_id);
extern int webhook_client_connack(nng_socket *sock, conf_web_hook *hook_conf,
uint8_t proto_ver, uint16_t keepalive, uint8_t reason,
const char *username, const char *client_id);
extern int webhook_client_disconnect(nng_socket *sock,
conf_web_hook *hook_conf, uint8_t proto_ver, uint16_t keepalive,
uint8_t reason, const char *username, const char *client_id);
extern int hook_entry(nano_work *work, uint8_t reason);
extern int hook_exchange_init(conf *nanomq_conf, uint64_t num_ctx);
extern int hook_exchange_sender_init(conf *nanomq_conf, struct work **works, uint64_t num_ctx);
#endif