![]() |
![]() |
![]() |
GNet Network Library Reference Manual | ![]() |
---|---|---|---|---|
#include <gnet.h> #define GNET_EXPORT #define GNET_CHECK_VERSION (major,minor,micro) void gnet_init (void);
The main GNet module provides the function gnet_init()
. This function
should be called at the beginning of any GNet program.
#define GNET_CHECK_VERSION(major,minor,micro)
Checks if the version given is compatable with this version of the library. For example, GNET_CHECK_VERSION(1.2.3) would return TRUE if the version is 1.2.5, and FALSE if 1.1.0. This can be used in build tests.
major : |
Major version number |
minor : |
Minor version number |
micro : |
Micro version number |