1 /* 2 * scamper_do_ping.h 3 * 4 * $Id: scamper_ping_do.h,v 1.13 2012/04/05 18:00:54 mjl Exp $ 5 * 6 * Copyright (C) 2005-2006 Matthew Luckie 7 * Copyright (C) 2006-2010 The University of Waikato 8 * Author: Matthew Luckie 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation, version 2. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 * 23 */ 24 25 #ifndef __SCAMPER_DO_PING_H 26 #define __SCAMPER_DO_PING_H 27 28 void *scamper_do_ping_alloc(char *str); 29 30 scamper_task_t *scamper_do_ping_alloctask(void *data, 31 scamper_list_t *list, 32 scamper_cycle_t *cycle); 33 34 int scamper_do_ping_arg_validate(int argc, char *argv[], int *stop); 35 36 void scamper_do_ping_free(void *data); 37 38 const char *scamper_do_ping_usage(void); 39 40 void scamper_do_ping_cleanup(void); 41 int scamper_do_ping_init(void); 42 43 #endif /* __SCAMPER_DO_PING_H */ 44