Orca
A bot framework that is easy to reason about, easy to debug, and easy to use.
invite.endpoints-params.h
Go to the documentation of this file.
1 /* This file is generated from specs/discord/invite.endpoints-params.json, Please don't edit it. */
18  /* specs/discord/invite.endpoints-params.json:13:20
19  '{ "name": "with_counts", "type":{ "base":"bool" }, "comment":"whether the invite should contain approximate member counts"}' */
20  bool with_counts; // whether the invite should contain approximate member counts
21 
22  /* specs/discord/invite.endpoints-params.json:14:20
23  '{ "name": "with_expiration", "type":{ "base":"bool" }, "comment":"whether the invite should contain the expiration date"}' */
24  bool with_expiration; // whether the invite should contain the expiration date
25 
26  // The following is metadata used to
27  // 1. control which field should be extracted/injected
28  // 2. record which field is presented(defined) in JSON
29  // 3. record which field is null in JSON
31  struct {
32  bool enable_arg_switches;
33  bool enable_record_defined;
34  bool enable_record_null;
35  void *arg_switches[2];
36  void *record_defined[2];
37  void *record_null[2];
38  } __M; // metadata
40 };
41 extern void discord_get_invite_params_cleanup_v(void *p);
42 extern void discord_get_invite_params_cleanup(struct discord_get_invite_params *p);
43 extern void discord_get_invite_params_init_v(void *p);
44 extern void discord_get_invite_params_init(struct discord_get_invite_params *p);
45 extern struct discord_get_invite_params * discord_get_invite_params_alloc();
46 extern void discord_get_invite_params_free_v(void *p);
47 extern void discord_get_invite_params_free(struct discord_get_invite_params *p);
48 extern void discord_get_invite_params_from_json_v(char *json, size_t len, void *p);
49 extern void discord_get_invite_params_from_json(char *json, size_t len, struct discord_get_invite_params *p);
50 extern size_t discord_get_invite_params_to_json_v(char *json, size_t len, void *p);
51 extern size_t discord_get_invite_params_to_json(char *json, size_t len, struct discord_get_invite_params *p);
52 extern size_t discord_get_invite_params_to_query_v(char *json, size_t len, void *p);
53 extern size_t discord_get_invite_params_to_query(char *json, size_t len, struct discord_get_invite_params *p);
54 extern void discord_get_invite_params_list_free_v(void **p);
55 extern void discord_get_invite_params_list_free(struct discord_get_invite_params **p);
56 extern void discord_get_invite_params_list_from_json_v(char *str, size_t len, void *p);
57 extern void discord_get_invite_params_list_from_json(char *str, size_t len, struct discord_get_invite_params ***p);
58 extern size_t discord_get_invite_params_list_to_json_v(char *str, size_t len, void *p);
59 extern size_t discord_get_invite_params_list_to_json(char *str, size_t len, struct discord_get_invite_params **p);
discord_get_invite_params
Get Invite.
Definition: invite.endpoints-params.h:17