summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/ChangeLog5
-rw-r--r--runtime/Doxyfile2
-rw-r--r--runtime/map-str.c2
-rw-r--r--runtime/map-values.c11
-rw-r--r--runtime/map.c4
-rw-r--r--runtime/map.doc23
6 files changed, 17 insertions, 30 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index eccf854e..672f28c7 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,5 +1,10 @@
2005-06-29 Martin Hunt <hunt@redhat.com>
+ * map-values.c (_stp_map_add_int64): Fix docs.
+ * map-str.c: Fix some docs
+ * map.c: Ditto.
+ * map.doc: Ditto.
+
* current.c (_stp_ret_addr_r): New function.
(_stp_probe_addr): New function.
(_stp_probe_addr_r): New function.
diff --git a/runtime/Doxyfile b/runtime/Doxyfile
index 7ab816db..832b34da 100644
--- a/runtime/Doxyfile
+++ b/runtime/Doxyfile
@@ -23,7 +23,7 @@ PROJECT_NAME = "SystemTap Runtime"
# This could be handy for archiving the generated documentation or
# if some version control system is used.
-PROJECT_NUMBER = 0.6
+PROJECT_NUMBER = 0.61
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
diff --git a/runtime/map-str.c b/runtime/map-str.c
index 7cdf842c..344feeb6 100644
--- a/runtime/map-str.c
+++ b/runtime/map-str.c
@@ -74,7 +74,7 @@ void __stp_map_set_str (MAP map, char *val, int add)
* If the element doesn't exist, it is created. If no current element (key)
* is set for the map, this function does nothing.
* @param map
- * @param str String containing value to append.
+ * @param val String containing value to append.
* @ingroup map_set
*/
#define _stp_map_add_str(map,val) __stp_map_set_str(map,val,1)
diff --git a/runtime/map-values.c b/runtime/map-values.c
index 9adc9789..f0df9563 100644
--- a/runtime/map-values.c
+++ b/runtime/map-values.c
@@ -25,10 +25,15 @@
#if defined(NEED_INT64_VALS) || defined (NEED_STAT_VALS)
-/** Add an int64 to a map.
+/** Adds an int64 to the current element's value.
+ * This adds an int64 to the current element's value. The map must have been created
+ * to hold int64s or stats.
+ *
+ * If the element doesn't exist, it is created. If no current element (key)
+ * is set for the map, this function does nothing.
+ * @param map
+ * @param val value
* @ingroup map_set
- * @param map
- * @param val int64 value to add
*/
void _stp_map_add_int64 (MAP map, int64_t val)
{
diff --git a/runtime/map.c b/runtime/map.c
index 187a1872..9d9b1fa2 100644
--- a/runtime/map.c
+++ b/runtime/map.c
@@ -100,7 +100,7 @@ stat *_stp_get_stat(struct map_node *m)
/** Return an int64 key from a map node.
* This function will return an int64 key from a map_node.
- * @param m pointer to the map_node.
+ * @param mn pointer to the map_node.
* @param n key number
* @returns an int64
* @sa key1int(), key2int()
@@ -114,7 +114,7 @@ int64_t _stp_key_get_int64 (struct map_node *mn, int n)
/** Return a string key from a map node.
* This function will return an string key from a map_node.
- * @param m pointer to the map_node.
+ * @param mn pointer to the map_node.
* @param n key number
* @returns a pointer to a string
* @sa key1str(), key2str()
diff --git a/runtime/map.doc b/runtime/map.doc
index 6a1585b7..29d740f6 100644
--- a/runtime/map.doc
+++ b/runtime/map.doc
@@ -108,17 +108,6 @@ MAP _stp_map_new_KEY1__ (int num_entries, HSTAT_LINEAR, int start, int stop, int
*/
void _stp_map_set_str (MAP map, char *val) {}
-/** Set the current element's value to a String.
- * This sets the current element's value to a String. The map must have been created
- * to hold strings using <i>_stp_map_new_(xxx, STRING)</i>
- *
- * If the element doesn't exist, it is created. If no current element (key)
- * is set for the map, this function does nothing.
- * @param map
- * @param str String containing new value.
- * @sa _stp_map_set()
- */
-void _stp_map_set_string (MAP map, String str){}
/** Appends a C string to the current element's value
* This appends a C string to the current element's value. The map must have been created
@@ -131,18 +120,6 @@ void _stp_map_set_string (MAP map, String str){}
* @sa _stp_map_set()
*/
void _stp_map_add_str (MAP map, char *val) {}
-
-/** Adds an int64 to the current element's value.
- * This adds an int64 to the current element's value. The map must have been created
- * to hold int64s using <i>_stp_map_new_(xxx, INT64)</i>
- *
- * If the element doesn't exist, it is created. If no current element (key)
- * is set for the map, this function does nothing.
- * @param map
- * @param val value
- * @sa _stp_map_set_int64()
- */
-void _stp_map_add_int64 (MAP map, int64_t val) {}
/** @} end of map_set group*/
/** @defgroup map_get Getting the Values from Maps