1 /* 2 Copyright (C) 2015-2021, Dirk Krause 3 SPDX-License-Identifier: BSD-3-Clause 4 */ 5 6 /* 7 WARNING: This file was generated by the dkct program (see 8 http://dktools.sourceforge.net/ for details). 9 Changes you make here will be lost if dkct is run again! 10 You should modify the original source and run dkct on it. 11 Original source: dk4ufic.ctr 12 */ 13 14 #ifndef DK4UFIC_H_INCLUDED 15 /** Avoid multiple inclusions. */ 16 #define DK4UFIC_H_INCLUDED 1 17 18 19 /** @file 20 Compare unique file identifiers. 21 */ 22 23 #ifndef DK4CONF_H_INCLUDED 24 #if DK4_BUILDING_DKTOOLS4 25 #include "dk4conf.h" 26 #else 27 #include <dktools-4/dk4conf.h> 28 #endif 29 #endif 30 31 #ifndef DK4UFIT_H_INCLUDED 32 #if DK4_BUILDING_DKTOOLS4 33 #include <libdk4c/dk4ufit.h> 34 #else 35 #include <dktools-4/dk4ufit.h> 36 #endif 37 #endif 38 39 #ifdef __cplusplus 40 extern "C" { 41 #endif 42 43 /** Compare two unique file identifiers. 44 @param l Left identifier. 45 @param r Right identifier. 46 @return 1 if l>r, 0 if l=r, -1 if l<r. 47 */ 48 int 49 dk4ufi_compare(const dk4_ufi_t *l, const dk4_ufi_t *r); 50 51 #ifdef __cplusplus 52 } 53 #endif 54 55 56 57 #endif 58