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

Specs generated file. More...

Go to the source code of this file.

Classes

struct  discord_guild
 Guild Structure. More...
 
struct  discord_guild_unavailable
 Unavailable Guild Object. More...
 
struct  discord_guild_preview
 Guild Preview Object. More...
 
struct  discord_guild_widget
 Guild Widget Object. More...
 
struct  discord_guild_member
 Guild Member Structure. More...
 
struct  discord_guild_integration
 Integration Structure. More...
 
struct  discord_guild_integration_account
 Integration Account Structure. More...
 
struct  discord_guild_integration_application
 Integration Application Object. More...
 
struct  discord_guild_ban
 Ban Structure. More...
 
struct  discord_guild_welcome_screen
 Welcome Screen Structure. More...
 
struct  discord_guild_welcome_screen_channel
 Welcome Screen Channel Structure. More...
 

Enumerations

enum  discord_guild_default_message_notification_level { DISCORD_GUILD_ALL_MESSAGES = 0, DISCORD_GUILD_ONLY_MENTIONS = 1 }
 
enum  discord_guild_explicit_content_filter_level { DISCORD_GUILD_DISABLED = 0, DISCORD_GUILD_MEMBERS_WITHOUT_ROLES = 1, DISCORD_GUILD_ALL_MEMBERS = 2 }
 
enum  discord_guild_mfa_level { DISCORD_GUILD_DISCORD_MFA_NONE = 0, DISCORD_GUILD_ELEVATED = 1 }
 
enum  discord_guild_verification_level {
  DISCORD_GUILD_DISCORD_VL_NONE = 0, DISCORD_GUILD_LOW = 1, DISCORD_GUILD_MEDIUM = 2, DISCORD_GUILD_HIGH = 3,
  DISCORD_GUILD_VERY_HIGH = 4
}
 
enum  discord_guild_premium_tier { DISCORD_GUILD_DISCORD_PREMIUM_NONE = 0, DISCORD_GUILD_TIER_1 = 1, DISCORD_GUILD_TIER_2 = 2, DISCORD_GUILD_TIER_3 = 3 }
 
enum  discord_guild_system_channel_flags { DISCORD_GUILD_SUPRESS_JOIN_NOTIFICATIONS = 1, DISCORD_GUILD_SUPRESS_PREMIUM_SUBSCRIPTIONS = 2 }
 
enum  discord_guild_features {
  DISCORD_GUILD_INVITE_SPLASH = 0, DISCORD_GUILD_VIP_REGIONS = 1, DISCORD_GUILD_VANITY_URL = 2, DISCORD_GUILD_VERIFIED = 3,
  DISCORD_GUILD_PARTNERED = 4, DISCORD_GUILD_COMMUNITY = 5, DISCORD_GUILD_COMMERCE = 6, DISCORD_GUILD_NEWS = 7,
  DISCORD_GUILD_DISCOVERABLE = 8, DISCORD_GUILD_FEATURABLE = 9, DISCORD_GUILD_ANIMATED_ICON = 10, DISCORD_GUILD_BANNER = 11,
  DISCORD_GUILD_WELCOME_SCREEN_ENABLED = 12, DISCORD_GUILD_MEMBER_VERIFICATION_GATE_ENABLED = 13, DISCORD_GUILD_PREVIEW_ENABLED = 14
}
 
enum  discord_guild_integration_expire_behaviors { DISCORD_GUILD_INTEGRATION_REMOVE_ROLE = 0, DISCORD_GUILD_INTEGRATION_KICK = 1 }
 

Functions

void discord_guild_cleanup_v (void *p)
 
void discord_guild_cleanup (struct discord_guild *p)
 
void discord_guild_init_v (void *p)
 
void discord_guild_init (struct discord_guild *p)
 
struct discord_guilddiscord_guild_alloc ()
 
void discord_guild_free_v (void *p)
 
void discord_guild_free (struct discord_guild *p)
 
void discord_guild_from_json_v (char *json, size_t len, void *p)
 
void discord_guild_from_json (char *json, size_t len, struct discord_guild *p)
 
size_t discord_guild_to_json_v (char *json, size_t len, void *p)
 
size_t discord_guild_to_json (char *json, size_t len, struct discord_guild *p)
 
size_t discord_guild_to_query_v (char *json, size_t len, void *p)
 
size_t discord_guild_to_query (char *json, size_t len, struct discord_guild *p)
 
void discord_guild_list_free_v (void **p)
 
void discord_guild_list_free (struct discord_guild **p)
 
void discord_guild_list_from_json_v (char *str, size_t len, void *p)
 
