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

Specs generated file. More...

Go to the source code of this file.

Classes

struct  discord_audit_log
 Audit Log Structure. More...
 
struct  discord_audit_log_entry
 Audit Log Entry Structure. More...
 
struct  discord_audit_log_entry_optional_info
 Optional Audit Entry Info Structure. More...
 
struct  discord_audit_log_change
 Audit Log Change Structure. More...
 
struct  discord_audit_log_change_key
 Audit Log Change Key. More...
 

Enumerations

enum  discord_audit_log_events {
  DISCORD_AUDIT_LOG_GUILD_UPDATE = 1, DISCORD_AUDIT_LOG_CHANNEL_CREATE = 10, DISCORD_AUDIT_LOG_CHANNEL_UPDATE = 11, DISCORD_AUDIT_LOG_CHANNEL_DELETE = 12,
  DISCORD_AUDIT_LOG_CHANNEL_OVERWRITE_CREATE = 13, DISCORD_AUDIT_LOG_CHANNEL_OVERWRITE_UPDATE = 14, DISCORD_AUDIT_LOG_CHANNEL_OVERWRITE_DELETE = 15, DISCORD_AUDIT_LOG_MEMBER_KICK = 20,
  DISCORD_AUDIT_LOG_MEMBER_PRUNE = 21, DISCORD_AUDIT_LOG_MEMBER_BAN_ADD = 22, DISCORD_AUDIT_LOG_MEMBER_BAN_REMOVE = 23, DISCORD_AUDIT_LOG_MEMBER_UPDATE = 24,
  DISCORD_AUDIT_LOG_MEMBER_ROLE_UPDATE = 25, DISCORD_AUDIT_LOG_MEMBER_MOVE = 26, DISCORD_AUDIT_LOG_MEMBER_DISCONNECT = 27, DISCORD_AUDIT_LOG_BOT_ADD = 28,
  DISCORD_AUDIT_LOG_ROLE_CREATE = 30, DISCORD_AUDIT_LOG_ROLE_UPDATE = 31, DISCORD_AUDIT_LOG_ROLE_DELETE = 32, DISCORD_AUDIT_LOG_INVITE_CREATE = 40,
  DISCORD_AUDIT_LOG_INVITE_DELETE = 42, DISCORD_AUDIT_LOG_WEBHOOK_CREATE = 50, DISCORD_AUDIT_LOG_WEBHOOK_UPDATE = 51, DISCORD_AUDIT_LOG_WEBHOOK_DELETE = 52,
  DISCORD_AUDIT_LOG_EMOJI_CREATE = 60, DISCORD_AUDIT_LOG_EMOJI_UPDATE = 61, DISCORD_AUDIT_LOG_EMOJI_DELETE = 62, DISCORD_AUDIT_LOG_MESSAGE_DELETE = 72,
  DISCORD_AUDIT_LOG_MESSAGE_BULK_DELETE = 73, DISCORD_AUDIT_LOG_MESSAGE_PIN = 74, DISCORD_AUDIT_LOG_MESSAGE_UNPIN = 75, DISCORD_AUDIT_LOG_INTEGRATION_CREATE = 80,
  DISCORD_AUDIT_LOG_INTEGRATION_UPDATE = 81, DISCORD_AUDIT_LOG_INTEGRATION_DELETE = 82
}
 

Functions

void discord_audit_log_cleanup_v (void *p)
 
void discord_audit_log_cleanup (struct discord_audit_log *p)
 
void discord_audit_log_init_v (void *p)
 
void discord_audit_log_init (struct discord_audit_log *p)
 
struct discord_audit_logdiscord_audit_log_alloc ()
 
void discord_audit_log_free_v (void *p)
 
void discord_audit_log_free (struct discord_audit_log *p)
 
void discord_audit_log_from_json_v (char *json, size_t len, void *p)
 
void discord_audit_log_from_json (char *json, size_t len, struct discord_audit_log *p)
 
