[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r22171 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r22171 - gnunet/src/include |
Date: |
Wed, 20 Jun 2012 20:48:08 +0200 |
Author: grothoff
Date: 2012-06-20 20:48:08 +0200 (Wed, 20 Jun 2012)
New Revision: 22171
Modified:
gnunet/src/include/gnunet_network_lib.h
Log:
-fixing #2439
Modified: gnunet/src/include/gnunet_network_lib.h
===================================================================
--- gnunet/src/include/gnunet_network_lib.h 2012-06-20 18:45:30 UTC (rev
22170)
+++ gnunet/src/include/gnunet_network_lib.h 2012-06-20 18:48:08 UTC (rev
22171)
@@ -68,12 +68,24 @@
};
-
#include "gnunet_disk_lib.h"
#include "gnunet_time_lib.h"
/**
+ * Given a unixpath that is too long (larger than UNIX_PATH_MAX),
+ * shorten it to an acceptable length while keeping it unique
+ * and making sure it remains a valid filename (if possible).
+ *
+ * @param unixpath long path, will be freed (or same pointer returned
+ * with moved 0-termination).
+ * @return shortened unixpath, NULL on error
+ */
+char *
+GNUNET_NETWORK_shorten_unixpath (char *unixpath);
+
+
+/**
* Accept a new connection on a socket. Configure it for non-blocking
* IO and mark it as non-inheritable to child processes (set the
* close-on-exec flag).
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r22171 - gnunet/src/include,
gnunet <=