New API call iso_node_get_hidden().
This commit is contained in:
parent
9be5b241e2
commit
c0963596e5
@ -795,6 +795,7 @@ struct IsoStream_Iface
|
||||
/**
|
||||
* Type of Stream.
|
||||
* "fsrc" -> Read from file source
|
||||
* "cout" -> Cut out interval from disk file
|
||||
* "mem " -> Read from memory
|
||||
* "boot" -> Boot catalog
|
||||
* "extf" -> External filter program
|
||||
@ -3009,6 +3010,19 @@ time_t iso_node_get_ctime(const IsoNode *node);
|
||||
*/
|
||||
void iso_node_set_hidden(IsoNode *node, int hide_attrs);
|
||||
|
||||
/**
|
||||
* Get the hide_attrs as eventually set by iso_node_set_hidden().
|
||||
*
|
||||
* @param node
|
||||
* The node to inquire.
|
||||
* @return
|
||||
* Or-combination of values from enum IsoHideNodeFlag which are
|
||||
* currently set for the node.
|
||||
*
|
||||
* @since 0.6.34
|
||||
*/
|
||||
int iso_node_get_hidden(IsoNode *node);
|
||||
|
||||
/**
|
||||
* Compare two nodes whether they are based on the same input and
|
||||
* can be considered as hardlinks to the same file objects.
|
||||
|
@ -432,6 +432,12 @@ void iso_node_set_hidden(IsoNode *node, int hide_attrs)
|
||||
}
|
||||
}
|
||||
|
||||
int iso_node_get_hidden(IsoNode *node)
|
||||
{
|
||||
return node->hidden;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add a new node to a dir. Note that this function don't add a new ref to
|
||||
* the node, so you don't need to free it, it will be automatically freed
|
||||
|
Loading…
Reference in New Issue
Block a user