paul@181 | 1 | #include <systypes/base.h> /* notify_flags_t */ |
paul@181 | 2 | |
paul@181 | 3 | interface Notification |
paul@181 | 4 | { |
paul@290 | 5 | /* Subscribe to events, providing the given notifier to receive notifications |
paul@290 | 6 | according to the given flags. */ |
paul@290 | 7 | |
paul@290 | 8 | [opcode(23)] void subscribe(in cap notifier, in notify_flags_t flags); |
paul@181 | 9 | |
paul@548 | 10 | /* Unsubscribe from events. A notifier cannot be provided since it will be |
paul@548 | 11 | considered distinct from any previously presented for subscription. */ |
paul@290 | 12 | |
paul@548 | 13 | [opcode(24)] void unsubscribe(); |
paul@181 | 14 | }; |