[890] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r877 - branches/barnowl_sqlite/owl

daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:10:48 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Tue, 15 Jan 2008 16:25:01 -0500 (EST)

Author: nelhage
Date: 2008-01-15 16:25:01 -0500 (Tue, 15 Jan 2008)
New Revision: 877

Modified:
   branches/barnowl_sqlite/owl/perlconfig.c
Log:
Kill a unneeded utility function

Modified: branches/barnowl_sqlite/owl/perlconfig.c
===================================================================
--- branches/barnowl_sqlite/owl/perlconfig.c	2008-01-15 21:22:44 UTC (rev 876)
+++ branches/barnowl_sqlite/owl/perlconfig.c	2008-01-15 21:25:01 UTC (rev 877)
@@ -229,27 +229,6 @@
   else return(0);
 }
 
-/* returns 0 on success */
-int owl_perlconfig_get_hashkeys(char *hashname, owl_list *l)
-{
-  HV *hv;
-  HE *he;
-  char *key;
-  I32 i;
-
-  if (owl_list_create(l)) return(-1);
-  hv = get_hv(hashname, FALSE);
-  if (!hv) return(-1);
-  i = hv_iterinit(hv);
-  while ((he = hv_iternext(hv))) {
-    key = hv_iterkey(he, &i);
-    if (key) {
-      owl_list_append_element(l, owl_strdup(key));
-    }
-  }
-  return(0);
-}
-
 /* caller is responsible for freeing returned string */
 char *owl_perlconfig_execute(char *line)
 {


home help back first fref pref prev next nref lref last post