"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libinotifytools/src/inotifytools/inotifytools.h" between
inotify-tools-3.20.2.2.tar.gz and inotify-tools-3.20.11.0.tar.gz

About: inotify-tools offers commandline utilities relating to inotify (wait for or watch particular events on files).

inotifytools.h  (inotify-tools-3.20.2.2):inotifytools.h  (inotify-tools-3.20.11.0)
skipping to change at line 16 skipping to change at line 16
#define lstat64 lstat #define lstat64 lstat
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {
#endif #endif
#include <stdio.h> #include <stdio.h>
#define MAX_STRLEN 4096
/** @struct nstring
* @brief This structure holds string that can contain any charater including N
ULL.
* @var nstring::buf
* Member 'buf' contains character buffer. It can hold up to 4096 characters.
* @var nstring::len
* Member 'len' contains number of characters in buffer.
*/
struct nstring {
char buf[MAX_STRLEN];
unsigned int len;
};
int inotifytools_str_to_event(char const * event); int inotifytools_str_to_event(char const * event);
int inotifytools_str_to_event_sep(char const * event, char sep); int inotifytools_str_to_event_sep(char const * event, char sep);
char * inotifytools_event_to_str(int events); char * inotifytools_event_to_str(int events);
char * inotifytools_event_to_str_sep(int events, char sep); char * inotifytools_event_to_str_sep(int events, char sep);
void inotifytools_set_filename_by_wd( int wd, char const * filename ); void inotifytools_set_filename_by_wd( int wd, char const * filename );
void inotifytools_set_filename_by_filename( char const * oldname, void inotifytools_set_filename_by_filename( char const * oldname,
char const * newname ); char const * newname );
void inotifytools_replace_filename( char const * oldname, void inotifytools_replace_filename( char const * oldname,
char const * newname ); char const * newname );
char * inotifytools_filename_from_wd( int wd ); char * inotifytools_filename_from_wd( int wd );
skipping to change at line 52 skipping to change at line 66
int inotifytools_get_stat_total( int event ); int inotifytools_get_stat_total( int event );
int inotifytools_get_stat_by_filename( char const * filename, int inotifytools_get_stat_by_filename( char const * filename,
int event ); int event );
void inotifytools_initialize_stats(); void inotifytools_initialize_stats();
int inotifytools_initialize(); int inotifytools_initialize();
void inotifytools_cleanup(); void inotifytools_cleanup();
int inotifytools_get_num_watches(); int inotifytools_get_num_watches();
int inotifytools_printf( struct inotify_event* event, char* fmt ); int inotifytools_printf( struct inotify_event* event, char* fmt );
int inotifytools_fprintf( FILE* file, struct inotify_event* event, char* fmt ); int inotifytools_fprintf( FILE* file, struct inotify_event* event, char* fmt );
int inotifytools_sprintf( char * out, struct inotify_event* event, char* fmt ); int inotifytools_sprintf( struct nstring * out, struct inotify_event* event, cha
int inotifytools_snprintf( char * out, int size, struct inotify_event* event, r* fmt );
int inotifytools_snprintf( struct nstring * out, int size, struct inotify_event*
event,
char* fmt ); char* fmt );
void inotifytools_set_printf_timefmt( char * fmt ); void inotifytools_set_printf_timefmt( char * fmt );
int inotifytools_get_max_user_watches(); int inotifytools_get_max_user_watches();
int inotifytools_get_max_user_instances(); int inotifytools_get_max_user_instances();
int inotifytools_get_max_queued_events(); int inotifytools_get_max_queued_events();
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
 End of changes. 2 change blocks. 
2 lines changed or deleted 19 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)