X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fsrc%2Fdbfunctions.h;h=93d12efc31529987e8121a21c878677735946b62;hb=6d5c916cc5720591335fea53242dd6b97ea56fe3;hp=ef83199c2b2f051b7419bdf0b4579d704dad525b;hpb=184e88237dea64ce48076cdd0184612d057cbafd;p=exim.git diff --git a/src/src/dbfunctions.h b/src/src/dbfunctions.h index ef83199c2..93d12efc3 100644 --- a/src/src/dbfunctions.h +++ b/src/src/dbfunctions.h @@ -1,21 +1,19 @@ -/* $Cambridge: exim/src/src/dbfunctions.h,v 1.5 2007/01/08 10:50:17 ph10 Exp $ */ - /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2007 */ +/* Copyright (c) University of Cambridge 1995 - 2015 */ /* See the file NOTICE for conditions of use and distribution. */ /* Functions for reading/writing exim database files */ void dbfn_close(open_db *); -int dbfn_delete(open_db *, uschar *); +int dbfn_delete(open_db *, const uschar *); open_db *dbfn_open(uschar *, int, open_db *, BOOL); -void *dbfn_read_with_length(open_db *, uschar *, int *); +void *dbfn_read_with_length(open_db *, const uschar *, int *); uschar *dbfn_scan(open_db *, BOOL, EXIM_CURSOR **); -int dbfn_write(open_db *, uschar *, void *, int); +int dbfn_write(open_db *, const uschar *, void *, int); /* Macro for the common call to read without wanting to know the length. */