Subversion Repositories public

Compare Revisions

Ignore whitespace Rev 102 → Rev 103

/inotify-cxx/trunk/inotify-cxx.cpp
5,7 → 5,7
*
* inotify C++ interface
*
* Copyright (C) 2006, 2007 Lukas Jelinek <lukas@aiken.cz>
* Copyright (C) 2006, 2007, 2009 Lukas Jelinek <lukas@aiken.cz>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of one of the following licenses:
16,6 → 16,9
*
* If you want to help with choosing the best license for you,
* please visit http://www.gnu.org/licenses/license-list.html.
*
* Credits:
* Mike Frysinger (cleanup of includes)
*
*/
23,7 → 26,15
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#include <fstream>
 
#include <sys/syscall.h>
 
// Use this if syscalls not defined
#ifndef __NR_inotify_init
#include <sys/inotify-syscalls.h>
#endif // __NR_inotify_init
 
#include "inotify-cxx.h"
 
/// procfs inotify base path
/inotify-cxx/trunk/CHANGELOG
1,3 → 1,6
0.7.3 2009-12-09
* cleanup of includes
 
0.7.2 2007-04-18
* added #include <stdint.h> (required for Debian Sarge, #0000155)
 
/inotify-cxx/trunk/inotify-cxx.h
5,7 → 5,7
*
* inotify C++ interface
*
* Copyright (C) 2006, 2007 Lukas Jelinek, <lukas@aiken.cz>
* Copyright (C) 2006, 2007, 2009 Lukas Jelinek, <lukas@aiken.cz>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of one of the following licenses:
16,7 → 16,10
*
* If you want to help with choosing the best license for you,
* please visit http://www.gnu.org/licenses/license-list.html.
*
*
* Credits:
* Mike Frysinger (cleanup of includes)
*
*/
 
 
31,14 → 34,9
#include <deque>
#include <map>
 
// Please ensure that the following headers take the right place
#include <sys/syscall.h>
// Please ensure that the following header file takes the right place
#include <sys/inotify.h>
 
// Use this if syscalls not defined
#ifndef __NR_inotify_init
#include <sys/inotify-syscalls.h>
#endif // __NR_inotify_init
 
/// Event struct size
#define INOTIFY_EVENT_SIZE (sizeof(struct inotify_event))
/inotify-cxx/trunk/COPYING
1,6 → 1,6
inotify C++ interface
Copyright (C) 2006, 2007 Lukas Jelinek, <lukas@aiken.cz>
Copyright (C) 2006, 2007, 2009 Lukas Jelinek, <lukas@aiken.cz>
This program is free software; you can redistribute it and/or
modify it under the terms of one of the following licenses:
/inotify-cxx/trunk/LICENSE-X11
1,4 → 1,4
Copyright (c) 2006, 2007 Lukas Jelinek
Copyright (c) 2006, 2007, 2009 Lukas Jelinek
 
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
/inotify-cxx/trunk/README
1,7 → 1,7
 
inotify C++ interface
 
(c) Lukas Jelinek, 2006, 2007
(c) Lukas Jelinek, 2006, 2007, 2009
 
1. About
2. Requirements