• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

ark

bk.h File Reference

#include <stdbool.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <limits.h>
#include "bkError.h"

Include dependency graph for bk.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

struct  BkFileBase
struct  BkDir
struct  BkHardLink
struct  BkFile
struct  BkSymLink
struct  VolInfo

Defines

#define FNTYPE_9660   1
#define FNTYPE_ROCKRIDGE   2
#define FNTYPE_JOLIET   4
#define NCHARS_FILE_ID_MAX_STORE   256
#define NCHARS_SYMLINK_TARGET_MAX   251
#define MAX_NBYTES_HARDLINK_HEAD   32
#define BOOT_MEDIA_NONE   0
#define BOOT_MEDIA_NO_EMULATION   1
#define BOOT_MEDIA_1_2_FLOPPY   2
#define BOOT_MEDIA_1_44_FLOPPY   3
#define BOOT_MEDIA_2_88_FLOPPY   4
#define BOOT_MEDIA_HARD_DISK   5
#define READ_WRITE_BUFFER_SIZE   102400
#define BK_WARNING_MAX_LEN   512
#define IS_DIR(posix)   ((posix & 0770000) == 0040000)
#define IS_REG_FILE(posix)   ((posix & 0770000) == 0100000)
#define IS_SYMLINK(posix)   ((posix & 0770000) == 0120000)
#define BK_BASE_PTR(item)   ((BkFileBase*)(item))
#define BK_DIR_PTR(item)   ((BkDir*)(item))
#define BK_FILE_PTR(item)   ((BkFile*)(item))
#define BK_SYMLINK_PTR(item)   ((BkSymLink*)(item))

Functions

int bk_add_boot_record (VolInfo *volInfo, const char *srcPathAndName, int bootMediaType)
int bk_add (VolInfo *volInfo, const char *srcPathAndName, const char *destPathStr, void(*progressFunction)(VolInfo *))
int bk_add_as (VolInfo *volInfo, const char *srcPathAndName, const char *destPathStr, const char *nameToUse, void(*progressFunction)(VolInfo *))
int bk_create_dir (VolInfo *volInfo, const char *destPathStr, const char *newDirName)
void bk_delete_boot_record (VolInfo *volInfo)
int bk_delete (VolInfo *volInfo, const char *pathAndName)
int bk_extract_boot_record (VolInfo *volInfo, const char *destPathAndName, unsigned destFilePerms)
int bk_extract (VolInfo *volInfo, const char *srcPathAndName, const char *destDir, bool keepPermissions, void(*progressFunction)(VolInfo *))
int bk_extract_as (VolInfo *volInfo, const char *srcPathAndName, const char *destDir, const char *nameToUse, bool keepPermissions, void(*progressFunction)(VolInfo *))
off_t bk_estimate_iso_size (const VolInfo *volInfo, int filenameTypes)
time_t bk_get_creation_time (const VolInfo *volInfo)
int bk_get_dir_from_string (const VolInfo *volInfo, const char *pathStr, BkDir **dirFoundPtr)
int bk_get_permissions (VolInfo *volInfo, const char *pathAndName, mode_t *permissions)
const char * bk_get_publisher (const VolInfo *volInfo)
const char * bk_get_volume_name (const VolInfo *volInfo)
const char * bk_get_error_string (int errorId)
void bk_cancel_operation (VolInfo *volInfo)
void bk_destroy_vol_info (VolInfo *volInfo)
int bk_init_vol_info (VolInfo *volInfo, bool scanForDuplicateFiles)
int bk_rename (VolInfo *volInfo, const char *srcPathAndName, const char *newName)
int bk_set_boot_file (VolInfo *volInfo, const char *srcPathAndName)
void bk_set_follow_symlinks (VolInfo *volInfo, bool doFollow)
int bk_set_permissions (VolInfo *volInfo, const char *pathAndName, mode_t permissions)
void bk_set_publisher (VolInfo *volInfo, const char *publisher)
void bk_set_vol_name (VolInfo *volInfo, const char *volName)
int bk_open_image (VolInfo *volInfo, const char *filename)
int bk_read_dir_tree (VolInfo *volInfo, int filenameType, bool keepPosixPermissions, void(*progressFunction)(VolInfo *))
int bk_read_vol_info (VolInfo *volInfo)
int bk_write_image (const char *newImagePathAndName, VolInfo *volInfo, time_t creationTime, int filenameTypes, void(*progressFunction)(VolInfo *, double))

Define Documentation

#define BK_BASE_PTR ( item   )     ((BkFileBase*)(item))

Definition at line 72 of file bk.h.

#define BK_DIR_PTR ( item   )     ((BkDir*)(item))

Definition at line 73 of file bk.h.

#define BK_FILE_PTR ( item   )     ((BkFile*)(item))

Definition at line 74 of file bk.h.

#define BK_SYMLINK_PTR ( item   )     ((BkSymLink*)(item))

Definition at line 75 of file bk.h.

#define BK_WARNING_MAX_LEN   512

Definition at line 66 of file bk.h.

