summaryrefslogtreecommitdiff
path: root/ui/recent.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-02-20 18:46:08 -0800
committerGuy Harris <guy@alum.mit.edu>2017-02-21 02:46:26 +0000
commit2798f7c9c4a691a91b19c9ed50dbcf1c151325af (patch)
tree1678148b7a3939ece2be8b53efc297a996682ce1 /ui/recent.h
parent72e2c3acfac3f56d1b6276d6cbbf55695da849b4 (diff)
downloadwireshark-2798f7c9c4a691a91b19c9ed50dbcf1c151325af.tar.gz
Have all the remote host list routines' names begin with recent_.
Some did, some didn't - make it consistent. Clean up some header comments while we're at it. Change-Id: I978c84167cce3c8f1c0280898aa4d0b60958325b Reviewed-on: https://code.wireshark.org/review/20218 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/recent.h')
-rw-r--r--ui/recent.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/ui/recent.h b/ui/recent.h
index e027c6ba57..bce8214b85 100644
--- a/ui/recent.h
+++ b/ui/recent.h
@@ -211,39 +211,40 @@ extern GList *recent_get_cfilter_list(const gchar *ifname);
extern void recent_add_cfilter(const gchar *ifname, const gchar *s);
/**
- * Get the value of a remote host from the remote_host_list.
+ * Get the value of an entry for a remote host from the remote host list.
*
- * @param host Host's address
+ * @param host host name for the remote host.
+ *
+ * @return pointer to the entry for the remote host.
*/
extern struct remote_host *recent_get_remote_host(const gchar *host);
/**
- * Get the number of entries of the remote_host_list.
+ * Get the number of entries of the remote host list.
*
- * @return size of the hash table
+ * @return number of entries in the list.
*/
extern int recent_get_remote_host_list_size(void);
/**
- * Iterate over all items in the remote_host_list, calling a
+ * Iterate over all items in the remote host list, calling a
* function for each member
*
- * @param func Function to be called
- * @param user_data Argument to pass as user data to the function
+ * @param func function to be called
+ * @param user_data argument to pass as user data to the function
*/
-extern void remote_host_list_foreach(GHFunc func, gpointer user_data);
+extern void recent_remote_host_list_foreach(GHFunc func, gpointer user_data);
/**
- * Free all entries of the remote_host_list.
- *
+ * Free all entries of the remote host list.
*/
-extern void free_remote_host_list(void);
+extern void recent_free_remote_host_list(void);
/**
* Add an entry to the remote_host_list.
*
* @param host Key of the entry
- * @param rh Vakue of the entry
+ * @param rh Value of the entry
*/
extern void recent_add_remote_host(gchar *host, struct remote_host *rh);