void discord_guild_list_from_json (char *str, size_t len, struct discord_guild ***p)
 
size_t discord_guild_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_guild_list_to_json (char *str, size_t len, struct discord_guild **p)
 
char * discord_guild_default_message_notification_level_to_string (enum discord_guild_default_message_notification_level)
 
enum discord_guild_default_message_notification_level discord_guild_default_message_notification_level_from_string (char *)
 
bool discord_guild_default_message_notification_level_has (enum discord_guild_default_message_notification_level, char *)
 
char * discord_guild_explicit_content_filter_level_to_string (enum discord_guild_explicit_content_filter_level)
 
enum discord_guild_explicit_content_filter_level discord_guild_explicit_content_filter_level_from_string (char *)
 
bool discord_guild_explicit_content_filter_level_has (enum discord_guild_explicit_content_filter_level, char *)
 
char * discord_guild_mfa_level_to_string (enum discord_guild_mfa_level)
 
enum discord_guild_mfa_level discord_guild_mfa_level_from_string (char *)
 
bool discord_guild_mfa_level_has (enum discord_guild_mfa_level, char *)
 
char * discord_guild_verification_level_to_string (enum discord_guild_verification_level)
 
enum discord_guild_verification_level discord_guild_verification_level_from_string (char *)
 
bool discord_guild_verification_level_has (enum discord_guild_verification_level, char *)
 
char * discord_guild_premium_tier_to_string (enum discord_guild_premium_tier)
 
enum discord_guild_premium_tier discord_guild_premium_tier_from_string (char *)
 
bool discord_guild_premium_tier_has (enum discord_guild_premium_tier, char *)
 
char * discord_guild_system_channel_flags_to_string (enum discord_guild_system_channel_flags)
 
enum discord_guild_system_channel_flags discord_guild_system_channel_flags_from_string (char *)
 
bool discord_guild_system_channel_flags_has (enum discord_guild_system_channel_flags, char *)
 
char * discord_guild_features_to_string (enum discord_guild_features)
 
enum discord_guild_features discord_guild_features_from_string (char *)
 
bool discord_guild_features_has (enum discord_guild_features, char *)
 
void discord_guild_unavailable_cleanup_v (void *p)
 
void discord_guild_unavailable_cleanup (struct discord_guild_unavailable *p)
 
void discord_guild_unavailable_init_v (void *p)
 
void discord_guild_unavailable_init (struct discord_guild_unavailable *p)
 
struct discord_guild_unavailablediscord_guild_unavailable_alloc ()
 
void discord_guild_unavailable_free_v (void *p)
 
void discord_guild_unavailable_free (struct discord_guild_unavailable *p)
 
void discord_guild_unavailable_from_json_v (char *json, size_t len, void *p)
 
void discord_guild_unavailable_from_json (char *json, size_t len, struct discord_guild_unavailable *p)
 
size_t discord_guild_unavailable_to_json_v (char *json, size_t len, void *p)
 
size_t discord_guild_unavailable_to_json (char *json, size_t len, struct discord_guild_unavailable *p)
 
size_t discord_guild_unavailable_to_query_v (char *json, size_t len, void *p)
 
size_t discord_guild_unavailable_to_query (char *json, size_t len, struct discord_guild_unavailable *p)
 
void discord_guild_unavailable_list_free_v (void **p)
 
void discord_guild_unavailable_list_free (struct discord_guild_unavailable **p)
 
void discord_guild_unavailable_list_from_json_v (char *str, size_t len, void *p)
 
void discord_guild_unavailable_list_from_json (char *str, size_t len, struct discord_guild_unavailable ***p)
 
size_t discord_guild_unavailable_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_guild_unavailable_list_to_json (char *str, size_t len, struct discord_guild_unavailable **p)
 
void discord_guild_preview_cleanup_v (void *p)
 
void discord_guild_preview_cleanup (struct discord_guild_preview *p)
 
void discord_guild_preview_init_v (void *p)
 
void discord_guild_preview_init (struct discord_guild_preview *p)
 
struct discord_guild_previewdiscord_guild_preview_alloc ()
 
void discord_guild_preview_free_v (void *p)
 
void discord_guild_preview_free (struct discord_guild_preview *p)
 
void discord_guild_preview_from_json_v (char *json, size_t len, void *p)
 
void discord_guild_preview_from_json (char *json, size_t len, struct discord_guild_preview *p)
 
size_t discord_guild_preview_to_json_v (char *json, size_t len, void *p)
 
size_t discord_guild_preview_to_json (char *json, size_t len, struct discord_guild_preview *p)
 
size_t discord_guild_preview_to_query_v (char *json, size_t len, void *p)
 
