Orca
A bot framework that is easy to reason about, easy to debug, and easy to use.
Classes | Enumerations | Functions
webhook.h File Reference

Specs generated file. More...

Go to the source code of this file.

Classes

struct  discord_webhook
 Webhook Structure. More...
 

Enumerations

enum  discord_webhook_types { DISCORD_WEBHOOK_INCOMING = 1, DISCORD_WEBHOOK_CHANNEL_FOLLOWER = 2 }
 

Functions

void discord_webhook_cleanup_v (void *p)
 
void discord_webhook_cleanup (struct discord_webhook *p)
 
void discord_webhook_init_v (void *p)
 
void discord_webhook_init (struct discord_webhook *p)
 
struct discord_webhookdiscord_webhook_alloc ()
 
void discord_webhook_free_v (void *p)
 
void discord_webhook_free (struct discord_webhook *p)
 
void discord_webhook_from_json_v (char *json, size_t len, void *p)
 
void discord_webhook_from_json (char *json, size_t len, struct discord_webhook *p)
 
size_t discord_webhook_to_json_v (char *json, size_t len, void *p)
 
size_t discord_webhook_to_json (char *json, size_t len, struct discord_webhook *p)
 
size_t discord_webhook_to_query_v (char *json, size_t len, void *p)
 
size_t discord_webhook_to_query (char *json, size_t len, struct discord_webhook *p)
 
void discord_webhook_list_free_v (void **p)
 
void discord_webhook_list_free (struct discord_webhook **p)
 
void discord_webhook_list_from_json_v (char *str, size_t len, void *p)
 
void discord_webhook_list_from_json (char *str, size_t len, struct discord_webhook ***p)
 
size_t discord_webhook_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_webhook_list_to_json (char *str, size_t len, struct discord_webhook **p)
 
char * discord_webhook_types_to_string (enum discord_webhook_types)
 
enum discord_webhook_types discord_webhook_types_from_string (char *)
 
bool discord_webhook_types_has (enum discord_webhook_types, char *)
 

Detailed Description

Specs generated file.

Author
cee-studio
Date
21 Jun 2021
See also
https://discord.com/developers/docs/resources/webhook