#define BOOT_MEDIA_1_2_FLOPPY   2

Definition at line 58 of file bk.h.

#define BOOT_MEDIA_1_44_FLOPPY   3

Definition at line 59 of file bk.h.

#define BOOT_MEDIA_2_88_FLOPPY   4

Definition at line 60 of file bk.h.

#define BOOT_MEDIA_HARD_DISK   5

Definition at line 61 of file bk.h.

#define BOOT_MEDIA_NO_EMULATION   1

Definition at line 57 of file bk.h.

#define BOOT_MEDIA_NONE   0

Definition at line 56 of file bk.h.

#define FNTYPE_9660   1

Definition at line 39 of file bk.h.

#define FNTYPE_JOLIET   4

Definition at line 41 of file bk.h.

#define FNTYPE_ROCKRIDGE   2

Definition at line 40 of file bk.h.

#define IS_DIR ( posix   )     ((posix & 0770000) == 0040000)

Definition at line 68 of file bk.h.

#define IS_REG_FILE ( posix   )     ((posix & 0770000) == 0100000)

Definition at line 69 of file bk.h.

#define IS_SYMLINK ( posix   )     ((posix & 0770000) == 0120000)

Definition at line 70 of file bk.h.

#define MAX_NBYTES_HARDLINK_HEAD   32

Definition at line 53 of file bk.h.

#define NCHARS_FILE_ID_MAX_STORE   256

Definition at line 44 of file bk.h.

#define NCHARS_SYMLINK_TARGET_MAX   251

Definition at line 49 of file bk.h.

#define READ_WRITE_BUFFER_SIZE   102400

Definition at line 63 of file bk.h.


Function Documentation

int bk_add ( VolInfo *  volInfo,
const char *  srcPathAndName,
const char *  destPathStr,
void(*)(VolInfo *)  progressFunction 
)

int bk_add_as ( VolInfo *  volInfo,
const char *  srcPathAndName,
const char *  destPathStr,
const char *  nameToUse,
void(*)(VolInfo *)  progressFunction 
)

int bk_add_boot_record ( VolInfo *  volInfo,
const char *  srcPathAndName,
int  bootMediaType 
)

void bk_cancel_operation ( VolInfo *  volInfo  ) 

int bk_create_dir ( VolInfo *  volInfo,
const char *  destPathStr,
const char *  newDirName 
)

int bk_delete ( VolInfo *  volInfo,
const char *  pathAndName 
)

void bk_delete_boot_record ( VolInfo *  volInfo  ) 

void bk_destroy_vol_info ( VolInfo *  volInfo  ) 

off_t bk_estimate_iso_size ( const VolInfo *  volInfo,
int  filenameTypes 
)

int bk_extract ( VolInfo *  volInfo,
const char *  srcPathAndName,
const char *  destDir,
bool  keepPermissions,
void(*)(VolInfo *)  progressFunction 
)

int bk_extract_as ( VolInfo *  volInfo,
const char *  srcPathAndName,
const char *  destDir,
const char *  nameToUse,
bool  keepPermissions,
void(*)(VolInfo *)  progressFunction 
)

int bk_extract_boot_record ( VolInfo *  volInfo,
const char *  destPathAndName,
unsigned  destFilePerms 
)

time_t bk_get_creation_time ( const VolInfo *  volInfo  ) 

int bk_get_dir_from_string ( const VolInfo *  volInfo,
const char *  pathStr,
BkDir **  dirFoundPtr 
)

const char* bk_get_error_string ( int  errorId  ) 

int bk_get_permissions ( VolInfo *  volInfo,
const char *  pathAndName,
mode_t *  permissions 
)

const char* bk_get_publisher ( const VolInfo *  volInfo  ) 

const char* bk_get_volume_name ( const VolInfo *  volInfo  ) 

int bk_init_vol_info ( VolInfo *  volInfo,
bool  scanForDuplicateFiles 
)

int bk_open_image ( VolInfo *  volInfo,
const char *  filename 
)

int bk_read_dir_tree ( VolInfo *  volInfo,
int  filenameType,
bool  keepPosixPermissions,
void(*)(VolInfo *)  progressFunction 
)

int bk_read_vol_info ( VolInfo *  volInfo  ) 

int bk_rename ( VolInfo *  volInfo,
const char *  srcPathAndName,
const char *  newName 
)

int bk_set_boot_file ( VolInfo *  volInfo,
const char *  srcPathAndName 
)

void bk_set_follow_symlinks ( VolInfo *  volInfo,
bool  doFollow 
)

int bk_set_permissions ( VolInfo *  volInfo,
const char *  pathAndName,
mode_t  permissions 
)

void bk_set_publisher ( VolInfo *  volInfo,
const char *  publisher 
)

void bk_set_vol_name ( VolInfo *  volInfo,
const char *  volName 
)

int bk_write_image ( const char *  newImagePathAndName,
VolInfo *  volInfo,
time_t  creationTime,
int  filenameTypes,
void(*)(VolInfo *, double)  progressFunction 
)

ark

Skip menu "ark"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal