xorriso  1.5.4.pl02
About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.
  Fossies Dox: xorriso-1.5.4.pl02.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

aaip_0_2.h File Reference
#include <unistd.h>
Include dependency graph for aaip_0_2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define Aaip_h_is_includeD   yes
 

Functions

ssize_t aaip_encode (size_t num_attrs, char **names, size_t *value_lengths, char **values, size_t *result_len, unsigned char **result, int flag)
 
int aaip_encode_acl (char *acl_text, mode_t st_mode, size_t *result_len, unsigned char **result, int flag)
 
int aaip_encode_both_acl (char *a_acl_text, char *d_acl_text, mode_t st_mode, size_t *result_len, unsigned char **result, int flag)
 
int aaip_cleanout_st_mode (char *acl_text, mode_t *st_mode, int flag)
 
int aaip_add_acl_st_mode (char *acl_text, mode_t st_mode, int flag)
 
int aaip_local_attr_support (int flag)
 
int aaip_get_acl_text (char *path, char **text, int flag)
 
int aaip_get_attr_list (char *path, size_t *num_attrs, char ***names, size_t **value_lengths, char ***values, int flag)
 
size_t aaip_count_bytes (unsigned char *data, int flag)
 
size_t aaip_sizeof_aaip_state (void)
 
int aaip_init_aaip_state (struct aaip_state *aaip, int flag)
 
int aaip_submit_data (struct aaip_state *aaip, unsigned char *data, size_t num_data, size_t *ready_bytes, int flag)
 
int aaip_fetch_data (struct aaip_state *aaip, char *result, size_t result_size, size_t *num_result, int flag)
 
int aaip_skip_component (struct aaip_state *aaip, int flag)
 
int aaip_decode_pair (struct aaip_state *aaip, unsigned char *data, size_t num_data, size_t *consumed, char *name, size_t name_size, size_t *name_fill, char *value, size_t value_size, size_t *value_fill, int flag)
 
unsigned int aaip_get_pairs_skipped (struct aaip_state *aaip, int flag)
 
int aaip_decode_attrs (struct aaip_state **handle, size_t memory_limit, size_t num_attr_limit, unsigned char *data, size_t num_data, size_t *consumed, int flag)
 
int aaip_get_decoded_attrs (struct aaip_state **handle, size_t *num_attrs, char ***names, size_t **value_lengths, char ***values, int flag)
 
int aaip_decode_acl (unsigned char *data, size_t num_data, size_t *consumed, char *acl_text, size_t acl_text_size, size_t *acl_text_fill, int flag)
 
int aaip_set_acl_text (char *path, char *text, int flag)
 
int aaip_set_attr_list (char *path, size_t num_attrs, char **names, size_t *value_lengths, char **values, int *errnos, int flag)
 

Macro Definition Documentation

◆ Aaip_h_is_includeD

#define Aaip_h_is_includeD   yes

Definition at line 22 of file aaip_0_2.h.

Function Documentation

◆ aaip_add_acl_st_mode()

int aaip_add_acl_st_mode ( char *  acl_text,
mode_t  st_mode,
int  flag 
)

Definition at line 865 of file aaip_0_2.c.

References aaip_cleanout_st_mode().

Referenced by iso_attr_get_acl_text().

◆ aaip_cleanout_st_mode()

int aaip_cleanout_st_mode ( char *  acl_text,
mode_t *  st_mode,
int  flag 
)

◆ aaip_count_bytes()

size_t aaip_count_bytes ( unsigned char *  data,
int  flag 
)

◆ aaip_decode_acl()

int aaip_decode_acl ( unsigned char *  data,
size_t  num_data,
size_t *  consumed,
char *  acl_text,
size_t  acl_text_size,
size_t *  acl_text_fill,
int  flag 
)

◆ aaip_decode_attrs()

◆ aaip_decode_pair()

int aaip_decode_pair ( struct aaip_state aaip,
unsigned char *  data,
size_t  num_data,
size_t *  consumed,
char *  name,
size_t  name_size,
size_t *  name_fill,
char *  value,
size_t  value_size,
size_t *  value_fill,
int  flag 
)

◆ aaip_encode()

ssize_t aaip_encode ( size_t  num_attrs,
char **  names,
size_t *  value_lengths,
char **  values,
size_t *  result_len,
unsigned char **  result,
int  flag 
)

Definition at line 100 of file aaip_0_2.c.

References aaip_encode_pair(), and ISO_OUT_OF_MEM.

Referenced by iso_node_set_attrs(), and lfs_get_aa_string().

◆ aaip_encode_acl()

int aaip_encode_acl ( char *  acl_text,
mode_t  st_mode,
size_t *  result_len,
unsigned char **  result,
int  flag 
)

Definition at line 292 of file aaip_0_2.c.

References aaip_encode_acl_text().

Referenced by aaip_encode_both_acl(), and aaip_get_attr_list().

◆ aaip_encode_both_acl()

int aaip_encode_both_acl ( char *  a_acl_text,
char *  d_acl_text,
mode_t  st_mode,
size_t *  result_len,
unsigned char **  result,
int  flag 
)

Definition at line 618 of file aaip_0_2.c.

References aaip_encode_acl().

Referenced by aaip_get_attr_list(), and iso_node_set_acl_text().

◆ aaip_fetch_data()

int aaip_fetch_data ( struct aaip_state aaip,
char *  result,
size_t  result_size,
size_t *  num_result,
int  flag 
)

◆ aaip_get_acl_text()

int aaip_get_acl_text ( char *  path,
char **  text,
int  flag 
)

Definition at line 64 of file aaip-os-dummy.c.

References aaip_cleanout_st_mode().

Referenced by aaip_get_attr_list(), and iso_local_get_acl_text().

◆ aaip_get_attr_list()

int aaip_get_attr_list ( char *  path,
size_t *  num_attrs,
char ***  names,
size_t **  value_lengths,
char ***  values,
int  flag 
)

◆ aaip_get_decoded_attrs()

int aaip_get_decoded_attrs ( struct aaip_state **  handle,
size_t *  num_attrs,
char ***  names,
size_t **  value_lengths,
char ***  values,
int  flag 
)

◆ aaip_get_pairs_skipped()

unsigned int aaip_get_pairs_skipped ( struct aaip_state aaip,
int  flag 
)

Definition at line 1716 of file aaip_0_2.c.

References aaip_state::pairs_skipped.

◆ aaip_init_aaip_state()

◆ aaip_local_attr_support()

int aaip_local_attr_support ( int  flag)

Definition at line 53 of file aaip-os-dummy.c.

Referenced by iso_local_attr_support().

◆ aaip_set_acl_text()

int aaip_set_acl_text ( char *  path,
char *  text,
int  flag 
)

Definition at line 91 of file aaip-os-dummy.c.

Referenced by aaip_set_attr_list(), and iso_local_set_acl_text().

◆ aaip_set_attr_list()

int aaip_set_attr_list ( char *  path,
size_t  num_attrs,
char **  names,
size_t *  value_lengths,
char **  values,
int *  errnos,
int  flag 
)

Definition at line 106 of file aaip-os-dummy.c.

References aaip_decode_acl(), aaip_set_acl_text(), and register_errno().

Referenced by iso_local_set_attrs_errno().

◆ aaip_sizeof_aaip_state()

size_t aaip_sizeof_aaip_state ( void  )

Definition at line 977 of file aaip_0_2.c.

◆ aaip_skip_component()

◆ aaip_submit_data()

int aaip_submit_data ( struct aaip_state aaip,
unsigned char *  data,
size_t  num_data,
size_t *  ready_bytes,
int  flag 
)