size_t discord_guild_preview_to_query (char *json, size_t len, struct discord_guild_preview *p)
 
void discord_guild_preview_list_free_v (void **p)
 
void discord_guild_preview_list_free (struct discord_guild_preview **p)
 
void discord_guild_preview_list_from_json_v (char *str, size_t len, void *p)
 
void discord_guild_preview_list_from_json (char *str, size_t len, struct discord_guild_preview ***p)
 
size_t discord_guild_preview_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_guild_preview_list_to_json (char *str, size_t len, struct discord_guild_preview **p)
 
void discord_guild_widget_cleanup_v (void *p)
 
void discord_guild_widget_cleanup (struct discord_guild_widget *p)
 
void discord_guild_widget_init_v (void *p)
 
void discord_guild_widget_init (struct discord_guild_widget *p)
 
struct discord_guild_widgetdiscord_guild_widget_alloc ()
 
void discord_guild_widget_free_v (void *p)
 
void discord_guild_widget_free (struct discord_guild_widget *p)
 
void discord_guild_widget_from_json_v (char *json, size_t len, void *p)
 
void discord_guild_widget_from_json (char *json, size_t len, struct discord_guild_widget *p)
 
size_t discord_guild_widget_to_json_v (char *json, size_t len, void *p)
 
size_t discord_guild_widget_to_json (char *json, size_t len, struct discord_guild_widget *p)
 
size_t discord_guild_widget_to_query_v (char *json, size_t len, void *p)
 
size_t discord_guild_widget_to_query (char *json, size_t len, struct discord_guild_widget *p)
 
void discord_guild_widget_list_free_v (void **p)
 
void discord_guild_widget_list_free (struct discord_guild_widget **p)
 
void discord_guild_widget_list_from_json_v (char *str, size_t len, void *p)
 
void discord_guild_widget_list_from_json (char *str, size_t len, struct discord_guild_widget ***p)
 
size_t discord_guild_widget_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_guild_widget_list_to_json (char *str, size_t len, struct discord_guild_widget **p)
 
void discord_guild_member_cleanup_v (void *p)
 
void discord_guild_member_cleanup (struct discord_guild_member *p)
 
void discord_guild_member_init_v (void *p)
 
void discord_guild_member_init (struct discord_guild_member *p)
 
struct discord_guild_memberdiscord_guild_member_alloc ()
 
void discord_guild_member_free_v (void *p)
 
void discord_guild_member_free (struct discord_guild_member *p)
 
void discord_guild_member_from_json_v (char *json, size_t len, void *p)
 
void discord_guild_member_from_json (char *json, size_t len, struct discord_guild_member *p)
 
size_t discord_guild_member_to_json_v (char *json, size_t len, void *p)
 
size_t discord_guild_member_to_json (char *json, size_t len, struct discord_guild_member *p)
 
size_t discord_guild_member_to_query_v (char *json, size_t len, void *p)
 
size_t discord_guild_member_to_query (char *json, size_t len, struct discord_guild_member *p)
 
void discord_guild_member_list_free_v (void **p)
 
void discord_guild_member_list_free (struct discord_guild_member **p)
 
void discord_guild_member_list_from_json_v (char *str, size_t len, void *p)
 
void discord_guild_member_list_from_json (char *str, size_t len, struct discord_guild_member ***p)
 
size_t discord_guild_member_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_guild_member_list_to_json (char *str, size_t len, struct discord_guild_member **p)
 
void discord_guild_integration_cleanup_v (void *p)
 
void discord_guild_integration_cleanup (struct discord_guild_integration *p)
 
void discord_guild_integration_init_v (void *p)
 
void discord_guild_integration_init (struct discord_guild_integration *p)
 
struct discord_guild_integrationdiscord_guild_integration_alloc ()
 
void discord_guild_integration_free_v (void *p)
 
void discord_guild_integration_free (struct discord_guild_integration *p)
 
void discord_guild_integration_from_json_v (char *json, size_t len, void *p)
 
void discord_guild_integration_from_json (char *json, size_t len, struct discord_guild_integration *p)
 
size_t discord_guild_integration_to_json_v (char *json, size_t len, void *p)
 
size_t discord_guild_integration_to_json (char *json, size_t len, struct discord_guild_integration *p)
 
size_t discord_guild_integration_to_query_v (char *json, size_t len, void *p)
 
size_t discord_guild_integration_to_query (char *json, size_t len, struct discord_guild_integration *p)
 
void discord_guild_integration_list_free_v (void **p)
 
void discord_guild_integration_list_free (struct discord_guild_integration **p)
 
void discord_guild_integration_list_from_json_v (char *str, size_t len, void *p)
 
void discord_guild_integration_list_from_json (char *str, size_t len, struct discord_guild_integration ***p)
 
size_t discord_guild_integration_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_guild_integration_list_to_json (char *str, size_t len, struct discord_guild_integration **p)
 
char * discord_guild_integration_expire_behaviors_to_string (enum discord_guild_integration_expire_behaviors)
 
enum discord_guild_integration_expire_behaviors discord_guild_integration_expire_behaviors_from_string (char *)
 
bool discord_guild_integration_expire_behaviors_has (enum discord_guild_integration_expire_behaviors, char *)
 
void discord_guild_integration_account_cleanup_v (void *p)
 
void discord_guild_integration_account_cleanup (struct discord_guild_integration_account *p)
 
void discord_guild_integration_account_init_v (void *p)
 
void discord_guild_integration_account_init (struct discord_guild_integration_account *p)
 
struct discord_guild_integration_accountdiscord_guild_integration_account_alloc ()
 
void discord_guild_integration_account_free_v (void *p)
 
void discord_guild_integration_account_free (struct discord_guild_integration_account *p)
 
void discord_guild_integration_account_from_json_v (char *json, size_t len, void *p)
 
void discord_guild_integration_account_from_json (char *json, size_t len, struct discord_guild_integration_account *p)
 
size_t discord_guild_integration_account_to_json_v (char *json, size_t len, void *p)
 
size_t discord_guild_integration_account_to_json (char *json, size_t len, struct discord_guild_integration_account *p)
 
size_t discord_guild_integration_account_to_query_v (char *json, size_t len, void *p)
 
size_t discord_guild_integration_account_to_query (char *json, size_t len, struct discord_guild_integration_account *p)
 
void discord_guild_integration_account_list_free_v (void **p)
 
void discord_guild_integration_account_list_free (struct discord_guild_integration_account **p)
 
void discord_guild_integration_account_list_from_json_v (char *str, size_t len, void *p)
 
void discord_guild_integration_account_list_from_json (char *str, size_t len, struct discord_guild_integration_account ***p)
 
size_t discord_guild_integration_account_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_guild_integration_account_list_to_json (char *str, size_t len, struct discord_guild_integration_account **p)
 
void discord_guild_integration_application_cleanup_v (void *p)
 
void discord_guild_integration_application_cleanup (struct discord_guild_integration_application *p)
 
void discord_guild_integration_application_init_v (void *p)
 
void discord_guild_integration_application_init (struct discord_guild_integration_application *p)
 
struct discord_guild_integration_applicationdiscord_guild_integration_application_alloc ()
 
void discord_guild_integration_application_free_v (void *p)
 
void discord_guild_integration_application_free (struct discord_guild_integration_application *p)
 
void discord_guild_integration_application_from_json_v (char *json, size_t len, void *p)
 
void discord_guild_integration_application_from_json (char *json, size_t len, struct discord_guild_integration_application *p)
 
size_t discord_guild_integration_application_to_json_v (char *json, size_t len, void *p)
 
size_t discord_guild_integration_application_to_json (char *json, size_t len, struct discord_guild_integration_application *p)
 
size_t discord_guild_integration_application_to_query_v (char *json, size_t len, void *p)
 
size_t discord_guild_integration_application_to_query (char *json, size_t len, struct discord_guild_integration_application *p)
 
void discord_guild_integration_application_list_free_v (void **p)
 
void discord_guild_integration_application_list_free (struct discord_guild_integration_application **p)
 
void discord_guild_integration_application_list_from_json_v (char *str, size_t len, void *p)
 
void discord_guild_integration_application_list_from_json (char *str, size_t len, struct discord_guild_integration_application ***p)
 
size_t discord_guild_integration_application_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_guild_integration_application_list_to_json (char *str, size_t len, struct discord_guild_integration_application **p)
 
void discord_guild_ban_cleanup_v (void *p)
 
void discord_guild_ban_cleanup (struct discord_guild_ban *p)
 
void discord_guild_ban_init_v (void *p)
 
void discord_guild_ban_init (struct discord_guild_ban *p)
 
struct discord_guild_bandiscord_guild_ban_alloc ()
 
void discord_guild_ban_free_v (void *p)
 
void discord_guild_ban_free (struct discord_guild_ban *p)
 
void discord_guild_ban_from_json_v (char *json, size_t len, void *p)
 
void discord_guild_ban_from_json (char *json, size_t len, struct discord_guild_ban *p)
 
size_t discord_guild_ban_to_json_v (char *json, size_t len, void *p)
 
