Commit ebe86f3b authored by claes's avatar claes

Increased number of possible backup segments

parent 1c7fccff
/* /*
* Proview $Id: rt_bck.c,v 1.14 2008-04-17 14:57:39 claes Exp $ * Proview $Id: rt_bck.c,v 1.15 2008-04-25 11:38:39 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -118,7 +118,7 @@ pdebug () ...@@ -118,7 +118,7 @@ pdebug ()
starting with a cycle header, followed by a number of segments. */ starting with a cycle header, followed by a number of segments. */
typedef struct { typedef struct {
BCK_CYCLEHEAD_STRUCT cyclehead; bck_t_cycleheader cyclehead;
struct { struct {
bck_t_writeheader datahead; bck_t_writeheader datahead;
char data [1]; char data [1];
...@@ -865,7 +865,7 @@ typedef struct BCK_LISTENTRY_STRUCT BCK_LISTENTRY; ...@@ -865,7 +865,7 @@ typedef struct BCK_LISTENTRY_STRUCT BCK_LISTENTRY;
typedef struct { typedef struct {
BCK_LISTENTRY *first; /* First object in list */ BCK_LISTENTRY *first; /* First object in list */
BCK_CYCLEHEAD_STRUCT cyclehead; /* Header for this list */ bck_t_cycleheader cyclehead; /* Header for this list */
} BCK_LISTHEAD; } BCK_LISTHEAD;
...@@ -1099,7 +1099,7 @@ void bck_list_build ( ...@@ -1099,7 +1099,7 @@ void bck_list_build (
blhp->first = NULL; blhp->first = NULL;
clock_gettime(CLOCK_REALTIME, &blhp->cyclehead.objtime); clock_gettime(CLOCK_REALTIME, &blhp->cyclehead.objtime);
blhp->cyclehead.cycle = cycle; blhp->cyclehead.cycle = cycle;
blhp->cyclehead.length = sizeof(BCK_CYCLEHEAD_STRUCT); blhp->cyclehead.length = sizeof(bck_t_cycleheader);
*list = blhp; *list = blhp;
/* Find root of typelist, and walk thru it */ /* Find root of typelist, and walk thru it */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment