Main Page   Compound List   File List   Compound Members   File Members  

pc_libs/pc_general.h

Go to the documentation of this file.
00001 /*=====================================================================
00002                 =======   COPYRIGHT NOTICE   =======
00003 Copyright (C) 1996, Carnegie Mellon University, Cambridge University,
00004 Ronald Rosenfeld and Philip Clarkson.
00005 
00006 All rights reserved.
00007 
00008 This software is made available for research purposes only.  It may be
00009 redistributed freely for this purpose, in full or in part, provided
00010 that this entire copyright notice is included on any copies of this
00011 software and applications and derivations thereof.
00012 
00013 This software is provided on an "as is" basis, without warranty of any
00014 kind, either expressed or implied, as to any matter including, but not
00015 limited to warranty of fitness of purpose, or merchantability, or
00016 results obtained from use of this software.
00017 ======================================================================*/
00018 
00019 
00020 
00025 #ifndef _PCGEN_H_
00026 #define _PCGEN_H_
00027 
00028 int pc_flagarg(int *argc, char **argv, char *flag);
00029 
00030 char *pc_stringarg(int *argc, char **argv, char *flag, char *value);
00031 
00032 int pc_intarg(int *argc, char **argv, char *flag, int value);
00033 
00034 double pc_doublearg(int *argc, char **argv, char *flag, double value);
00035 
00036 short *pc_shortarrayarg(int *argc, char **argv, char *flag, int elements, 
00037                         int size);
00038 
00039 int *pc_intarrayarg(int *argc, char **argv, char *flag, int elements, 
00040                     int size);
00041 
00042 void pc_message(unsigned short verbosity, 
00043                unsigned short priority, 
00044                char *msg, ...);
00045 
00046 void pc_report_unk_args(int *argc, char **argv, int verbosity);
00047 
00048 void report_version(int *argc, char **argv);
00049 
00050 #endif
00051 
00052 

Generated on Tue Dec 21 13:54:45 2004 by doxygen1.2.18