Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

ven12.c File Reference


Detailed Description

Client RunTime: sqlarg3/sqlargs.

Author:
JoergM
See also:

Definition in file ven12.c.

#include <ctype.h>
#include "gen00.h"
#include "heo00.h"
#include "heo46.h"
#include "gen13.h"
#include "geo001.h"
#include "geo57.h"
#include "hsp77.h"
#include "hsp78_0.h"
#include "hsp81.h"
#include "hsp83.h"
#include "heo13.h"
#include <ptoc.h>

Go to the source code of this file.

Classes

struct  old_sql_arg_line

Defines

#define CLRBIT(b, i)
#define double_seperator   "illegal seperator sequence "
#define illegal_argument   "illegal argument string "
#define illegal_dialog_obj   "illegal component object "
#define MAX_IDENT_CNT   3
#define maxargcnt   MX_LINE / 2
#define MF__   MOD__"check_idents"
#define missing_quote   "missing quote in your argument string "
#define MOD__   "ven12.c:"
#define no_comp_specified   "no component specified "
#define no_valid_option   "no valid option "
#define OPT_AND_ARG_CNT   25
#define PUTBIT(b, i)
#define toupper(x)   (x>='a'&&x<='z'?x-'a'+'A':x)
#define TSTBIT(b, i)
#define unknown_error   "unknown error "
#define wrong_option_sequence   "wrong option sequence "

Functions

