| 
    Velocity Userspace
    
   | 
 
Switchtec core library functions for event management. More...
#include "switchtec_priv.h"#include "switchtec/switchtec.h"#include "switchtec/utils.h"#include <sys/time.h>#include <errno.h>#include <string.h>#include <strings.h>
Go to the source code of this file.
Functions | |
| int | switchtec_event_summary_set (struct switchtec_event_summary *sum, enum switchtec_event_id e, int index) | 
| Set a bit corresponding to an event in a summary structure.  More... | |
| int | switchtec_event_summary_test (struct switchtec_event_summary *sum, enum switchtec_event_id e, int index) | 
| Test if a bit corresponding to an event is set in a summary structure.  More... | |
| int | switchtec_event_summary_iter (struct switchtec_event_summary *sum, enum switchtec_event_id *e, int *idx) | 
| Iterate through all set bits in an event summary structure.  More... | |
| int | switchtec_event_check (struct switchtec_dev *dev, struct switchtec_event_summary *chk, struct switchtec_event_summary *res) | 
| Check if one or more events have occurred.  More... | |
| enum switchtec_event_type | switchtec_event_info (enum switchtec_event_id e, const char **name, const char **desc) | 
| Get the name and description strings as well as the type (global, partition or pff) for a specific event ID.  More... | |
| int | switchtec_event_wait_for (struct switchtec_dev *dev, enum switchtec_event_id e, int index, struct switchtec_event_summary *res, int timeout_ms) | 
| Block until a specific event occurs.  More... | |
Switchtec core library functions for event management.
Definition in file events.c.
 1.8.17