$Revision: 1.24 $
Query command module (qc)
Status: NOT REVUED, TESTED
Included Files
- #include "include/sk.h"
- #include "include/stubs.h"
- #include <stdlib.h>
- #include <stdio.h>
- #include <ctype.h>
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <netinet/in.h>
- #include <netdb.h>
- #include <pthread.h>
- #include <stdlib.h>
- #include <errno.h>
- #include <fcntl.h>
- #include <signal.h>
- #include <stdio.h>
- #include "include/iproutines.h"
- #include <sys/types.h>
- #include <glib.h>
- #include <include/inet6def.h>
- #include <include/erroutines.h>
Preprocessor definitions
#define READ_QUERY_COMMAND
#define USAGE
#define QC_Q_SOURCES 0
#define QC_Q_VERSION 1
typedef enum {...} qc_qtype_t
enum |
|
{ |
|
QC_EMPTY; |
|
QC_PARERR; |
|
QC_SYNERR; |
|
QC_NOKEY; |
|
QC_TEMPLATE; |
|
QC_HELP; |
|
QC_REAL; |
|
QC_FILTERED; |
|
QC_TYPE_MAX; |
|
} |
|
typedef struct Query_environ_t Query_environ
struct Query_environ_t |
|
{ |
|
sk_conn_st condat; |
|
unsigned int k; |
|
GList* sources_list; |
|
char* version; |
|
ip_addr_t pIP; |
|
} |
|
typedef struct Query_command_t Query_command
struct Query_command_t |
|
{ |
|
qc_qtype_t query_type; |
|
int d; |
|
int e; |
|
int fast; |
|
int g; |
|
mask_t inv_attrs_bitmap; |
|
int recursive; |
|
int l; |
|
int m; |
|
int q; |
|
int t; |
|
int v; |
|
int x; |
|
int filtered; |
|
int L; |
|
int M; |
|
int R; |
|
int S; |
|
mask_t object_type_bitmap; |
|
mask_t keytypes_bitmap; |
|
char* keys; |
|
} |
|