libsquashfs
1.3.2
A new set of tools and libraries for working with SquashFS images
|
Base interface for all libsquashfs in-memory data structures. More...
#include <predef.h>
Public Member Functions | |
static SQFS_INLINE void | sqfs_destroy (void *obj) |
Destroy an object and free all its memory. More... | |
static SQFS_INLINE void * | sqfs_copy (const void *obj) |
Create a deep copy of an object if possible. More... | |
Data Fields | |
void(* | destroy )(struct sqfs_object_t *instance) |
struct sqfs_object_t *(* | copy )(const struct sqfs_object_t *orig) |
Base interface for all libsquashfs in-memory data structures.
static SQFS_INLINE void * sqfs_copy | ( | const void * | obj | ) |
static SQFS_INLINE void sqfs_destroy | ( | void * | obj | ) |
Destroy an object and free all its memory.
obj | A pointer to an object or NULL |