Wire keywords (standard handler keywords documented in Wire )
// make the handler, assumes you have bound 'events' to list of events you care about. create handler ip2name { name: $dnsname regevent: $events elogger: $hlogger }
Events Accepted:
| Type | Description |
|---|---|
| AW_EVENT_TYPE_STRING | String events holding an ip address |
Events Generated:
| Event Name | Type | Description |
|---|---|---|
| name | AW_EVENT_TYPE_STRING | Indicates success, string event holding ip:name |
| noname | AW_EVENT_TYPE_STRING | Indicates failure, string event holding ip address |
#include <stdio.h>
#include "monitor.h"
#include "wire.h"
Go to the source code of this file.
Data Structures | |
| struct | aw_ip2namehandler_events_t |
| Events generated. More... | |
| struct | aw_ip2namehandler_t |
| Handler object. More... | |
Functions | |
| aw_ip2namehandler_t * | aw_create_ip2namehandler (aw_ip2namehandler_events_t *events, int32_t(*regevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index), int32_t(*regmaskevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index), const aw_alarm_sched_t *sched, aw_logger_t *logger) |
| Create an ip2name handler. | |
| void | aw_free_ip2namehandler (aw_ip2namehandler_t *h) |
| Free handler and all associated resources. | |
| aw_handler_t * | aw_wire_ip2namehandler (aw_wire_mkhandler_args_t *args) |
| Create a ip2namehandler using "wire". See header doc for keyword documentation. | |
|
||||||||||||||||||||||||
|
Create an ip2name handler.
|
|
|
Free handler and all associated resources.
|
|
|
Create a ip2namehandler using "wire". See header doc for keyword documentation.
|