aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_network_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-26 22:13:01 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-26 22:13:01 +0000
commit64d3e46cfb99a711e500fa1f114e7c44bdf10040 (patch)
tree83093d92761d5c1b8b2fded713adaa19af29274c /src/include/gnunet_network_lib.h
parentef6f05f63769263a5201636c4b7f71eaa455cdf3 (diff)
downloadgnunet-64d3e46cfb99a711e500fa1f114e7c44bdf10040.tar.gz
gnunet-64d3e46cfb99a711e500fa1f114e7c44bdf10040.zip
-bugfixes, code cleanup
Diffstat (limited to 'src/include/gnunet_network_lib.h')
-rw-r--r--src/include/gnunet_network_lib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h
index 06a5ce903..1618b2442 100644
--- a/src/include/gnunet_network_lib.h
+++ b/src/include/gnunet_network_lib.h
@@ -73,6 +73,16 @@ struct GNUNET_NETWORK_FDSet
73 73
74 74
75/** 75/**
76 * Test if the given protocol family is supported by this system.
77 *
78 * @param pf protocol family to test (PF_INET, PF_INET6, PF_UNIX)
79 * @return GNUNET_OK if the PF is supported
80 */
81int
82GNUNET_NETWORK_test_pf (int pf);
83
84
85/**
76 * Given a unixpath that is too long (larger than UNIX_PATH_MAX), 86 * Given a unixpath that is too long (larger than UNIX_PATH_MAX),
77 * shorten it to an acceptable length while keeping it unique 87 * shorten it to an acceptable length while keeping it unique
78 * and making sure it remains a valid filename (if possible). 88 * and making sure it remains a valid filename (if possible).