Install rules IDK

I HATE GIT
This commit is contained in:
LDA 2024-08-06 15:01:27 +02:00
commit a92e3daafa
8 changed files with 79 additions and 35 deletions

View file

@ -30,14 +30,33 @@ extern bool ASRegisterUser(const ParseeConfig *, char *);
/* Pings the homeserver to get attention. */
extern void ASPing(const ParseeConfig *);
/* Joins a room from an ID and a given user we want to masquerade
* as. */
extern char * ASJoin(const ParseeConfig *, char *, char *);
/** Joins a room from an {id} and a given {user} we want to masquerade
* as.
* --------------
* Returns: the decoded room ID that was joined[HEAP] | NULL
* Modifies: the rooms/{user}s inner state */
extern char * ASJoin(const ParseeConfig *config, char *id, char *user);
/* Bans from a room a specific user */
extern void ASBan(const ParseeConfig *, char *, char *);
extern void ASKick(const ParseeConfig *, char *, char *);
extern void ASLeave(const ParseeConfig *, char *, char *);
/** Bans from a room a specific user
* ---------------------
* Returns: NOTHING
* Modifies: the rooms state
* See-Also: ASJoin, ASKick, ASLeave */
extern void ASBan(const ParseeConfig *config, char *room, char *user);
/** Kicks from a room a specific user
* ---------------------
* Returns: NOTHING
* Modifies: the rooms state
* See-Also: ASJoin, ASBan, ASLeave */
extern void ASKick(const ParseeConfig *, char *room, char *user);
/** Makes a specific user leave the room
* ---------------------
* Returns: NOTHING
* Modifies: the rooms state
* See-Also: ASJoin, ASKick, ASBan */
extern void ASLeave(const ParseeConfig *config, char *room, char *user);
/* Invites from a room a specific user */
extern void ASInvite(const ParseeConfig *, char *, char *);