From 0238db34853380280ccf164918ebbb28260f4629 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 27 Feb 2012 11:00:10 +0000 Subject: enabling use of pipes for signal communication also on UNIX to enable future integration with Java services --- src/include/gnunet_disk_lib.h | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'src/include/gnunet_disk_lib.h') diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h index 9c88a163b..18f553576 100644 --- a/src/include/gnunet_disk_lib.h +++ b/src/include/gnunet_disk_lib.h @@ -31,11 +31,6 @@ #define OFF_T off_t #endif -/** - * Opaque handle used to access files. - */ -struct GNUNET_DISK_FileHandle; - /** * Handle used to manage a pipe. */ @@ -759,36 +754,6 @@ GNUNET_DISK_file_unmap (struct GNUNET_DISK_MapHandle *h); int GNUNET_DISK_file_sync (const struct GNUNET_DISK_FileHandle *h); -/** - * Creates a named pipe/FIFO and opens it - * @param fn pointer to the name of the named pipe or to NULL - * @param flags open flags - * @param perm access permissions - * @return pipe handle on success, NULL on error - */ -struct GNUNET_DISK_FileHandle * -GNUNET_DISK_npipe_create (char **fn, enum GNUNET_DISK_OpenFlags flags, - enum GNUNET_DISK_AccessPermissions perm); - -/** - * Opens already existing named pipe/FIFO - * - * @param fn name of an existing named pipe - * @param flags open flags - * @param perm access permissions - * @return pipe handle on success, NULL on error - */ -struct GNUNET_DISK_FileHandle * -GNUNET_DISK_npipe_open (const char *fn, enum GNUNET_DISK_OpenFlags flags, - enum GNUNET_DISK_AccessPermissions perm); - -/** - * Closes a named pipe/FIFO - * @param pipe named pipe - * @return GNUNET_OK on success, GNUNET_SYSERR otherwise - */ -int -GNUNET_DISK_npipe_close (struct GNUNET_DISK_FileHandle *pipe); #if 0 /* keep Emacsens' auto-indent happy */ { -- cgit v1.2.3