File: getError.h

package info (click to toggle)
dpm-postgres 1.7.4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 13,788 kB
  • ctags: 10,782
  • sloc: ansic: 146,136; sh: 13,362; perl: 11,142; python: 5,529; cpp: 5,113; sql: 1,790; makefile: 955; fortran: 113
file content (19 lines) | stat: -rwxr-xr-x 732 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>
#include <math.h>
#include <ctime>
//#include "DBparam.h"

#define MINSTRINGLEN 50
#define ERROR_BUFFER 200
#define MAXROWS 10000
static char logfilename[100]="UpdateACLForMySQL_logfile.log";
void GetErrorMess(const char* ApplicName, const char* logMess,char* errMessg, int errnum);
void Format_output(int output_oraclecode, char* attribute_value, char* logmessage, char separator);
void MinStringLength(int &actual_len);
void WriteToLogFile(char* appliName,  char* statement);
void ErrorExit(const char* FctName,const char* logMess,char* ErrMess, int errnum);
int getLoginUser(char* username,int len_host,char* ErrorMess);
int getTerminalName(char* hostname,int len_host,char* ErrorMess);