gnetlist

parsecmd.c File Reference

#include <config.h>
#include <version.h>
#include <missing.h>
#include <stdio.h>
#include <libgeda/libgeda.h>
#include "../include/globals.h"
#include "../include/prototype.h"
Include dependency graph for parsecmd.c:

Go to the source code of this file.

Defines

#define OPTIONS   "c:g:hil:L:m:o:O:qvV"

Functions

void usage (char *cmd)
static void version ()
 Print version info and exit.
static SCM catch_handler (void *data, SCM tag, SCM throw_args)
int parse_commandline (int argc, char *argv[])

Variables

char * optarg
int optind

Define Documentation

#define OPTIONS   "c:g:hil:L:m:o:O:qvV"

Definition at line 46 of file parsecmd.c.


Function Documentation

void usage ( char *  cmd)

Definition at line 68 of file parsecmd.c.

static void version ( ) [static]
Function Description
Print gEDA version, and copyright/warranty notices, and exit with exit status 0.

Definition at line 103 of file parsecmd.c.

static SCM catch_handler ( void *  data,
SCM  tag,
SCM  throw_args 
) [static]

Definition at line 118 of file parsecmd.c.

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

Definition at line 129 of file parsecmd.c.

Here is the call graph for this function:


Variable Documentation

char* optarg
int optind
 All Data Structures Files Functions Variables Defines