home *** CD-ROM | disk | FTP | other *** search
- /* TCHK 2.1 - Howard Kapustein's Turbo C library 6-6-89 */
- /* Copyright (C) 1988,1989 Howard Kapustein. All rights reserved. */
-
- /* statehk.h - state/zip code functions header file */
-
- #ifndef STATE_HEADER
- #define STATE_HEADER 1
-
- #define MAXSTATES 55 /* 50 states + CZ (Canal Zone), DC (District of Columbia), */
- /* GU (Guam), PR (Puerto Rico), VI (Virgin Islands) */
-
- /* function prototypes */
- boolean isstate(char *state); /* is state a state abbreviation */
- int stateindex(char *state); /* get index of States array for state */
- boolean iszip(char *state, char *zip); /* is zip a valid Zip Code */
-
- #endif /* STATE_HEADER */
-