static void args_init (struct tsp4_xuser_record *user_params, tsp00_Pw password, tsp4_xuserset xusertype)
static void args_init ()
static bool Ascii8Copy (unsigned char *destAscii8, const unsigned short *srcUCS2, int srcLen)
static void audit_args_init (struct tsp4_args_options *options)
static void audit_args_init ()
static void audit_opt_analysis (struct tsp4_xuser_record *user_params, tsp00_Pw password, struct tsp4_args_options *options, tsp4_xuserset xusertype, tsp00_Bool *ok, tsp00_ErrText errtext)
static void audit_opt_analysis ()
static void check_idents (sep, icnt, ok, errtext)
static void check_idents ()
static void dcomp_args_init (struct tsp4_args_options *options)
static void dcomp_args_init ()
static void dcomp_opt_analysis (struct tsp4_xuser_record *user_params, tsp00_Pw password, struct tsp4_args_options *options, tsp4_xuserset xusertype, tsp00_Bool *ok, tsp00_ErrText errtext)
static void dcomp_opt_analysis ()
static void mk_a_line (arg_in, arg_in_ind, line_length, separator, arg_out_ind, arg_out)
static void mk_a_line ()
static void mk_argl (o_char)
static void mk_argl ()
static void mk_args (int o_char, tsp4_component component, struct tsp4_xuser_record *user_params, struct tsp4_args_options *options, tsp4_xuserset xusertype, tsp00_ErrText errtext, tsp00_Bool *ok)
static void mk_audit_cntrl (options)
static void mk_audit_cntrl ()
static void mk_audit_log_blocksize (options)
static void mk_audit_log_blocksize ()
static void mk_audit_logfile (options)
static void mk_audit_logfile ()
static void mk_audit_output (options)
static void mk_audit_output ()
static void mk_cachelimit (struct tsp4_xuser_record *user_params, tsp4_xuserset xusertype)
static void mk_cachelimit ()
static void mk_cmd (cmd_type)
static void mk_cmd ()
static void mk_dbid (struct tsp4_xuser_record *user_params, tsp4_xuserset xusertype)
static void mk_dbid ()
static void mk_dblang (struct tsp4_xuser_record *user_params, tsp4_xuserset xusertype)
static void mk_dblang ()
static void mk_dbname ()
static void mk_dbnode (struct tsp4_xuser_record *user_params, tsp4_xuserset xusertype)
static void mk_dbnode ()
static void mk_dcomp_b_fn (struct tsp4_args_options *options)
static void mk_dcomp_b_fn ()
static void mk_dcomp_b_obj (struct tsp4_args_options *options, tsp00_Bool *ok, tsp00_ErrText errtext)
static void mk_dcomp_b_obj ()
static void mk_dcomp_code_type (options)
static void mk_dcomp_code_type ()
static void mk_dcomp_export (options)
static void mk_dcomp_export ()
static void mk_dcomp_import (options)
static void mk_dcomp_import ()
static void mk_dcomp_object (struct tsp4_args_options *options, tsp00_Bool *ok, tsp00_ErrText errtext)
static void mk_dcomp_object ()
static void mk_dcomp_r_fn (struct tsp4_args_options *options)
static void mk_dcomp_r_fn ()
static void mk_dcomp_r_obj (struct tsp4_args_options *options, tsp00_Bool *ok, tsp00_ErrText errtext)
static void mk_dcomp_r_obj ()
static void mk_isolation (struct tsp4_xuser_record *user_params, tsp4_xuserset xusertype)
static void mk_isolation ()
static void mk_my_args (int o_char, tsp4_component component, struct tsp4_xuser_record *user_params, struct tsp4_args_options *options, tsp4_xuserset xusertype, tsp00_ErrText errtext, tsp00_Bool *ok)
static void mk_pc_rt_mfetch (struct tsp4_args_options *options)
static void mk_pc_rt_mfetch ()
static void mk_pc_rt_rstmt_cnt (struct tsp4_args_options *options)
static void mk_pc_rt_rstmt_cnt ()
static void mk_pc_rt_rtime_limit (struct tsp4_args_options *options)
static void mk_pc_rt_rtime_limit ()
static void mk_pc_rt_trace_fn (struct tsp4_args_options *options)
static void mk_pc_rt_trace_fn ()
static void mk_prec_cansi (struct tsp4_args_options *options)
static void mk_prec_cansi ()
static void mk_prec_datetime (struct tsp4_args_options *options)
static void mk_prec_datetime ()
static void mk_prec_input_fn (struct tsp4_args_options *options)
static void mk_prec_input_fn ()
static void mk_prec_margin (struct tsp4_args_options *options)
static void mk_prec_margin ()
static void mk_prec_mode (struct tsp4_args_options *options)
static void mk_prec_mode ()
static void mk_prec_packetsize (struct tsp4_args_options *options)
static void mk_prec_packetsize ()
static void mk_prec_prog_fn (struct tsp4_args_options *options)
static void mk_prec_prog_fn ()
static void mk_prec_sys_tpmon (struct tsp4_args_options *options)
static void mk_prec_sys_tpmon ()
static void mk_prec_trace_fn (struct tsp4_args_options *options)
static void mk_prec_trace_fn ()
static void mk_prec_unicode (struct tsp4_args_options *options)
static void mk_prec_unicode ()
static void mk_sqlmode (struct tsp4_xuser_record *user_params, tsp4_xuserset xusertype)
static void mk_sqlmode ()
static void mk_timeout (struct tsp4_xuser_record *user_params, tsp4_xuserset xusertype)
static void mk_timeout ()
static void mk_user_pass_l ()
static void mk_user_passwd (struct tsp4_xuser_record *user_params, tsp00_Pw password, tsp00_Bool *ok, tsp00_ErrText errtext)
static void mk_user_passwd ()
static void mk_userkey (struct tsp4_xuser_record *user_params, tsp4_xuserset xusertype, tsp00_ErrText errtext, tsp00_Bool *ok)
static void mk_userkey (struct tsp4_xuser_record *user_params, tsp4_xuserset xusertype, tsp00_Bool *ok, tsp00_ErrText errtext)
static void mk_userx_b_fn (options)
static void mk_userx_b_fn ()
static void move_toupper (str, string_size)
static void move_toupper ()
static void pc_rt_args_init (struct tsp4_args_options *options)
static void pc_rt_args_init ()
static void pc_rt_opt_analysis (struct tsp4_xuser_record *user_params, tsp00_Pw password, struct tsp4_args_options *options, tsp4_xuserset xusertype, tsp00_Bool *ok, tsp00_ErrText errtext)
static void pc_rt_opt_analysis ()
static void prec_args_init (struct tsp4_args_options *options)
static void prec_args_init ()
static void prec_opt_analysis (struct tsp4_xuser_record *user_params, tsp00_Pw password, struct tsp4_args_options *options, tsp4_xuserset xusertype, tsp00_Bool *ok, tsp00_ErrText errtext)
static void prec_opt_analysis ()
void sql03_split_dbname ()
static void sql12_build_arg_line_from_struct (args)
static void sql12_build_arg_line_from_struct ()
global void sqlarg3 (struct tsp4_xuser_record *user_params, tsp00_Pw password, struct tsp4_args_options *options, tsp4_xuserset xusertype, tsp00_ErrText errtext, tsp00_Bool *ok)
global void sqlargl (args)
global void sqlargl (tsp00_Line args)
global void sqlargs (args)
global void sqlargs (tsp00_Line args)
static int str_chr (s1, c, beg, end)
static int str_chr ()
static int str_len (str, len)
static int str_len ()
static void userx_args_init (struct tsp4_args_options *options)
static void userx_args_init ()
static void userx_opt_analysis (struct tsp4_xuser_record *user_params, tsp00_Pw password, struct tsp4_args_options *options, tsp4_xuserset xusertype, tsp00_Bool *ok, tsp00_ErrText errtext)
static void userx_opt_analysis ()

Variables

&if $COMP
static int argc = 0
static tsp00_Bool arguments_found = FALSE
static char ** argv = ((char **)NULL)
static tsp00_Bool cmd_found = FALSE
struct {
   long   i_len [MAX_IDENT_CNT]
   tsp00_Bool   i_tup [MAX_IDENT_CNT]
   char *   ident [MAX_IDENT_CNT]
ctu
static tsp00_Bool dbname_found = FALSE
static tsp00_Bool env_dblang_found = FALSE
static tsp00_Bool env_dbname_found = FALSE
static tsp00_Bool filename_found = FALSE
static int my_argc = 0
static char * my_argv [OPT_AND_ARG_CNT]
char * optarg
int opterr
int optind
static tsp00_Bool password_found = FALSE
static old_sql_arg_line sal
static tsp00_Bool username_found = FALSE


Generated by  Doxygen 1.6.0   Back to index