[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r34673 - in gnunet/src: fs include util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r34673 - in gnunet/src: fs include util |
Date: |
Wed, 17 Dec 2014 04:07:27 +0100 |
Author: grothoff
Date: 2014-12-17 04:07:27 +0100 (Wed, 17 Dec 2014)
New Revision: 34673
Modified:
gnunet/src/fs/gnunet-service-fs_cp.c
gnunet/src/include/gnunet_env_lib.h
gnunet/src/util/configuration.c
Log:
-remove dead api
Modified: gnunet/src/fs/gnunet-service-fs_cp.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs_cp.c 2014-12-16 23:11:45 UTC (rev
34672)
+++ gnunet/src/fs/gnunet-service-fs_cp.c 2014-12-17 03:07:27 UTC (rev
34673)
@@ -593,6 +593,7 @@
return GNUNET_NO;
}
+
/**
* A peer connected to us. Setup the connected peer
* records.
Modified: gnunet/src/include/gnunet_env_lib.h
===================================================================
--- gnunet/src/include/gnunet_env_lib.h 2014-12-16 23:11:45 UTC (rev 34672)
+++ gnunet/src/include/gnunet_env_lib.h 2014-12-17 03:07:27 UTC (rev 34673)
@@ -174,7 +174,7 @@
GNUNET_ENV_environment_tail (const struct GNUNET_ENV_Environment *env);
-/**
+/**
* Remove a modifier from the environment.
*/
void
@@ -283,19 +283,6 @@
/**
- * Get the variable's value as a list.
- *
- * @param size Size of value.
- * @param value Raw value of variable.
- * @param[out] list A newly created list holding the elements.
- *
- * @return #GNUNET_OK on success, #GNUNET_SYSERR if an error occurred (e.g.
the value is invalid).
- */
-int
-GNUNET_ENV_value_to_list (size_t size, const void *value, struct
GNUNET_CONTAINER_SList **list);
-
-
-/**
* Get the variable's value as a dictionary.
*
* @param size Size of value.
@@ -321,18 +308,6 @@
/**
- * Create a PSYC variable value from a list.
- *
- * @param list The list to convert.
- * @param[out] value_size Size of returned value.
- *
- * @return A newly allocated value or NULL on error.
- */
-void *
-GNUNET_ENV_value_from_list (struct GNUNET_CONTAINER_SList *list, size_t
*value_size);
-
-
-/**
* Create a PSYC variable value from a dictionary.
*
* @param dict The dict to convert.
Modified: gnunet/src/util/configuration.c
===================================================================
--- gnunet/src/util/configuration.c 2014-12-16 23:11:45 UTC (rev 34672)
+++ gnunet/src/util/configuration.c 2014-12-17 03:07:27 UTC (rev 34673)
@@ -324,7 +324,7 @@
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Config file name expanded to `%s'\n",
fn);
- if (fn == NULL)
+ if (NULL == fn)
return GNUNET_SYSERR;
dirty = cfg->dirty; /* back up value! */
if (GNUNET_SYSERR ==
@@ -351,7 +351,9 @@
GNUNET_free (mem);
return GNUNET_SYSERR;
}
- LOG (GNUNET_ERROR_TYPE_DEBUG, "Deserializing contents of file `%s'\n", fn);
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Deserializing contents of file `%s'\n",
+ fn);
GNUNET_free (fn);
ret = GNUNET_CONFIGURATION_deserialize (cfg, mem, fs, GNUNET_YES);
GNUNET_free (mem);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r34673 - in gnunet/src: fs include util,
gnunet <=