From: <ch...@us...> - 2005-03-29 16:12:58
|
Update of /cvsroot/dict/dictd1 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv336 Modified Files: daemon.c defs.h dictd.c index.c index.h servparse.y servscan.l Log Message: added: database_mime, dbname_nomime and dbname_mime keywords in dictd configuration file Example: database cool_db___nomime {...} database cool_db___mime {...} # The following section adds new database cool_db # When client acceses it and DOES send OPTION MIME command # to dictd it actually accesses the database `cool_db___mime' # otherwise (no MIME OPTION command was set) # the database `cool_db___nomime' is used. # This allows server to provide databases with support # of both plain text and formatted definitions # with appropriate MIME header (roff, html etc...) database_mime cool_db { dbname_mime "cool_db___mime" dbname_nomime "cool_db___nomime" } |