summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'data.c')
-rw-r--r--data.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/data.c b/data.c
index db42ece..60c4b26 100644
--- a/data.c
+++ b/data.c
@@ -1046,7 +1046,7 @@ xs_list *timeline_top_level(snac *snac, xs_list *list)
1046} 1046}
1047 1047
1048 1048
1049d_char *timeline_simple_list(snac *snac, const char *idx_name, int skip, int show) 1049xs_list *timeline_simple_list(snac *snac, const char *idx_name, int skip, int show)
1050/* returns a timeline (with all entries) */ 1050/* returns a timeline (with all entries) */
1051{ 1051{
1052 int c_max; 1052 int c_max;
@@ -1064,7 +1064,7 @@ d_char *timeline_simple_list(snac *snac, const char *idx_name, int skip, int sho
1064} 1064}
1065 1065
1066 1066
1067d_char *timeline_list(snac *snac, const char *idx_name, int skip, int show) 1067xs_list *timeline_list(snac *snac, const char *idx_name, int skip, int show)
1068/* returns a timeline (only top level entries) */ 1068/* returns a timeline (only top level entries) */
1069{ 1069{
1070 xs *list = timeline_simple_list(snac, idx_name, skip, show); 1070 xs *list = timeline_simple_list(snac, idx_name, skip, show);
@@ -1073,6 +1073,15 @@ d_char *timeline_list(snac *snac, const char *idx_name, int skip, int show)
1073} 1073}
1074 1074
1075 1075
1076xs_list *timeline_instance_list(int skip, int show)
1077/* returns the timeline for the full instance */
1078{
1079 xs *idx = xs_fmt("%s/public.idx", srv_basedir);
1080
1081 return index_list_desc(idx, skip, show);
1082}
1083
1084
1076/** following **/ 1085/** following **/
1077 1086
1078/* this needs special treatment and cannot use the object db as is, 1087/* this needs special treatment and cannot use the object db as is,