21 #ifndef PT_API_VERSION 22 #define PT_API_VERSION 1 24 #if PT_API_VERSION != 1 25 #error "Including mixed versions of Protocol API" 32 #define DEPRECATED(func) func __attribute__((deprecated)) 34 #pragma message("WARNING: Implement DEPRECATED macro, it is missing.") 35 #define DEPRECATED(func) func 64 struct connection* connection_init(
struct context *ctx,
char *(* generate_msg_id)()
A prototype of the ID generation function.
Definition: default_message_id_generator.h:41
A structure to hold the callbacks of the protocol translator.
Definition: pt_api.h:344
DEPRECATED(struct connection *connection_init(struct context *ctx, client_data_t *client_data, const protocol_translator_callbacks_t *pt_cbs, void *userdata))
Initializes the connection structure between Device Management Edge and the connected protocol transl...
**Deprecated** Protocol translator client for API v1.