summaryrefslogtreecommitdiffstats
path: root/utils/nfsdcld/sqlite.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-11-08 14:36:56 -0500
committerSteve Dickson <steved@redhat.com>2012-11-11 18:01:23 -0500
commit37ebcfc42478bbbf5784504072b682037352a90e (patch)
tree40e7b119518a2dd04e5960763679690de02d8546 /utils/nfsdcld/sqlite.h
parentb20a49b5e7ca0d42f752d36a9dc0f2197243d6f0 (diff)
downloadnfs-utils-37ebcfc42478bbbf5784504072b682037352a90e.tar.gz
nfs-utils-37ebcfc42478bbbf5784504072b682037352a90e.tar.xz
nfs-utils-37ebcfc42478bbbf5784504072b682037352a90e.zip
nfsdcltrack: rename the nfsdcld directory and options to nfsdcltrack
We'll soon be adding a new nfsdcltrack program, at which point it won't make much sense to call this directory and the config option "nfsdcld". Rename it to be a bit more generic. While we're at it, change the default for --enable-cltrack to "yes". When we introduce the one-shot program, we're going to want to build it by default anyway. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/nfsdcld/sqlite.h')
-rw-r--r--utils/nfsdcld/sqlite.h29
1 files changed, 0 insertions, 29 deletions
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 <jlayton@redhat.com>
- *
- * 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 */