Make UEFI boot-platform build again
[haiku.git] / headers / private / net / net_notifications.h
blobffeab3ec3e3522a351f7e3aa41cac05c54775375
1 /*
2 * Copyright 2008-2010, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef NET_NOTIFICATIONS_H
6 #define NET_NOTIFICATIONS_H
9 #include <module.h>
10 #include <NetworkNotifications.h>
13 #define NET_NOTIFICATIONS_MODULE_NAME "network/notifications/v1"
15 namespace BPrivate {
16 class KMessage;
19 struct net_notifications_module_info {
20 module_info 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 {
31 uint32 flags;
32 port_id port;
33 uint32 token;
37 #endif // NET_NOTIFICATIONS_H