Logo Search packages:      
Sourcecode: hebcal version File versions

danlib.h

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

#include "proto.h"
#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 PROTO((char **, int));
int isAllNums PROTO((char *));
char *numSuffix PROTO((int));
char *hc_itoa PROTO((int));
int istrncasecmp PROTO((int,char *,char *));
int lookup_string PROTO((char *str, char *arr[], int size, int len));

#endif

Generated by  Doxygen 1.6.0   Back to index