Added more files, mainly beginning of filesystem sources implementation.
This commit is contained in:
@@ -8,12 +8,33 @@
|
||||
#ifndef LIBISO_LIBISOFS_H_
|
||||
#define LIBISO_LIBISOFS_H_
|
||||
|
||||
typedef struct Iso_Tree_Node IsoTreeNode;
|
||||
typedef struct Iso_Node IsoNode;
|
||||
typedef struct Iso_Dir IsoDir;
|
||||
|
||||
/**
|
||||
* Increments the reference counting of the given node.
|
||||
*/
|
||||
void iso_node_ref(IsoTreeNode *node);
|
||||
void iso_node_ref(IsoNode *node);
|
||||
|
||||
/**
|
||||
* Decrements the reference couting of the given node.
|
||||
* If it reach 0, the node is free, and, if the node is a directory,
|
||||
* its children will be unref() too.
|
||||
*/
|
||||
void iso_node_unref(IsoNode *node);
|
||||
|
||||
/**
|
||||
* Set the name of a node.
|
||||
*
|
||||
* @param name The name in UTF-8 encoding
|
||||
*/
|
||||
void iso_node_set_name(IsoNode *node, const char *name);
|
||||
|
||||
/**
|
||||
* Get the name of a node (in UTF-8).
|
||||
* The returned string belongs to the node and should not be modified nor
|
||||
* freed. Use strdup if you really need your own copy.
|
||||
*/
|
||||
const char *iso_node_get_name(IsoNode *node);
|
||||
|
||||
#endif /*LIBISO_LIBISOFS_H_*/
|
||||
|
Reference in New Issue
Block a user