utils

grenum.c File Reference

#include "version.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include "grenum.h"
Include dependency graph for grenum.c:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
int get_refdes_from_file (FILE *fp, struct refdes_ *refdes, char *buff)
int seek_value (int prefix, FILE *fp, unsigned int value, struct refdes_ *db)
int parse_refdes (struct refdes_ *refdes, char *ref_str)
int refdes_lookup (struct refdes_ *db, struct refdes_ *ref)
void printhelp ()
void printver ()

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 52 of file grenum.c.

int get_refdes_from_file ( FILE *  fp,
struct refdes_ refdes,
char *  buff 
)

Definition at line 252 of file grenum.c.

Here is the call graph for this function:

int seek_value ( int  prefix,
FILE *  fp,
unsigned int  value,
struct refdes_ db 
)

Definition at line 272 of file grenum.c.

Here is the call graph for this function:

int parse_refdes ( struct refdes_ refdes,
char *  ref_str 
)

Definition at line 293 of file grenum.c.

int refdes_lookup ( struct refdes_ db,
struct refdes_ ref 
)

Definition at line 355 of file grenum.c.

void printhelp ( void  )

Definition at line 372 of file grenum.c.

Here is the call graph for this function:

void printver ( void  )

Definition at line 393 of file grenum.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines