PebbleOS v4.45.0-223-gf3212a729
Loading...
Searching...
No Matches
pbl_i18n_catalog Struct Reference

Catalog of translations, a gettext MO file. More...

#include <i18n.h>

Data Fields

int(* read )(void *data, uint32_t offset, void *buf, size_t length)
 Read from the catalog.
 
void * data
 Data passed to pbl_i18n_catalog::read.
 
size_t size
 Size of the catalog in bytes.
 

Detailed Description

Catalog of translations, a gettext MO file.

Field Documentation

◆ data

void* pbl_i18n_catalog::data

Data passed to pbl_i18n_catalog::read.

◆ read

int(* pbl_i18n_catalog::read) (void *data, uint32_t offset, void *buf, size_t length)

Read from the catalog.

Parameters
datapbl_i18n_catalog::data.
offsetOffset in bytes from the start of the catalog.
[out]bufOutput buffer.
lengthNumber of bytes to read.
Returns
0 if length bytes were read, negative errno otherwise.

◆ size

size_t pbl_i18n_catalog::size

Size of the catalog in bytes.


The documentation for this struct was generated from the following file: