Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
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 /* size of buffer used to read the file header */
#define HDRTOKENS   10 /* number of tokens in header before tools field */

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 /* size of buffer used to read the file header */

Definition at line 75 of file cifopen.c.

Referenced by Cif_Open().

#define HDRTOKENS   10 /* number of tokens in header before tools field */

Definition at line 76 of file cifopen.c.


Function Documentation

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, 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_Open(), and CIF_SUB_VERSION_2.

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_Open(), and CIF_SUB_VERSION_3.

Referenced by Cif_Cifconv(), and Cif_Lines().

Here is the call graph for this function:

char* strdup ( const char *  s)

Variable Documentation

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

Definition at line 37 of file cifopen.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines