X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb.h;h=9088d7d9df5fdb674ff1c0773ef550d8d01ec824;hb=cd002cef518222c140de94b8817874b072b2d918;hp=ea4a78999ce4b217f150ad22288f7c17ef27d29f;hpb=7f1c2d9ec737a90d4d216f59ccb8b93f9054c472;p=onak.git diff --git a/keydb.h b/keydb.h index ea4a789..9088d7d 100644 --- a/keydb.h +++ b/keydb.h @@ -5,7 +5,7 @@ * * Copyright 2002 Project Purple * - * $Id: keydb.h,v 1.9 2003/06/08 21:11:00 noodles Exp $ + * $Id: keydb.h,v 1.10 2004/03/23 12:33:46 noodles Exp $ */ #ifndef __KEYDB_H__ @@ -18,12 +18,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.