/[osn-commons]/trunk/uar/uar.h
ViewVC logotype

Diff of /trunk/uar/uar.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 35 by rakinar2, Thu Aug 8 16:57:39 2024 UTC revision 36 by rakinar2, Thu Aug 8 19:13:26 2024 UTC
# Line 12  struct uar_file; Line 12  struct uar_file;
12  enum uar_error  enum uar_error
13  {  {
14      UAR_SUCCESS,      UAR_SUCCESS,
15        UAR_INVALID_ARCHIVE,
16        UAR_UNSUPPORTED_VERSION,
17      UAR_INVALID_MAGIC,      UAR_INVALID_MAGIC,
18      UAR_INVALID_FILE,      UAR_INVALID_FILE,
19      UAR_IO_ERROR,      UAR_IO_ERROR,
# Line 20  enum uar_error Line 22  enum uar_error
22      UAR_INVALID_OPERATION,      UAR_INVALID_OPERATION,
23      UAR_INVALID_PATH,      UAR_INVALID_PATH,
24      UAR_SYSTEM_ERROR,      UAR_SYSTEM_ERROR,
25      UAR_SYSCALL_ERROR,      UAR_SYSCALL_ERROR
26  };  };
27    
28  enum uar_file_type  enum uar_file_type
# Line 49  void uar_set_create_callback (struct uar Line 51  void uar_set_create_callback (struct uar
51    
52  struct uar_archive *uar_create (void);  struct uar_archive *uar_create (void);
53  struct uar_archive *uar_open (const char *filename);  struct uar_archive *uar_open (const char *filename);
54  struct uar_archive *uar_create_stream (void);  struct uar_archive *uar_stream_open (const char *filename);
55    struct uar_archive *uar_stream_create (void);
56  void uar_close (struct uar_archive *uar);  void uar_close (struct uar_archive *uar);
57    
58  struct uar_file *uar_stream_add_file (struct uar_archive *uar,  struct uar_file *uar_stream_add_file (struct uar_archive *uar,
# Line 100  mode_t uar_file_get_mode (const struct u Line 103  mode_t uar_file_get_mode (const struct u
103  void uar_file_set_mode (struct uar_file *file, mode_t mode);  void uar_file_set_mode (struct uar_file *file, mode_t mode);
104  uint64_t uar_file_get_namelen (const struct uar_file *file);  uint64_t uar_file_get_namelen (const struct uar_file *file);
105  time_t uar_file_get_mtime (const struct uar_file *file);  time_t uar_file_get_mtime (const struct uar_file *file);
106    uid_t uar_file_get_uid (const struct uar_file *file);
107    gid_t uar_file_get_gid (const struct uar_file *file);
108  const char *uar_get_error_file (const struct uar_archive *uar);  const char *uar_get_error_file (const struct uar_archive *uar);
109    
110  #ifdef UAR_PRINT_VERBOSE_IMPL_INFO  #ifdef UAR_PRINT_VERBOSE_IMPL_INFO

Legend:
Removed from v.35  
changed lines
  Added in v.36

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26