Shadow Network Framework  0.0.2-alpha
C Server Library for Shadow Network Framework
Loading...
Searching...
No Matches
cmds.h
Go to the documentation of this file.
1////////////////////////////////////////////////////////////////////
2///
3/// \file cmds.h
4/// This file is used to define functions that would be called
5/// either by default or Base Command OPCode's Functions
6///
7///
8///
9/// \warning Do not call any function defined here manually
10///
11///////////////////////////////////////////////////////////////////
12
13
14#include <SNF/SNF.h>
15#include <SNF/request.h>
16/// @brief Called when an opcode command has been called by the client that must'nt be called
17/// @param SNF_RQST Client's Original Request
18/// @return The Request to be Sent
20/// @brief Called when the client has called an opcode that isn't registred on the server
21/// @param SNF_RQST Client's Original Request
22/// @return The Request to be Sent
24/// @brief Called when the client has called a registred opcode, but has no function to call in the server
25/// @param SNF_RQST Client's Original Request
26/// @return The Request to be Sent
28
29/// @brief Called when the client requests the server's version
30/// @param SNF_RQST Client's Original Request
31/// @return The Request to be Sent
Main Header FileThis File Calls for all the header files exisitng in this library,...
SNF_RQST * snf_cmd_invalid_unregistred(SNF_RQST *)
Called when the client has called an opcode that isn't registred on the server.
SNF_RQST * snf_cmd_snf_ver(SNF_RQST *)
Called when the client requests the server's version.
SNF_RQST * snf_cmd_invalid_unimplemented(SNF_RQST *)
Called when the client has called a registred opcode, but has no function to call in the server.
SNF_RQST * snf_cmd_invalid_error_protocol(SNF_RQST *)
Called when an opcode command has been called by the client that must'nt be called.
This file Defines everything related to handling Requests.
The Structure for saving Requests.
Definition request.h:27