#include <cif.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include "cif_int.h"
Go to the source code of this file.
Defines | |
| #define | CIF_VERSION 3 |
| #define | DEFGLOBAL |
| #define | HDRBUF_SIZE 128 |
| #define | HDRTOKENS 10 |
Functions | |
| int | fileno (FILE *stream) |
| char * | strdup (const char *s) |
| int | Cif_Open_V1 (char *filename, char *optype, int *rtypes, int version) |
| int | Cif_Open_V2 (char *filename, char *optype, int *rtypes, int version) |
| int | Cif_Open_V2_1 (char *filename, char *optype, int *rtypes, int version, int sub_version) |
| int | Cif_Open_V3_1 (char *filename, char *optype, int *rtypes, int version, int sub_version) |
| int | Cif_Open (char *filename, char *optype, int *rtypes, int version) |
Variables | |
| static char | USMID [] = "@(#) libcif/cifopen.c 30.6 05/22/97 11:49:31" |
| int | _cif_version = 0 |
| int Cif_Open | ( | char * | filename, | |
| char * | optype, | |||
| int * | rtypes, | |||
| int | version | |||
| ) |
Definition at line 245 of file cifopen.c.
References _Cif_filetbl, _CIF_INT_VERSION, _cif_version, CIF_BADREQ, CIF_BUFSIZE, CIF_EXP_VERS, CIF_FILE_VERS, CIF_FIRST_RECORD, Cif_Getrecord(), CIF_MAXOPENS, CIF_NOMEM, CIF_NOTCIF, Cif_Setpos(), CIF_SRCFILE, CIF_SYSERR, CIF_UNIT, CIFSRC, _Cif_File_Tbl::fd, fd, _Cif_File_Tbl::filename, fileno(), _Cif_File_Tbl::form, fstat, _Cif_File_Tbl::ifull, IO_ERROR, _Cif_File_Tbl::ip, _Cif_File_Tbl::mode, NOT_A_CIF, NULL, _Cif_File_Tbl::return_version, _Cif_File_Tbl::rmask, _Cif_File_Tbl::seek, SEPARATOR, _Cif_File_Tbl::srcfid, stat, strdup, _Cif_File_Tbl::tmp_cif, _Cif_File_Tbl::version, and YES.
Referenced by Cif_Make_Cifconv(), Cif_Make_Lines(), Cif_Open_V1(), Cif_Open_V2(), Cif_Open_V2_1(), Cif_Open_V3_1(), cifconv_type(), copy_units(), lines_type(), and sortfile().

| int Cif_Open_V1 | ( | char * | filename, | |
| char * | optype, | |||
| int * | rtypes, | |||
| int | version | |||
| ) |
Definition at line 104 of file cifopen.c.
References _cif_version, CIF_EXP_VERS, and Cif_Open().

| int Cif_Open_V2 | ( | char * | filename, | |
| char * | optype, | |||
| int * | rtypes, | |||
| int | version | |||
| ) |
Definition at line 136 of file cifopen.c.
References _cif_version, CIF_EXP_VERS2, and Cif_Open().
Referenced by Cif_Cifconv(), and Cif_Lines().

| int Cif_Open_V2_1 | ( | char * | filename, | |
| char * | optype, | |||
| int * | rtypes, | |||
| int | version, | |||
| int | sub_version | |||
| ) |
Definition at line 170 of file cifopen.c.
References _cif_version, CIF_EXP_VERS2, Cif_Open(), CIF_SUB_VERSION_2, and CIF_SUBVER.

| int Cif_Open_V3_1 | ( | char * | filename, | |
| char * | optype, | |||
| int * | rtypes, | |||
| int | version, | |||
| int | sub_version | |||
| ) |
Definition at line 204 of file cifopen.c.
References _cif_version, CIF_EXP_VERS2, Cif_Open(), CIF_SUB_VERSION_3, and CIF_SUBVER.
Referenced by Cif_Cifconv(), and Cif_Lines().

| int fileno | ( | FILE * | stream | ) |
Referenced by _do_open(), _f_open(), _f_opn(), _pr_echomsg(), _unit_trunc(), cal_wch(), Cif_Open(), pr_msg(), s_paus(), Same_File(), and ux_fileno().
| char* strdup | ( | const char * | s | ) |
| int _cif_version = 0 |
Definition at line 88 of file cifopen.c.
Referenced by Cif_Cifconv(), Cif_Cifconv_V2_1(), Cif_Cifconv_V3_1(), Cif_Duplicate(), Cif_Free(), Cif_Lines(), Cif_Lines_V2_1(), Cif_Lines_V3_1(), Cif_Msginsert(), Cif_Open(), Cif_Open_V1(), Cif_Open_V2(), Cif_Open_V2_1(), Cif_Open_V3_1(), and comp_stmt_type().
1.7.1