Logo Search packages:      
Sourcecode: hebcal version File versions  Download package

danlib.h

/* Copyright(c) 1994  Danny Sadinoff
  See section COPYING for conditions for redistribution
*/
#ifndef __DANLIB__
#define __DANLIB

#include <stdio.h>

#define CHAR2NUM(x) ((x) - '0')
#define LAST_INDEX(x) (sizeof x / sizeof x[0])
#define strEQ(X,Y) (0 == strcmp((X),(Y)))

void initStr( char **, size_t );
int isAllNums( const char * );
const char *numSuffix( int );
char *hc_itoa( int );
int istrncasecmp( size_t,const char *,const char * );
int lookup_string( const char *str, const char *arr[], int size, int len );

#endif

Generated by  Doxygen 1.6.0   Back to index