diff options
author | Kibum Kim <kb0929.kim@samsung.com> | 2012-02-27 21:15:50 +0900 |
---|---|---|
committer | Kibum Kim <kb0929.kim@samsung.com> | 2012-02-27 21:15:50 +0900 |
commit | a1311c9da85162a82223c73aa63e6c9b7d91c565 (patch) | |
tree | eb134bea35fed15e819bf9d82c57fa3cf69f8060 /src/cts-inotify.h | |
download | contacts-service-a1311c9da85162a82223c73aa63e6c9b7d91c565.tar.gz contacts-service-a1311c9da85162a82223c73aa63e6c9b7d91c565.tar.bz2 contacts-service-a1311c9da85162a82223c73aa63e6c9b7d91c565.zip |
tizen beta release
Diffstat (limited to 'src/cts-inotify.h')
-rwxr-xr-x | src/cts-inotify.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/cts-inotify.h b/src/cts-inotify.h new file mode 100755 index 0000000..5d092f7 --- /dev/null +++ b/src/cts-inotify.h @@ -0,0 +1,32 @@ +/* + * Contacts Service + * + * Copyright (c) 2010 - 2012 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: Youngjae Shin <yj99.shin@samsung.com> + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ +#ifndef __CTS_INOTIFY_H__ +#define __CTS_INOTIFY_H__ + +int cts_inotify_init(void); +void cts_inotify_close(void); +int cts_inotify_subscribe(const char *path, void (*cb)(void *), void *data); +int cts_inotify_unsubscribe(const char *path, void (*cb)(void *)); +int cts_inotify_unsubscribe_with_data(const char *path, + void (*cb)(void *), void *user_data); + + +#endif //__CTS_INOTIFY_H__ |