Defines | Functions | Variables

cifopen.c File Reference

#include <cif.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "cif_int.h"
Include dependency graph for cifopen.c:

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

Define Documentation

#define CIF_VERSION   3

Definition at line 50 of file cifopen.c.

#define DEFGLOBAL

Definition at line 64 of file cifopen.c.

#define HDRBUF_SIZE   128

Definition at line 75 of file cifopen.c.

#define HDRTOKENS   10

Definition at line 76 of file cifopen.c.


Function Documentation

int Cif_Open ( char *  filename,
char *  optype,
int *  rtypes,
int  version 
)
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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

int fileno ( FILE *  stream  ) 
char* strdup ( const char *  s  ) 

Variable Documentation

int _cif_version = 0
char USMID[] = "@(#) libcif/cifopen.c 30.6 05/22/97 11:49:31" [static]

Definition at line 37 of file cifopen.c.