X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=lib%2Fdb.h;h=6b409ef4350cdbcf6f4f70bbd8d16024a95b0a6b;hb=c806248e561584362a7a562f22c20e7013ac3bb1;hp=886b8f4b314f577805ec4a19b12a68fccdee8953;hpb=6be2a072b66c459b94e3df7e17e363dc48311151;p=libucw.git diff --git a/lib/db.h b/lib/db.h index 886b8f4b..6b409ef4 100644 --- a/lib/db.h +++ b/lib/db.h @@ -1,7 +1,7 @@ /* * Sherlock Library -- Fast Database Management Routines * - * (c) 1999 Martin Mares + * (c) 1999 Martin Mares */ #ifndef _SHERLOCK_DB_H @@ -41,5 +41,6 @@ void sdbm_sync(struct sdbm *); #define SDBM_ERROR_BAD_VAL_SIZE -2 /* Fixed value size doesn't match */ #define SDBM_ERROR_TOO_LARGE -3 /* Key/value doesn't fit in buffer supplied */ #define SDBM_ERROR_READ_ONLY -4 /* Database has been opened read only */ +#define SDBM_ERROR_GIANT -5 /* Key/value too large to fit in a page */ #endif