-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnpp_app.h
54 lines (34 loc) · 1.45 KB
/
npp_app.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
/* --------------------------------------------------------------------------
Node++ Web App
Jurek Muszynski
nodepp.org
-----------------------------------------------------------------------------
Hello World Sample Node++ Web Application
-------------------------------------------------------------------------- */
#ifndef NPP_APP_H
#define NPP_APP_H
#define NPP_APP_NAME "Sample Node++ App"
#define NPP_APP_DOMAIN "example.com"
#define NPP_APP_DESCRIPTION "Sample Node++ Web Application"
/* List of additional C/C++ modules to compile. They have to be one-liners */
#define NPP_APP_MODULES ""
#define NPP_SVC_MODULES NPP_APP_MODULES
/* These are the most common switches */
/* The full list is at https://github.com/rekmus/nodepp/wiki/Node++-switches-and-constants */
/* uncomment to enable HTTPS */
//#define NPP_HTTPS
/* uncomment to enable sessions */
//#define NPP_REQUIRED_AUTH_LEVEL AUTH_LEVEL_ANONYMOUS
/* uncomment to enable MySQL connection */
//#define NPP_MYSQL
/* uncomment to enable USERS module */
//#define NPP_USERS
/* uncomment to enable CALL_ASYNC (multi-process) */
//#define NPP_ASYNC
//#define NPP_DEBUG
/* app session data */
/* accessible via SESSION_DATA macro */
typedef struct {
char dummy; // replace with your own struct members
} app_session_data_t;
#endif /* NPP_APP_H */