Author: rmeggins
Update of /cvs/dirsec/adminserver/include/base
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6632/adminserver/include/base
Modified Files:
buffer.h util.h
Removed Files:
dbtbase.h
Log Message:
removing dead code
Index: buffer.h
===================================================================
RCS file: /cvs/dirsec/adminserver/include/base/buffer.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- buffer.h 18 Aug 2005 19:14:43 -0000 1.4
+++ buffer.h 14 Jul 2008 20:34:42 -0000 1.5
@@ -91,14 +91,6 @@
filebuf_t *INTfilebuf_create(SYS_FILE fd, caddr_t mmap_ptr, int mmap_len,
int bufsz);
-/*
- * filebuf_close_buffer is provided to cleanup a filebuf without closing
- * the underlying file. If clean_mmap is 1, and the file is memory mapped,
- * the file will be unmapped. If clean_mmap is 0, the file will not
- * be unmapped.
- */
-NSAPI_PUBLIC void INTfilebuf_close_buffer(filebuf_t *buf, int clean_mmap);
-
#ifdef FILE_MMAP
#include <sys/stat.h>
NSAPI_PUBLIC
@@ -122,12 +114,6 @@
NSAPI_PUBLIC int INTpipebuf_next(filebuf_t *buf, int advance);
#endif /* XP_WIN32 */
-/*
- * buffer_close deallocates a buffer and closes its associated files
- * (does not close a network socket).
- */
-
-NSAPI_PUBLIC void INTfilebuf_close(filebuf_t *buf);
#ifdef XP_WIN32
NSAPI_PUBLIC void INTpipebuf_close(filebuf_t *buf);
#endif /* XP_WIN32 */
@@ -178,7 +164,6 @@
#define filebuf_next INTfilebuf_next
#define filebuf_grab INTfilebuf_grab
#define filebuf_create INTfilebuf_create
-#define filebuf_close_buffer INTfilebuf_close_buffer
#define filebuf_buf2sd INTfilebuf_buf2sd
#ifdef XP_WIN32
Index: util.h
===================================================================
RCS file: /cvs/dirsec/adminserver/include/base/util.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- util.h 9 May 2007 00:26:35 -0000 1.4
+++ util.h 14 Jul 2008 20:34:42 -0000 1.5
@@ -148,17 +148,6 @@
/* --- End Unix-only function prototypes --- */
-/* --- Begin Windows-only function prototypes --- */
-
-#ifdef XP_WIN32
-
-NSAPI_PUBLIC
-VOID INTutil_delete_directory(char *FileName, BOOL delete_directory);
-
-#endif /* XP_WIN32 */
-
-/* --- End Windows-only function prototypes --- */
-
NSPR_END_EXTERN_C
#define util_getline INTutil_getline
@@ -203,10 +192,6 @@
#define util_waitpid INTutil_waitpid
#endif /* XP_UNIX */
-#ifdef XP_WIN32
-#define util_delete_directory INTutil_delete_directory
-#endif /* XP_WIN32 */
-
#ifdef NEED_STRCASECMP
#define util_strcasecmp INTutil_strcasecmp
#define strcasecmp INTutil_strcasecmp
--- dbtbase.h DELETED ---
Show replies by date