informix
DataBlade Developers Kit User's Guide
Programming DataBlade Module Routines in C

Source Files Generated by BladeSmith

When you create new objects, BladeSmith generates the source files; some filenames are prefixed with the name of the DataBlade module (indicated by project). By default, BladeSmith creates the source files in the src and src\c subdirectories of the directory that contains the BladeSmith project file. Generated source files are listed in the following table.

Filename Directory Type of File More Information
project.h src\c C header file See C Header File for more information.
support.c udr.c Opaque.c statistics.c src\c C source code file You should edit only the udr.c, Opaque.c, and statistics.c files. See C Source Code Files for more information.
project.def src\c C definition file This file lists the exported routines declared in the source code file.
project.dsp
project.dsw
src Visual C++ files See Microsoft Visual C++ Files for more information.
readme.txt src\c Text file This file describes the files in the src\c directory.
warning.txt src\c Text file This file describes potential problems with your source code. See Warning File for more information.
ProjectU.mak src Makefile Use this file for compiling on UNIX. See Compiling on UNIX for more information.

Some of these files are described in the following subsections.

C Header File

The project.h header file for the DataBlade module contains:

C Source Code Files

The support.c source code file for the DataBlade module project contains:

The udr.c source code file for the DataBlade module project contains function declarations for user-defined C routines, cast support routines, and aggregates in the BladeSmith project.

Each opaque data type has a source code file, Opaque.c, where Opaque is the name of the opaque data type. The Opaque.c source code files contain function definitions for opaque type support routines specified in the DataBlade module project.

The statistics.c source code file for the DataBlade module project contains user-defined statistics support routines for each opaque data type with statistics support.

Microsoft Visual C++ Files

The project.dsp file is the Visual C++ project file that contains the project information for both C and C++/ActiveX code: for example, a list of the source code files. For more information about C++/ActiveX code, see Chapter 6, Creating ActiveX Value Objects.

The project.dsw file is the Visual C++ workspace file that contains workspace information and refers to the project file for project information. You open the project.dsw file to edit and compile your source code.

For more information on compiling using the project.dsw file, see Compiling on Windows NT.

Warning File

The warning.txt file includes the following types of warnings about your source code:

The warning.txt file might contain other warnings, as appropriate for your source code.


DataBlade Developers Kit User's Guide, Version 4.0
Copyright © 1999, Informix Software, Inc. All rights reserved