00001 #ifndef lnmsub_h 00002 #define lnmsub_h 00003 00004 #include <lnmstrdef.h> 00005 00006 int lnm_hash(const int length, const unsigned char * log, const unsigned long mask, unsigned long * myhash); 00007 int lnm_searchlog(struct struct_lnm_ret * r,int loglen, char * logical, int tabnamlen, char * tablename) ; 00008 int lnm_search_one(struct struct_lnm_ret * r,int loglen, char * logical, int tabnamlen, char * tablename, char * result) ; 00009 int lnm_presearch(struct struct_lnm_ret * r,struct lnmhshs * hashtable, struct struct_nt * nt) ; 00010 int lnm_contsearch(struct struct_lnm_ret * r, int hash, struct lnmhshs * hashtable, struct struct_nt * nt) ; 00011 int lnm_firsttab(struct struct_lnm_ret * r,int tabnamlen, char * tablename) ; 00012 int lnm_setup(struct struct_lnm_ret * r,struct struct_rt * RT, int tabnamlen, char * tablename, struct struct_nt * nt) ; 00013 int lnm_table(struct struct_lnm_ret * r,struct struct_rt * rt, struct struct_nt * nt) ; 00014 int lnm_lookup(struct struct_lnm_ret * r,struct struct_rt * rt, int loglen, char * lognam, struct struct_nt * nt) ; 00015 int lnm_table_srch(struct struct_lnm_ret * r,struct struct_rt *rt, struct struct_nt * nt) ; 00016 int lnm_inslogtab(struct struct_lnm_ret * r, struct _lnmb * mylnmb); 00017 int lnm_delete_lnmb(); 00018 00019 #endif 00020