"Fossies" - the Fresh Open Source Software Archive

Member "libisoburn-1.5.4/xorriso/sort_cmp.h" (8 Jul 2020, 2033 Bytes) of package /linux/misc/libisoburn-1.5.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "sort_cmp.h" see the Fossies "Dox" file reference documentation.

    1 
    2 /* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
    3 
    4    Copyright 2007-2010 Thomas Schmitt, <scdbackup@gmx.net>
    5 
    6    Provided under GPL version 2 or later.
    7 
    8    This file contains declarations of functions which sort and compare
    9    tree nodes.
   10 */
   11 
   12 
   13 #ifndef Xorriso_pvt_sort_cmp_includeD
   14 #define Xorriso_pvt_sort_cmp_includeD yes
   15 
   16 
   17 int Xorriso__findi_sorted_ino_cmp(const void *p1, const void *p2);
   18 
   19 int Xorriso__hln_cmp(const void *p1, const void *p2);
   20 
   21 int Xorriso__findi_sorted_cmp(const void *p1, const void *p2);
   22 
   23 int Xorriso__search_node(void *node_array[], int n,
   24                          int (*cmp)(const void *p1, const void *p2),
   25                          void *node, int *idx, int flag);
   26 
   27 int Xorriso_search_in_hln_array(struct XorrisO *xorriso,
   28                                  void *node, int *idx, int flag);
   29 
   30 int Xorriso__get_di(IsoNode *node, dev_t *dev, ino_t *ino, int flag);
   31 
   32 int Xorriso__di_ino_cmp(const void *p1, const void *p2);
   33 
   34 int Xorriso__di_cmp(const void *p1, const void *p2);
   35 
   36 int Xorriso__sort_di(void *node_array[], int count, int flag);
   37 
   38 int Xorriso_invalidate_di_item(struct XorrisO *xorriso, IsoNode *node,
   39                                int flag);
   40 
   41 int Xorriso_search_di_range(struct XorrisO *xorriso, IsoNode *node,
   42                             int *idx, int *low, int *high, int flag);
   43 
   44 int Xorriso__node_lba_cmp(const void *node1, const void *node2);
   45 
   46 int Xorriso__node_name_cmp(const void *node1, const void *node2);
   47 
   48 int Xorriso_sorted_node_array(struct XorrisO *xorriso,
   49                               IsoDir *dir_node,
   50                               int *nodec, IsoNode ***node_array,
   51                               off_t boss_mem, int flag);
   52 
   53 int Xorriso_remake_hln_array(struct XorrisO *xorriso, int flag);
   54 
   55 int Xorriso_make_di_array(struct XorrisO *xorriso, int flag);
   56 
   57 int Xorriso_search_hardlinks(struct XorrisO *xorriso, IsoNode *node,
   58                             int *node_idx, int *min_hl, int *max_hl, int flag);
   59 
   60 
   61 #endif /* ! Xorriso_pvt_sort_cmp_includeD */
   62