Support for identification of source Streams.

We identify uniquelly a given source Stream by a triple of numbers: the
filesystem id, the device id inside the filesystem, and the inode id.
This commit is contained in:
Vreixo Formoso
2007-12-15 12:51:48 +01:00
parent 8f7222609e
commit dd83f85d09
5 changed files with 73 additions and 0 deletions

View File

@ -9,6 +9,11 @@
#include "fsource.h"
#include <stdlib.h>
/**
* Values belong 100 are reserved for out own usage
*/
unsigned int iso_fs_global_id = 100;
void iso_file_source_ref(IsoFileSource *src)
{
++src->refcount;