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

vcn38.cpp File Reference


Detailed Description

main function and core functions of the Backint for MaxDB/ Backint for Oracle adapter

Author:
TiloH

Definition in file vcn38.cpp.

#include <stdio.h>
#include <limits.h>
#include <time.h>
#include "SAPDBCommon/SAPDB_string.h"
#include "hcn38.h"
#include "hcn382.h"
#include "hcn383.h"
#include "hcn384.h"
#include "hcn36.h"
#include "hcn385.h"
#include "hcn386.h"

Go to the source code of this file.

Classes

class  tcn38_AParamFileInfo
struct  tcn38_ParamFileEntry
class  tcn38_ThisProgramParameters

Functions

void cn38_AdjustDestinationNamesForFiles (ni31_List< tcn381_InputEntry * > &TheInputFileList, int UseFinalDirectoryDelimiterOnRestore)
static int cn38_CheckStagingAreasOfInputEntries (ni31_List< tcn381_InputEntry * > &TheInputFileList)
static void cn38_CleanUp (ni31_List< tcn381_InputEntry * > &TheInputFileList, ni31_List< tcn381_OutputLine * > &TheOutputLineList)
static int cn38_CreateOutputForBackupRestoreAndDelete (ni31_List< tcn381_InputEntry * > &TheInputFileList, const char *FunctionString, ni31_List< tcn381_OutputLine * > &OutputLineList, int NoErrorSoFar)
static int cn38_DoABackup (const tcn38_AParamFileInfo &TheParamFileInfo, ni31_List< tcn381_InputEntry * > &TheInputFileList, const char *UserID, ni31_List< tcn381_OutputLine * > &TheOutputLineList, tcn386_BackintOut &Output)
static int cn38_DoADelete (ni31_List< tcn381_InputEntry * > &TheInputFileList, ni31_List< tcn381_OutputLine * > &TheOutputLineList)
static int cn38_DoAInquire (const tcn38_AParamFileInfo &TheParamFileInfo, ni31_List< tcn381_InputEntry * > &TheInputFileList, const char *UserID, ni31_List< tcn381_OutputLine * > &TheOutputLineList, tcn386_BackintOut &Output)
static int cn38_DoARestore (const tcn38_AParamFileInfo &TheParamFileInfo, ni31_List< tcn381_InputEntry * > &TheInputFileList, const char *UserID, ni31_List< tcn381_OutputLine * > &TheOutputLineList, tcn386_BackintOut &Output)
static int cn38_FoundInformationForAllEntries (ni31_List< tcn381_InputEntry * > &TheInputFileList)
static int cn38_GetValueNOfEntry (char *Dest, size_t DestLength, const char *Line, const char *KeyWords)
static int cn38_InitConverterObjects (ni31_List< tcn381_InputEntry * > &TheInputFileList, tcn381_APipeToFileConverter Converter[MAX_STAGING_AREAS_CN38], int &AnswersAvailable, int UseFinalDirectoryDelimiterOnRestore)
static int cn38_ReadInputFile (const char *InputFileName, const tcn38_AParamFileInfo &TheParamFileInfo, ni31_List< tcn381_InputEntry * > &TheFileList, const char *Function, tcn386_BackintOut &Output)
static int cn38_ReadParameterFile (const char *ParameterFileName, tcn38_AParamFileInfo &ParamFileInfo, tcn386_BackintOut &Output)
static int cn38_RemoveFiles (int StartedProcesses, ni31_List< tcn381_InputEntry * > &TheInputFileList)
static int cn38_ShareStagingAreasForInputEntries (ni31_List< tcn381_InputEntry * > &TheInputFileList, int NumberOfStagingAreas, const char *const StagingAreaName[MAX_STAGING_AREAS_CN38], const teo00_Uint8 StagingAreaSize[MAX_STAGING_AREAS_CN38])
static int cn38_WriteOutputFile (tcn386_BackintOut &Output, ni31_List< tcn381_OutputLine * > &TheOutputLineList, const char *Function)
int main (int argc, const char *const *argv)

Variables

static tcn38_ParamFileEntry ParamFileEntries_cn38 []


Generated by  Doxygen 1.6.0   Back to index