--- gamin/libgamin/fam.h (révision 326) +++ gamin/libgamin/fam.h (révision 327) @@ -190,6 +190,30 @@ extern int FAMErrno; /** + * FAMDebugLevel: + * + * Currently unimplemented as in the SGI FAM. Exists only for + * compatibility. + */ +extern int FAMDebugLevel (FAMConnection *fc, + int level); +/** + * FAM_DEBUG_OFF: + * Unused macro, compatibility for SGI FAM API. + */ +#define FAM_DEBUG_OFF 0 +/** + * FAM_DEBUG_ON: + * Unused macro, compatibility for SGI FAM API. + */ +#define FAM_DEBUG_ON 1 +/** + * FAM_DEBUG_VERBOSE: + * Unused macro, compatibility for SGI FAM API. + */ +#define FAM_DEBUG_VERBOSE 2 + +/** * FamErrList: * * In case FAMErrno is set, FAMErrlist is a global string array indexed --- gamin/libgamin/gam_api.c (révision 326) +++ gamin/libgamin/gam_api.c (révision 327) @@ -1529,4 +1529,20 @@ } return(ret); } + +/** + * FAMDebugLevel: + * @fc: pointer to a connection structure. + * @level: level of debug + * + * Entry point installed only for ABI compatibility with SGI FAM, + * doesn't do anything. + * + * Returns 1 + */ +int +FAMDebugLevel(FAMConnection *fc, int level) +{ + return(1); +} #endif