Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
d7bcd4dd
Commit
d7bcd4dd
authored
Jan 25, 2016
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add macros for put_site and clear_site.
parent
0879edca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
clientside/lib/event/event.h
clientside/lib/event/event.h
+5
-1
No files found.
clientside/lib/event/event.h
View file @
d7bcd4dd
/*
* Copyright (c) 2000-201
0
University of Utah and the Flux Group.
* Copyright (c) 2000-201
6
University of Utah and the Flux Group.
*
* {{{EMULAB-LICENSE
*
...
...
@@ -109,6 +109,8 @@ int address_tuple_free(address_tuple_t);
#ifndef NO_EVENT_MACROS
#define event_notification_get_site(handle, note, buf, len) \
event_notification_get_string(handle, note, "SITE", buf, len)
#define event_notification_put_site(handle, note, buf) \
event_notification_put_string(handle, note, "SITE", buf)
#define event_notification_get_expt(handle, note, buf, len) \
event_notification_get_string(handle, note, "EXPT", buf, len)
#define event_notification_get_group(handle, note, buf, len) \
...
...
@@ -131,6 +133,8 @@ int address_tuple_free(address_tuple_t);
/*
* For dynamic events.
*/
#define event_notification_clear_site(handle, note) \
event_notification_remove(handle, note, "SITE")
#define event_notification_clear_host(handle, note) \
event_notification_remove(handle, note, "HOST")
#define event_notification_set_host(handle, note, buf) \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment