cqpserver.c File Reference

#include "server.h"
#include "auth.h"
#include "cqi.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "../cl/cl.h"
#include "../cl/macros.h"
#include "../cqp/cqp.h"
#include "../cqp/options.h"
#include "../cqp/corpmanag.h"
#include "../cqp/groups.h"

Functions

Variables


Function Documentation

char* cqi_field_name ( cqi_byte  field  ) 
void cqi_send_minus_one_list ( int  n  ) 

References cqi_send_int().

Referenced by do_cqi_cqp_dump_subcorpus().

void cqiserver_welcome ( void   ) 

References CQI_MAJOR_VERSION, and CQI_MINOR_VERSION.

Referenced by main().

void do_cqi_cl_alg2cpos ( void   ) 
void do_cqi_cl_attribute_size ( void   ) 
void do_cqi_cl_cpos2alg ( void   ) 
void do_cqi_cl_cpos2id ( void   ) 
void do_cqi_cl_cpos2lbound ( void   ) 
void do_cqi_cl_cpos2rbound ( void   ) 
void do_cqi_cl_cpos2str ( void   ) 
void do_cqi_cl_cpos2struc ( void   ) 
void do_cqi_cl_drop_attribute ( void   ) 

References cqi_general_error(), and server_debug.

Referenced by interpreter().

void do_cqi_cl_id2cpos ( void   ) 
void do_cqi_cl_id2freq ( void   ) 
void do_cqi_cl_id2str ( void   ) 
void do_cqi_cl_idlist2cpos ( void   ) 
void do_cqi_cl_lexicon_size ( void   ) 
void do_cqi_cl_regex2id ( void   ) 
void do_cqi_cl_str2id ( void   ) 
void do_cqi_cl_struc2cpos ( void   ) 
void do_cqi_cl_struc2str ( void   ) 
void do_cqi_corpus_attributes ( int  type  ) 
void do_cqi_corpus_charset ( void   ) 
void do_cqi_corpus_full_name ( void   ) 
void do_cqi_corpus_list_corpora ( void   ) 
void do_cqi_corpus_properties ( void   ) 
void do_cqi_corpus_structural_attribute_has_values ( void   ) 
void do_cqi_cqp_drop_subcorpus ( void   ) 
void do_cqi_cqp_dump_subcorpus ( void   ) 
void do_cqi_cqp_fdist_1 ( void   ) 
void do_cqi_cqp_fdist_2 ( void   ) 
void do_cqi_cqp_list_subcorpora ( void   ) 
void do_cqi_cqp_query ( void   ) 
void do_cqi_cqp_subcorpus_has_field ( void   ) 
void do_cqi_cqp_subcorpus_size ( void   ) 
void internal_error ( char *  function,
char *  reason 
)
void interpreter ( void   ) 

References ATT_ALIGN, ATT_POS, ATT_STRUC, CQI_ASK_FEATURE, CQI_ASK_FEATURE_CL_2_3, CQI_ASK_FEATURE_CQI_1_0, CQI_ASK_FEATURE_CQP_2_3, CQI_CL, CQI_CL_ALG2CPOS, CQI_CL_ATTRIBUTE_SIZE, CQI_CL_CPOS2ALG, CQI_CL_CPOS2ID, CQI_CL_CPOS2LBOUND, CQI_CL_CPOS2RBOUND, CQI_CL_CPOS2STR, CQI_CL_CPOS2STRUC, CQI_CL_DROP_ATTRIBUTE, CQI_CL_ID2CPOS, CQI_CL_ID2FREQ, CQI_CL_ID2STR, CQI_CL_IDLIST2CPOS, CQI_CL_LEXICON_SIZE, CQI_CL_REGEX2ID, CQI_CL_STR2ID, CQI_CL_STRUC2CPOS, CQI_CL_STRUC2STR, cqi_command(), CQI_CONST_NO, CQI_CONST_YES, CQI_CORPUS, CQI_CORPUS_ALIGNMENT_ATTRIBUTES, CQI_CORPUS_CHARSET, CQI_CORPUS_FULL_NAME, CQI_CORPUS_LIST_CORPORA, CQI_CORPUS_POSITIONAL_ATTRIBUTES, CQI_CORPUS_PROPERTIES, CQI_CORPUS_STRUCTURAL_ATTRIBUTE_HAS_VALUES, CQI_CORPUS_STRUCTURAL_ATTRIBUTES, CQI_CQP, CQI_CQP_DROP_SUBCORPUS, CQI_CQP_DUMP_SUBCORPUS, CQI_CQP_FDIST_1, CQI_CQP_FDIST_2, CQI_CQP_LIST_SUBCORPORA, CQI_CQP_QUERY, CQI_CQP_SUBCORPUS_HAS_FIELD, CQI_CQP_SUBCORPUS_SIZE, CQI_CTRL, CQI_CTRL_BYE, CQI_CTRL_CONNECT, CQI_CTRL_LAST_GENERAL_ERROR, CQI_CTRL_PING, CQI_CTRL_USER_ABORT, cqi_data_bool(), cqi_data_string(), cqi_error_string, cqi_read_command(), CQI_STATUS_BYE_OK, CQI_STATUS_PING_OK, do_cqi_cl_alg2cpos(), do_cqi_cl_attribute_size(), do_cqi_cl_cpos2alg(), do_cqi_cl_cpos2id(), do_cqi_cl_cpos2lbound(), do_cqi_cl_cpos2rbound(), do_cqi_cl_cpos2str(), do_cqi_cl_cpos2struc(), do_cqi_cl_drop_attribute(), do_cqi_cl_id2cpos(), do_cqi_cl_id2freq(), do_cqi_cl_id2str(), do_cqi_cl_idlist2cpos(), do_cqi_cl_lexicon_size(), do_cqi_cl_regex2id(), do_cqi_cl_str2id(), do_cqi_cl_struc2cpos(), do_cqi_cl_struc2str(), do_cqi_corpus_attributes(), do_cqi_corpus_charset(), do_cqi_corpus_full_name(), do_cqi_corpus_list_corpora(), do_cqi_corpus_properties(), do_cqi_corpus_structural_attribute_has_values(), do_cqi_cqp_drop_subcorpus(), do_cqi_cqp_dump_subcorpus(), do_cqi_cqp_fdist_1(), do_cqi_cqp_fdist_2(), do_cqi_cqp_list_subcorpora(), do_cqi_cqp_query(), do_cqi_cqp_subcorpus_has_field(), do_cqi_cqp_subcorpus_size(), server_debug, unknown_command_error(), and wrong_command_error().

Referenced by main().

int main ( int  argc,
char *  argv[] 
)
int query_has_semicolon ( char *  query  ) 

Referenced by do_cqi_cqp_query().

void send_cl_error ( void   ) 
void send_cqi_corpus_attributes ( Corpus c,
int  type 
)
void unknown_command_error ( int  cmd  ) 

Referenced by interpreter().

void wrong_command_error ( int  cmd  ) 

Referenced by interpreter(), and main().


Variable Documentation

char * passwd = ""
char* user = ""

Generated on Sun Feb 28 18:08:04 2010 for CWB by  doxygen 1.6.1