-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove context parameter being passed everywhere
Remove useless features like send function and handler callbacks Factorize validation globals in global context
- Loading branch information
1 parent
e258d77
commit 8708faa
Showing
44 changed files
with
855 additions
and
953 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
#ifndef _CHECK_ASSET_IN_H_ | ||
#define _CHECK_ASSET_IN_H_ | ||
#pragma once | ||
|
||
#include "swap_app_context.h" | ||
#include "send_function.h" | ||
#include "commands.h" | ||
|
||
int check_asset_in(swap_app_context_t *ctx, const command_t *cmd, SendFunction send); | ||
|
||
#endif // _CHECK_ASSET_IN_H_ | ||
int check_asset_in(const command_t *cmd); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
#ifndef _CHECK_PARTNER_H_ | ||
#define _CHECK_PARTNER_H_ | ||
#pragma once | ||
|
||
#include "swap_app_context.h" | ||
#include "send_function.h" | ||
#include "commands.h" | ||
|
||
int check_partner(swap_app_context_t *ctx, const command_t *cmd, SendFunction send); | ||
|
||
#endif // _CHECK_PARTNER_H_ | ||
int check_partner(const command_t *cmd); |
Oops, something went wrong.