size_t discord_guild_ban_to_json (char *json, size_t len, struct discord_guild_ban *p)
 
size_t discord_guild_ban_to_query_v (char *json, size_t len, void *p)
 
size_t discord_guild_ban_to_query (char *json, size_t len, struct discord_guild_ban *p)
 
void discord_guild_ban_list_free_v (void **p)
 
void discord_guild_ban_list_free (struct discord_guild_ban **p)
 
void discord_guild_ban_list_from_json_v (char *str, size_t len, void *p)
 
void discord_guild_ban_list_from_json (char *str, size_t len, struct discord_guild_ban ***p)
 
size_t discord_guild_ban_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_guild_ban_list_to_json (char *str, size_t len, struct discord_guild_ban **p)
 
void discord_guild_welcome_screen_cleanup_v (void *p)
 
void discord_guild_welcome_screen_cleanup (struct discord_guild_welcome_screen *p)
 
void discord_guild_welcome_screen_init_v (void *p)
 
void discord_guild_welcome_screen_init (struct discord_guild_welcome_screen *p)
 
struct discord_guild_welcome_screendiscord_guild_welcome_screen_alloc ()
 
void discord_guild_welcome_screen_free_v (void *p)
 
void discord_guild_welcome_screen_free (struct discord_guild_welcome_screen *p)
 
void discord_guild_welcome_screen_from_json_v (char *json, size_t len, void *p)
 
void discord_guild_welcome_screen_from_json (char *json, size_t len, struct discord_guild_welcome_screen *p)
 
size_t discord_guild_welcome_screen_to_json_v (char *json, size_t len, void *p)
 
size_t discord_guild_welcome_screen_to_json (char *json, size_t len, struct discord_guild_welcome_screen *p)
 
size_t discord_guild_welcome_screen_to_query_v (char *json, size_t len, void *p)
 
size_t discord_guild_welcome_screen_to_query (char *json, size_t len, struct discord_guild_welcome_screen *p)
 
void discord_guild_welcome_screen_list_free_v (void **p)
 
void discord_guild_welcome_screen_list_free (struct discord_guild_welcome_screen **p)
 
void discord_guild_welcome_screen_list_from_json_v (char *str, size_t len, void *p)
 
void discord_guild_welcome_screen_list_from_json (char *str, size_t len, struct discord_guild_welcome_screen ***p)
 
size_t discord_guild_welcome_screen_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_guild_welcome_screen_list_to_json (char *str, size_t len, struct discord_guild_welcome_screen **p)
 
void discord_guild_welcome_screen_channel_cleanup_v (void *p)
 
void discord_guild_welcome_screen_channel_cleanup (struct discord_guild_welcome_screen_channel *p)
 
void discord_guild_welcome_screen_channel_init_v (void *p)
 
void discord_guild_welcome_screen_channel_init (struct discord_guild_welcome_screen_channel *p)
 
struct discord_guild_welcome_screen_channeldiscord_guild_welcome_screen_channel_alloc ()
 
void discord_guild_welcome_screen_channel_free_v (void *p)
 
void discord_guild_welcome_screen_channel_free (struct discord_guild_welcome_screen_channel *p)
 
void discord_guild_welcome_screen_channel_from_json_v (char *json, size_t len, void *p)
 
void discord_guild_welcome_screen_channel_from_json (char *json, size_t len, struct discord_guild_welcome_screen_channel *p)
 
size_t discord_guild_welcome_screen_channel_to_json_v (char *json, size_t len, void *p)
 
size_t discord_guild_welcome_screen_channel_to_json (char *json, size_t len, struct discord_guild_welcome_screen_channel *p)
 
size_t discord_guild_welcome_screen_channel_to_query_v (char *json, size_t len, void *p)
 
size_t discord_guild_welcome_screen_channel_to_query (char *json, size_t len, struct discord_guild_welcome_screen_channel *p)
 
void discord_guild_welcome_screen_channel_list_free_v (void **p)
 
void discord_guild_welcome_screen_channel_list_free (struct discord_guild_welcome_screen_channel **p)
 
void discord_guild_welcome_screen_channel_list_from_json_v (char *str, size_t len, void *p)
 
void discord_guild_welcome_screen_channel_list_from_json (char *str, size_t len, struct discord_guild_welcome_screen_channel ***p)
 
size_t discord_guild_welcome_screen_channel_list_to_json_v (char *str, size_t len, void *p)
 
size_t discord_guild_welcome_screen_channel_list_to_json (char *str, size_t len, struct discord_guild_welcome_screen_channel **p)
 

Detailed Description

Specs generated file.

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