'Replica of ldconfig.c struct dir_entry.  Meant to hold ldconfig directories.
In order to detect duplicates the inode and device number are compared on insert.
/* List of directories to handle.  */
struct dir_entry
char *path;
int flag;
ino64_t ino;
dev_t dev;
struct dir_entry *next;
:param path: library path
:type path: str
:param flag: string like \'libc4\',\'libc5\', \'libc6\', \'glibc2\'
:type flag: str
:param ino: inode number
:type ino: int
:param dev: id of device containing file
:type dev: long'

def __init__(self, path, flag, ino, dev):

    self.path = path
    self.flag = flag
    self.ino = ino
    self.dev = dev