size_t discord_audit_log_to_json_v (char *json, size_t len, void *p)
 
size_t discord_audit_log_to_json (char *json, size_t len, struct discord_audit_log *p)
 
size_t discord_audit_log_to_query_v (char *json, size_t len, void *p)
 
size_t discord_audit_log_to_query (char *json, size_t len, struct discord_audit_log *p)
 
void discord_audit_log_list_free_v (void **p)
 
void discord_audit_log_list_free (struct discord_audit_log **p)
 
void discord_audit_log_list_from_json_v (char *str, size_t len, void *p)
 
void discord_audit_log_list_from_json (char *str, size_t len, struct discord_audit_log ***p)
 
size_t discord_audit_log_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_audit_log_list_to_json (char *str, size_t len, struct discord_audit_log **p)
 
char * discord_audit_log_events_to_string (enum discord_audit_log_events)
 
enum discord_audit_log_events discord_audit_log_events_from_string (char *)
 
bool discord_audit_log_events_has (enum discord_audit_log_events, char *)
 
void discord_audit_log_entry_cleanup_v (void *p)
 
void discord_audit_log_entry_cleanup (struct discord_audit_log_entry *p)
 
void discord_audit_log_entry_init_v (void *p)
 
void discord_audit_log_entry_init (struct discord_audit_log_entry *p)
 
struct discord_audit_log_entrydiscord_audit_log_entry_alloc ()
 
void discord_audit_log_entry_free_v (void *p)
 
void discord_audit_log_entry_free (struct discord_audit_log_entry *p)
 
void discord_audit_log_entry_from_json_v (char *json, size_t len, void *p)
 
void discord_audit_log_entry_from_json (char *json, size_t len, struct discord_audit_log_entry *p)
 
size_t discord_audit_log_entry_to_json_v (char *json, size_t len, void *p)
 
size_t discord_audit_log_entry_to_json (char *json, size_t len, struct discord_audit_log_entry *p)
 
size_t discord_audit_log_entry_to_query_v (char *json, size_t len, void *p)
 
size_t discord_audit_log_entry_to_query (char *json, size_t len, struct discord_audit_log_entry *p)
 
void discord_audit_log_entry_list_free_v (void **p)
 
void discord_audit_log_entry_list_free (struct discord_audit_log_entry **p)
 
void discord_audit_log_entry_list_from_json_v (char *str, size_t len, void *p)
 
void discord_audit_log_entry_list_from_json (char *str, size_t len, struct discord_audit_log_entry ***p)
 
size_t discord_audit_log_entry_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_audit_log_entry_list_to_json (char *str, size_t len, struct discord_audit_log_entry **p)
 
void discord_audit_log_entry_optional_info_cleanup_v (void *p)
 
void discord_audit_log_entry_optional_info_cleanup (struct discord_audit_log_entry_optional_info *p)
 
void discord_audit_log_entry_optional_info_init_v (void *p)
 
void discord_audit_log_entry_optional_info_init (struct discord_audit_log_entry_optional_info *p)
 
struct discord_audit_log_entry_optional_infodiscord_audit_log_entry_optional_info_alloc ()
 
void discord_audit_log_entry_optional_info_free_v (void *p)
 
void discord_audit_log_entry_optional_info_free (struct discord_audit_log_entry_optional_info *p)
 
void discord_audit_log_entry_optional_info_from_json_v (char *json, size_t len, void *p)
 
void discord_audit_log_entry_optional_info_from_json (char *json, size_t len, struct discord_audit_log_entry_optional_info *p)
 
size_t discord_audit_log_entry_optional_info_to_json_v (char *json, size_t len, void *p)
 
size_t discord_audit_log_entry_optional_info_to_json (char *json, size_t len, struct discord_audit_log_entry_optional_info *p)
 
size_t discord_audit_log_entry_optional_info_to_query_v (char *json, size_t len, void *p)
 
size_t discord_audit_log_entry_optional_info_to_query (char *json, size_t len, struct discord_audit_log_entry_optional_info *p)
 
