plptools
Loading...
Searching...
No Matches
sisreqrecord.h
Go to the documentation of this file.
1/*
2 * This file is part of plptools.
3 *
4 * Copyright (C) 2002 Daniel Brahneborg <basic.chello@se>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * along with this program; if not, see <https://www.gnu.org/licenses/>.
18 */
19
20#ifndef _SISREQRECORD_H
21#define _SISREQRECORD_H
22
23#include "sistypes.h"
24
25class SISFile;
26
32{
33public:
34
44 SisRC fillFrom(uint8_t* buf, int* base, off_t len, SISFile* sisFile);
45
46 uint32_t m_uid;
47 uint16_t m_major;
48 uint16_t m_minor;
49 uint32_t m_variant;
50 uint32_t* m_nameLengths;
51 uint32_t* m_namePtrs;
52};
53
54#endif
The top level container of a SIS file.
Definition: sisfile.h:36
Information about an application that must be installed prior to the current one.
Definition: sisreqrecord.h:32
uint32_t m_uid
Definition: sisreqrecord.h:46
uint16_t m_major
Definition: sisreqrecord.h:47
uint32_t m_variant
Definition: sisreqrecord.h:49
uint32_t * m_namePtrs
Definition: sisreqrecord.h:51
SisRC fillFrom(uint8_t *buf, int *base, off_t len, SISFile *sisFile)
Populate the fields.
uint16_t m_minor
Definition: sisreqrecord.h:48
uint32_t * m_nameLengths
Definition: sisreqrecord.h:50
SisRC
Return Codes.
Definition: sistypes.h:29