~ubuntu-branches/debian/stretch/jfsutils/stretch

« back to all changes in this revision

Viewing changes to fsck/fsckxlog.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Hornburg (Racke)
  • Date: 2005-01-07 10:12:20 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050107101220-ka3f7smw42zysmk1
Tags: 1.1.7-1
* new upstream release (Closes: #289106)
* start synopsis with lowercase

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *   Copyright (c) International Business Machines  Corp., 2000
3
 
 *
4
 
 *   This program is free software;  you can redistribute it and/or modify
5
 
 *   it under the terms of the GNU General Public License as published by
6
 
 *   the Free Software Foundation; either version 2 of the License, or 
7
 
 *   (at your option) any later version.
8
 
 * 
9
 
 *   This program is distributed in the hope that it will be useful,
10
 
 *   but WITHOUT ANY WARRANTY;  without even the implied warranty of
11
 
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
12
 
 *   the GNU General Public License for more details.
13
 
 *
14
 
 *   You should have received a copy of the GNU General Public License
15
 
 *   along with this program;  if not, write to the Free Software 
16
 
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
 
 *
18
 
 *   COMPONENT_NAME: jfs utilities
19
 
 *
20
 
 *   FUNCTIONS: none
21
 
 *
22
 
 */
23
 
#ifndef H_FSCKXLOG
24
 
#define H_FSCKXLOG
25
 
 
26
 
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
27
 
 *
28
 
 *  The first log message number for the JFS fsck Service Log
29
 
 *
30
 
 *
31
 
 */
32
 
 
33
 
#define JFSCHKLOG_FIRSTMSGNUM 10000
34
 
 
35
 
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
36
 
 *
37
 
 *  The format of the log entry in the file created by
38
 
 *  extracting the contents of the fsck service log
39
 
 *  (stored in the fsck workspace) into a file.
40
 
 *
41
 
 *
42
 
 * N.B. The log entries are blocked such that no log entry crosses
43
 
 *      an XCHKLOG_BUFSIZE byte boundary in the file.
44
 
 */
45
 
 
46
 
#define XCHKLOG_BUFSIZE  8192
47
 
 
48
 
#define jfs_chklog_eyecatcher "JFS chkdskSvcLog"
49
 
 
50
 
typedef struct chklog_entry_hdr {
51
 
  short  entry_length;
52
 
  short  msg_num;
53
 
  short  num_parms;
54
 
  }  chklog_entry_hdr_t;
55
 
 
56
 
typedef struct chklog_entry_hdr *chklogent_hdptr;
57
 
 
58
 
typedef short *chklogent_prmlen; /* array of parm lengths */
59
 
 
60
 
typedef char  *chklogent_prmstr_ptr; /* to step through the
61
 
                              * string literal parms (if any)
62
 
                              */
63
 
 
64
 
#endif