changeset 13: |
1fedeaa5bfc5 |
parent: |
315fedf35bc7
|
author: |
ellis <ellis@rwest.io> |
date: |
Fri, 19 May 2023 22:38:49 -0400 |
permissions: |
-rw-r--r-- |
description: |
tweaks to ffi and makefile |
4 /* Generated with cbindgen:0.24.3 */ 17 #define OUT_LEN_HEX (OUT_LEN * 2) 19 typedef struct CustomService CustomService; 24 typedef struct Service Service; 30 void free_service(struct Service *ptr); 32 struct Service *service_from_string(const char *ptr); 34 struct Service *service_from_json_string(const char *ptr); 36 char *service_to_json_string(const struct Service *ptr); 38 struct Service *service_from_ron_string(const char *ptr); 40 char *service_to_ron_string(const struct Service *ptr); 42 struct Service *service_decode(const uint8_t *ptr, size_t len); 44 uint8_t *service_encode(const struct Service *ptr); 46 void free_custom_service(struct CustomService *ptr); 48 struct CustomService *custom_service_from_string(const char *ptr); 50 struct CustomService *custom_service_from_json_string(const char *ptr); 52 char *custom_service_to_json_string(const struct CustomService *ptr); 54 struct CustomService *custom_service_from_ron_string(const char *ptr); 56 char *custom_service_to_ron_string(const struct CustomService *ptr); 58 struct CustomService *custom_service_decode(const uint8_t *ptr, size_t len); 60 uint8_t *custom_service_encode(const struct CustomService *ptr);