source: trunk/packages/xen-3.1/xen-3.1/tools/vnet/libxutil/util.h @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

File size: 1.1 KB
Line 
1/*
2 * Copyright (C) 2002 - 2004 Mike Wray <mike.wray@hp.com>.
3 *
4 * This library is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as
6 * published by the Free Software Foundation; either version 2.1 of the
7 * License, or  (at your option) any later version. This library is
8 * distributed in the  hope that it will be useful, but WITHOUT ANY
9 * WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE.
11 * See the GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this library; if not, write to the Free Software Foundation,
15 * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 */
17
18#ifndef _XEN_LIB_UTIL_H_
19#define _XEN_LIB_UTIL_H_
20
21#include "iostream.h"
22
23extern int print_address(IOStream *io, unsigned long address);
24extern int get_protocol_number(char *name, unsigned long *protocol);
25extern char *get_protocol_name(unsigned long protocol);
26extern char *get_host_name(unsigned long addr);
27
28#endif /* ! _XEN_LIB_UTIL_H_ */
Note: See TracBrowser for help on using the repository browser.