2 * Copyright 2008-2010, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef NET_NOTIFICATIONS_H
6 #define NET_NOTIFICATIONS_H
10 #include <NetworkNotifications.h>
13 #define NET_NOTIFICATIONS_MODULE_NAME "network/notifications/v1"
19 struct net_notifications_module_info
{
22 status_t (*send_notification
)(const BPrivate::KMessage
* event
);
25 // generic syscall interface
26 #define NET_NOTIFICATIONS_SYSCALLS "network/notifications"
28 #define NET_NOTIFICATIONS_CONTROL_WATCHING 1
30 struct net_notifications_control
{
37 #endif // NET_NOTIFICATIONS_H