GPAK  1.0.0
A general-purpose archive library

◆ gpak_mode_flag

Brief Description:\n Enumeration representing the mode flags for G-PAK archive operations.

This enumeration contains values representing the different mode flags that can be used to control the behavior of G-PAK archive operations, such as creating, reading, and updating archives.

Enumerator
GPAK_MODE_NONE 

No specific mode flag is set.

GPAK_MODE_CREATE 

Create mode: allows writing to the archive. Analogous to write byte operation.

GPAK_MODE_READ_ONLY 

Read-only mode: allows only reading from the archive. Analogous to read byte operation.

GPAK_MODE_UPDATE 

Update mode: allows both reading and writing to the archive.

Definition at line 204 of file gpak_data.h.

205 {
206  GPAK_MODE_NONE = 0, /**< No specific mode flag is set. */
207  GPAK_MODE_CREATE = 1 << 0, /**< Create mode: allows writing to the archive. Analogous to write byte operation. */
208  GPAK_MODE_READ_ONLY = 1 << 1, /**< Read-only mode: allows only reading from the archive. Analogous to read byte operation. */
209  GPAK_MODE_UPDATE = 1 << 2 /**< Update mode: allows both reading and writing to the archive. */
210 };
@ GPAK_MODE_READ_ONLY
Definition: gpak_data.h:208
@ GPAK_MODE_NONE
Definition: gpak_data.h:206
@ GPAK_MODE_CREATE
Definition: gpak_data.h:207
@ GPAK_MODE_UPDATE
Definition: gpak_data.h:209