summaryrefslogtreecommitdiff
path: root/entry.h
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2020-08-02 18:09:03 -0700
committerlouie <lshprung@yahoo.com>2020-08-02 18:09:03 -0700
commit7cab81c193a01775d804fb037f7d26c6a6806e74 (patch)
treeba6049ca4c3243496bcd46c1f5639d8f69591e7a /entry.h
parent2ee23565a15bd969828db7442f2f8b4902d5e261 (diff)
Added option to sort entries
Diffstat (limited to 'entry.h')
-rw-r--r--entry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/entry.h b/entry.h
index bcefc04..d0027cb 100644
--- a/entry.h
+++ b/entry.h
@@ -11,6 +11,8 @@ void clear_entries(ENTRY *head);
ENTRY *entry_add_last(ENTRY *tail, ENTRY *add);
+int entry_add_sorted(ENTRY *head, ENTRY *tail, ENTRY *add);
+
ENTRY **get_entries(ENTRY *head, int count);
char *get_ename(ENTRY *e);