/*++ /* NAME /* dict_thash 3 /* SUMMARY /* dictionary manager interface to hashed flat text files /* SYNOPSIS /* #include <dict_thash.h> /* /* DICT *dict_thash_open(path, open_flags, dict_flags) /* const char *name; /* const char *path; /* int open_flags; /* int dict_flags; /* DESCRIPTION /* dict_thash_open() opens the named flat text file, creates /* an in-memory hash table, and makes it available via the /* generic interface described in dict_open(3). The input /* format is as with postmap(1). /* DIAGNOSTICS /* Fatal errors: cannot open file, out of memory. /* SEE ALSO /* dict(3) generic dictionary manager /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA /* /* Wietse Venema /* Google, Inc. /* 111 8th Avenue /* New York, NY 10011, USA
/*--*/
/* *Enforcethe"keywhitespacevalue"format.Disallowmissing *keysormissingvalues.
*/ if (*key == 0 || *value == 0) {
msg_warn("%s, line %d: expected format: key whitespace value" " -- ignoring this line", path, lineno); continue;
} if (key[strlen(key) - 1] == ':')
msg_warn("%s, line %d: record is in \"key: value\" format;" " is this an alias file?", path, lineno);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.