Base interface for all libsquashfs in-memory data structures.  
 More...
#include <predef.h>
 | 
| static SQFS_INLINE void  | sqfs_destroy (void *obj) | 
|   | Destroy an object and free all its memory.  
  | 
|   | 
| static SQFS_INLINE void *  | sqfs_copy (const void *obj) | 
|   | Create a deep copy of an object if possible.  
  | 
|   | 
Base interface for all libsquashfs in-memory data structures. 
Definition at line 126 of file predef.h.
 
◆ sqfs_copy()
  
  
      
        
          | static SQFS_INLINE void * sqfs_copy  | 
          ( | 
          const void *  | 
          obj | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Create a deep copy of an object if possible. 
- Parameters
 - 
  
    | obj | A pointer to an object | 
  
   
- Returns
 - A pointer to a new object, instantiated from the old on success, NULL on failure. 
 
Definition at line 155 of file predef.h.
 
 
◆ sqfs_destroy()
  
  
      
        
          | static SQFS_INLINE void sqfs_destroy  | 
          ( | 
          void *  | 
          obj | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Destroy an object and free all its memory. 
- Parameters
 - 
  
    | obj | A pointer to an object or NULL  | 
  
   
Definition at line 139 of file predef.h.
 
 
◆ copy
◆ destroy
The documentation for this interface was generated from the following file: