File: views.h

package info (click to toggle)
abook 0.6.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,976 kB
  • sloc: ansic: 8,988; sh: 4,649; makefile: 44; sed: 16
file content (18 lines) | stat: -rw-r--r-- 418 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _VIEWS_H
#define _VIEWS_H

#include "database.h"

#define MAX_VIEW_FIELDS 35 /* keybindings for modifying a field: 1-9A-Z */

typedef struct abook_view_t {
	char *name;
	abook_field_list *fields;
	struct abook_view_t *next;
} abook_view;

char *add_field_to_view(char *tabname, char *field);
void view_info(int number, char **name, abook_field_list **fields);
void init_default_views();

#endif /* _VIEWS_H */