FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kSvWeb.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYC_SERVER_WEB_H
9 #define K_FIRESYC_SERVER_WEB_H
10 
12 #include <kApi/Io/kNetwork.h>
13 #include <kApi/Io/kHttpServer.h>
14 
22 //typedef kObject kSvWeb; --forward-declared in kFsDef.x.h
23 
33 kFsFx(kStatus) kSvWeb_Construct(kSvWeb* web, kSvNode node, kAlloc allocator);
34 
35 kFsFx(kStatus) kSvWeb_SetHandler(kSvWeb web, kCallbackFx function, kPointer receiver);
36 
37 kFsFx(kStatus) kSvWeb_SetLocalEndPoint(kSvWeb web, kIpAddress address, k32u port);
38 kFsFx(kIpEndPoint) kSvWeb_LocalEndPoint(kSvWeb web);
39 
40 kFsFx(kStatus) kSvWeb_StartService(kSvWeb web);
41 kFsFx(kStatus) kSvWeb_StopService(kSvWeb web);
42 
43 #include <kFireSync/Server/Network/kSvWeb.x.h>
44 
45 #endif
Provides FireSync node network services and mediates access to node hardware.