-
Notifications
You must be signed in to change notification settings - Fork 3
/
mako.h
64 lines (59 loc) · 2.35 KB
/
mako.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* ____ _________ __ _
* / __ \___ ____ _/ /_ __(_)___ ___ ___ / / ____ ____ _(_)____
* / /_/ / _ \/ __ `/ / / / / / __ `__ \/ _ \/ / / __ \/ __ `/ / ___/
* / _, _/ __/ /_/ / / / / / / / / / / / __/ /___/ /_/ / /_/ / / /__
* /_/ |_|\___/\__,_/_/ /_/ /_/_/ /_/ /_/\___/_____/\____/\__, /_/\___/
* /____/
*
* Barracuda Embedded Web-Server
*
****************************************************************************
* HEADER
*
* $Id: mako.h 2820 2013-01-24 18:16:26Z wini $
*
* COPYRIGHT: Real Time Logic, 2012
*
* This software is copyrighted by and is the sole property of Real
* Time Logic LLC. All rights, title, ownership, or other interests in
* the software remain the property of Real Time Logic LLC. This
* software may only be used in accordance with the terms and
* conditions stipulated in the corresponding license agreement under
* which the software has been supplied. Any unauthorized use,
* duplication, transmission, distribution, or disclosure of this
* software is expressly forbidden.
*
* This Copyright notice may not be removed or modified without prior
* written consent of Real Time Logic LLC.
*
* Real Time Logic LLC. reserves the right to modify this software
* without notice.
*
* http://www.realtimelogic.com
****************************************************************************
*
*
*/
#ifdef USE_AMALGAMATED_BAS
#include "barracuda.h"
#else
#include <HttpServer.h>
#endif
#define APPNAME "mako"
void makoprintf(int isErr,const char* fmt, ...);
void makovprintf(int isErr,const char* fmt, va_list argList);
void setDispExit(void);
void sendFatalError(const char* eMsg,
BaFatalErrorCodes ecode1,
unsigned int ecode2,
const char* file,
int line);
void errQuit(const char* fmt, ...);
#ifdef _WIN32
#define SERVICENAME "mako"
void runMako(int isWinService,int argc, char* argv[], char* envp[]);
void mustBeAdmin(void);
void instalMakoEventSource(void);
int prtok(int ok, const char* okmsg);
#endif