Introduce a Cell List to store tablespace data

This commit is contained in:
Gianni Ciolli
2016-07-15 19:48:54 +02:00
parent ecdae9671f
commit 9853581d12
2 changed files with 68 additions and 46 deletions

View File

@@ -105,6 +105,22 @@ typedef struct ItemList
ItemListCell *tail;
} ItemList;
typedef struct TablespaceDataListCell
{
struct TablespaceDataListCell *next;
char *name;
char *oid;
char *location;
/* optional payload */
FILE *f;
} TablespaceDataListCell;
typedef struct TablespaceDataList
{
TablespaceDataListCell *head;
TablespaceDataListCell *tail;
} TablespaceDataList;
void set_progname(const char *argv0);
const char * progname(void);