xref: /haiku/src/bin/network/ping/ping.h (revision 3bf4cdb73bb197b51310633f7abb72aecaf695ad)
1*3bf4cdb7SJérôme Duval /*-
2*3bf4cdb7SJérôme Duval  * SPDX-License-Identifier: BSD-2-Clause
3*3bf4cdb7SJérôme Duval  *
4*3bf4cdb7SJérôme Duval  * Copyright (C) 2019 Jan Sucan <jansucan@FreeBSD.org>
5*3bf4cdb7SJérôme Duval  * All rights reserved.
6*3bf4cdb7SJérôme Duval  *
7*3bf4cdb7SJérôme Duval  * Redistribution and use in source and binary forms, with or without
8*3bf4cdb7SJérôme Duval  * modification, are permitted provided that the following conditions
9*3bf4cdb7SJérôme Duval  * are met:
10*3bf4cdb7SJérôme Duval  * 1. Redistributions of source code must retain the above copyright
11*3bf4cdb7SJérôme Duval  *    notice, this list of conditions and the following disclaimer.
12*3bf4cdb7SJérôme Duval  * 2. Redistributions in binary form must reproduce the above copyright
13*3bf4cdb7SJérôme Duval  *    notice, this list of conditions and the following disclaimer in the
14*3bf4cdb7SJérôme Duval  *    documentation and/or other materials provided with the distribution.
15*3bf4cdb7SJérôme Duval  *
16*3bf4cdb7SJérôme Duval  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17*3bf4cdb7SJérôme Duval  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18*3bf4cdb7SJérôme Duval  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19*3bf4cdb7SJérôme Duval  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20*3bf4cdb7SJérôme Duval  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21*3bf4cdb7SJérôme Duval  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22*3bf4cdb7SJérôme Duval  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23*3bf4cdb7SJérôme Duval  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24*3bf4cdb7SJérôme Duval  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25*3bf4cdb7SJérôme Duval  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26*3bf4cdb7SJérôme Duval  * SUCH DAMAGE.
27*3bf4cdb7SJérôme Duval  */
28*3bf4cdb7SJérôme Duval 
29*3bf4cdb7SJérôme Duval #ifndef PING_H
30*3bf4cdb7SJérôme Duval #define PING_H 1
31*3bf4cdb7SJérôme Duval 
32*3bf4cdb7SJérôme Duval int ping(int argc, char *const *argv);
33*3bf4cdb7SJérôme Duval 
34*3bf4cdb7SJérôme Duval #endif
35