WA-SDK  3.0.4.0
WA-SDK
issacwebpro_server_util.h
이 파일의 문서화 페이지로 가기
1 /*
2  * Copyright (C) 2002 PENTA SECURITY SYSTEMS, INC.
3  * All rights reserved
4  *
5  * THIS IS UNPUBLISHED PROPRIETARY
6  * SOURCE CODE OF PENTA SECURITY SYSTEMS, INC.
7  * The copyright notice above does not evidence any actual or intended publication of
8  * such source code.
9  *
10  * Filename : issacwebpro_server_util.h
11  */
12 
13 #ifndef _ISSACWEBPRO_SERVER_UTIL_H
14 #define _ISSACWEBPRO_SERVER_UTIL_H
15 
16 
17 #ifdef PENTA_USE_DLL__WIN32
18  #ifdef __BUILD_DLL
19  #define LIB_FACE __declspec(dllexport)
20  #else
21  #define LIB_FACE
22  #endif
23 #else
24 #ifdef WIN32
25  #ifndef PENTA_BUILD_EXE
26  #define LIB_FACE __declspec(dllimport)
27  #else
28  #define LIB_FACE
29  #endif
30 #else
31  #define LIB_FACE
32 #endif
33 #endif
34 
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 #include "common/inc/issacweb.h"
41 
42 #define MAX_ENTRIES 1000
43 
44 typedef struct {
45  char *name;
46  char *val;
47 } issac_entry;
48 
49 typedef struct {
53 
54 typedef struct {
55  int alloc_len;
56  int used_len;
57  char *buffer;
58 } issac_buf;
59 
60 LIB_FACE int
62  issac_session *session);
63 
64 LIB_FACE char *
66 
67 LIB_FACE char *
69 
70 LIB_FACE void
72 
73 LIB_FACE int
75 
76 LIB_FACE int
77 issacweb_print(issac_string outscript, issac_session *session, char *format, ...);
78 
79 LIB_FACE void
81 
82 LIB_FACE int
83 issacweb_print_to_buffer(issac_buf *buf, const char *format, ...);
84 
85 LIB_FACE int
87 
88 #ifdef __cplusplus
89 }
90 #endif
91 
92 #endif /* _ISSACWEBPRO_SERVER_UTIL_H */
93 
char * issac_string
Definition: issacweb.h:29
LIB_FACE char * issacweb_get_val(issac_string name, issac_entry_array *entry_array)
LIB_FACE int issacweb_print(issac_string outscript, issac_session *session, char *format,...)
LIB_FACE int issacweb_print_start_print_script(issac_string outscript, issac_session *session)
LIB_FACE void issacweb_print_init(issac_buf *buf)
LIB_FACE int issacweb_print_flush(issac_string outscript, issac_buf *buf, issac_session *session)
#define LIB_FACE
Definition: issacwebpro_server_util.h:31
LIB_FACE void issacweb_end_entry_array(issac_entry_array *entry_array)
#define MAX_ENTRIES
Definition: issacwebpro_server_util.h:42
LIB_FACE char * issacweb_get_val_ignore_case(issac_string name, issac_entry_array *entry_array)
LIB_FACE int issacweb_init_entry_array(issac_entry_array *entry_array, issac_string session_data, issac_string enc_data, issac_session *session)
LIB_FACE int issacweb_print_to_buffer(issac_buf *buf, const char *format,...)
Definition: issacwebpro_server_util.h:54
int used_len
Definition: issacwebpro_server_util.h:56
char * buffer
Definition: issacwebpro_server_util.h:57
int alloc_len
Definition: issacwebpro_server_util.h:55
Definition: issacwebpro_server_util.h:49
int numOfEntries
Definition: issacwebpro_server_util.h:51
Definition: issacwebpro_server_util.h:44
char * name
Definition: issacwebpro_server_util.h:45
char * val
Definition: issacwebpro_server_util.h:46
Definition: issacwebpro_common.h:21