X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fnfsdcld%2Fsqlite.h;fp=utils%2Fnfsdcld%2Fsqlite.h;h=0000000000000000000000000000000000000000;hb=37ebcfc42478bbbf5784504072b682037352a90e;hp=c85e7d683c0a2c763a1efe872c5e41902fd9c7b8;hpb=b20a49b5e7ca0d42f752d36a9dc0f2197243d6f0;p=nfs-utils.git diff --git a/utils/nfsdcld/sqlite.h b/utils/nfsdcld/sqlite.h deleted file mode 100644 index c85e7d6..0000000 --- a/utils/nfsdcld/sqlite.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2011 Red Hat, Jeff Layton - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#ifndef _SQLITE_H_ -#define _SQLITE_H_ - -int sqlite_maindb_init(char *topdir); -int sqlite_insert_client(const unsigned char *clname, const size_t namelen); -int sqlite_remove_client(const unsigned char *clname, const size_t namelen); -int sqlite_check_client(const unsigned char *clname, const size_t namelen); -int sqlite_remove_unreclaimed(const time_t grace_start); - -#endif /* _SQLITE_H */