root/src/modules/ping_icmp.c

Revision e102af344eb4afacdeeb549fb60d77715f815a53, 0.7 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 6 years ago)

modules actually load now.

  • Property mode set to 100644
Line 
1 /*
2  * Copyright (c) 2007, OmniTI Computer Consulting, Inc.
3  * All rights reserved.
4  */
5
6 #include "noit_defines.h"
7
8 #include "noit_module.h"
9 #include "noit_poller.h"
10
11 static int ping_icmp_onload(noit_module_t *self) {
12   return 0;
13 }
14 static int ping_icmp_config(noit_module_t *self, noit_hash_table *options) {
15   return 0;
16 }
17 static int ping_icmp_init(noit_module_t *self) {
18   return 0;
19 }
20 static int ping_icmp_initiate_check(noit_module_t *self, noit_check_t check) {
21   return 0;
22 }
23
24 noit_module_t ping_icmp = {
25   NOIT_MODULE_MAGIC,
26   NOIT_MODULE_ABI_VERSION,
27   "ping_icmp",
28   "ICMP based host availability detection",
29   ping_icmp_onload,
30   ping_icmp_config,
31   ping_icmp_init,
32   ping_icmp_initiate_check
33 };
34
Note: See TracBrowser for help on using the browser.