X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb.h;h=ae87ce385c561b2811d8324922d03aa86735cdf5;hb=5ace83529b1fd3e46db32357c8716be51d921449;hp=ea4a78999ce4b217f150ad22288f7c17ef27d29f;hpb=bff92fa7e9583ebaa3de745aba04c66b132c849e;p=onak.git diff --git a/keydb.h b/keydb.h index ea4a789..ae87ce3 100644 --- a/keydb.h +++ b/keydb.h @@ -4,8 +4,6 @@ * Jonathan McDowell * * Copyright 2002 Project Purple - * - * $Id: keydb.h,v 1.9 2003/06/08 21:11:00 noodles Exp $ */ #ifndef __KEYDB_H__ @@ -18,12 +16,13 @@ /** * initdb - Initialize the key database. + * @readonly: If we'll only be reading the DB, not writing to it. * * This function should be called before any of the other functions in * this file are called in order to allow the DB to be initialized ready * for access. */ -void initdb(void); +void initdb(bool readonly); /** * cleanupdb - De-initialize the key database.