void discord_audit_log_entry_optional_info_list_free_v (void **p)
 
void discord_audit_log_entry_optional_info_list_free (struct discord_audit_log_entry_optional_info **p)
 
void discord_audit_log_entry_optional_info_list_from_json_v (char *str, size_t len, void *p)
 
void discord_audit_log_entry_optional_info_list_from_json (char *str, size_t len, struct discord_audit_log_entry_optional_info ***p)
 
size_t discord_audit_log_entry_optional_info_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_audit_log_entry_optional_info_list_to_json (char *str, size_t len, struct discord_audit_log_entry_optional_info **p)
 
void discord_audit_log_change_cleanup_v (void *p)
 
void discord_audit_log_change_cleanup (struct discord_audit_log_change *p)
 
void discord_audit_log_change_init_v (void *p)
 
void discord_audit_log_change_init (struct discord_audit_log_change *p)
 
struct discord_audit_log_changediscord_audit_log_change_alloc ()
 
void discord_audit_log_change_free_v (void *p)
 
void discord_audit_log_change_free (struct discord_audit_log_change *p)
 
void discord_audit_log_change_from_json_v (char *json, size_t len, void *p)
 
void discord_audit_log_change_from_json (char *json, size_t len, struct discord_audit_log_change *p)
 
size_t discord_audit_log_change_to_json_v (char *json, size_t len, void *p)
 
size_t discord_audit_log_change_to_json (char *json, size_t len, struct discord_audit_log_change *p)
 
size_t discord_audit_log_change_to_query_v (char *json, size_t len, void *p)
 
size_t discord_audit_log_change_to_query (char *json, size_t len, struct discord_audit_log_change *p)
 
void discord_audit_log_change_list_free_v (void **p)
 
void discord_audit_log_change_list_free (struct discord_audit_log_change **p)
 
void discord_audit_log_change_list_from_json_v (char *str, size_t len, void *p)
 
void discord_audit_log_change_list_from_json (char *str, size_t len, struct discord_audit_log_change ***p)
 
size_t discord_audit_log_change_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_audit_log_change_list_to_json (char *str, size_t len, struct discord_audit_log_change **p)
 
void discord_audit_log_change_key_cleanup_v (void *p)
 
void discord_audit_log_change_key_cleanup (struct discord_audit_log_change_key *p)
 
void discord_audit_log_change_key_init_v (void *p)
 
void discord_audit_log_change_key_init (struct discord_audit_log_change_key *p)
 
struct discord_audit_log_change_keydiscord_audit_log_change_key_alloc ()
 
void discord_audit_log_change_key_free_v (void *p)
 
void discord_audit_log_change_key_free (struct discord_audit_log_change_key *p)
 
void discord_audit_log_change_key_from_json_v (char *json, size_t len, void *p)
 
void discord_audit_log_change_key_from_json (char *json, size_t len, struct discord_audit_log_change_key *p)
 
size_t discord_audit_log_change_key_to_json_v (char *json, size_t len, void *p)
 
size_t discord_audit_log_change_key_to_json (char *json, size_t len, struct discord_audit_log_change_key *p)
 
size_t discord_audit_log_change_key_to_query_v (char *json, size_t len, void *p)
 
size_t discord_audit_log_change_key_to_query (char *json, size_t len, struct discord_audit_log_change_key *p)
 
void discord_audit_log_change_key_list_free_v (void **p)
 
void discord_audit_log_change_key_list_free (struct discord_audit_log_change_key **p)
 
void discord_audit_log_change_key_list_from_json_v (char *str, size_t len, void *p)
 
void discord_audit_log_change_key_list_from_json (char *str, size_t len, struct discord_audit_log_change_key ***p)
 
size_t discord_audit_log_change_key_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_audit_log_change_key_list_to_json (char *str, size_t len, struct discord_audit_log_change_key **p)
 

Detailed Description

Specs generated file.

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