- typo: s/compenent/component/g
add a bit of documentation.
This commit is contained in:
parent
a13cca9cf4
commit
9457e70357
@ -1,3 +1,4 @@
|
|||||||
|
/* vi: set sw=4 ts=4: */
|
||||||
#ifndef __UNARCHIVE_H__
|
#ifndef __UNARCHIVE_H__
|
||||||
#define __UNARCHIVE_H__
|
#define __UNARCHIVE_H__
|
||||||
|
|
||||||
@ -25,11 +26,13 @@ typedef struct file_headers_s {
|
|||||||
} file_header_t;
|
} file_header_t;
|
||||||
|
|
||||||
typedef struct archive_handle_s {
|
typedef struct archive_handle_s {
|
||||||
/* define if the header and data compenent should processed */
|
/* define if the header and data component should processed */
|
||||||
char (*filter)(struct archive_handle_s *);
|
char (*filter)(struct archive_handle_s *);
|
||||||
llist_t *accept;
|
llist_t *accept;
|
||||||
|
/* List of files that have been rejected */
|
||||||
llist_t *reject;
|
llist_t *reject;
|
||||||
llist_t *passed; /* List of files that have successfully been worked on */
|
/* List of files that have successfully been worked on */
|
||||||
|
llist_t *passed;
|
||||||
|
|
||||||
/* Contains the processed header entry */
|
/* Contains the processed header entry */
|
||||||
file_header_t *file_header;
|
file_header_t *file_header;
|
||||||
@ -58,7 +61,7 @@ typedef struct archive_handle_s {
|
|||||||
/* Temporary storage */
|
/* Temporary storage */
|
||||||
char *buffer;
|
char *buffer;
|
||||||
|
|
||||||
/* Misc. stuff */
|
/* Flags and misc. stuff */
|
||||||
unsigned char flags;
|
unsigned char flags;
|
||||||
|
|
||||||
} archive_handle_t;
|
} archive_handle_t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user