|
|
1.1 ! root 1: /* Copyright (c) 1989, 1990 AT&T --- All Rights Reserved. */ ! 2: /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T. */ ! 3: /* The copyright notice does not imply actual or intended publication. */ ! 4: /* AUTHORS: */ ! 5: /* H. S. Baird - ATT-BL MH - first versions */ ! 6: ! 7: /* Bfeats.h - typedef, constants, and function declarations for Bfeats. ! 8: INCLUDES ! 9: Requires prior #include "BMask.h" ! 10: */ ! 11: ! 12: typedef struct Bfeats { ! 13: BMask bm; /* bitmask (1 for each feature) */ ! 14: unsigned short mny; /* number of feature indices in fa[] */ ! 15: unsigned short *fa; /* fa[mny] of feature (ss) nos, no dups (malloc) */ ! 16: } Bfeats; ! 17: ! 18: #define Init_Bfeats {Init_BMask,0,NULL} ! 19: #if MAIN ! 20: Bfeats empty_Bfeats = Init_Bfeats; ! 21: #else ! 22: extern Bfeats empty_Bfeats; ! 23: #endif ! 24: ! 25: Bfeats *alloc_bfeats(); ! 26: free_bfeats(); ! 27: char *bfeats_toa(); ! 28: Bfeats *dup_bfeats();
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.