~ubuntu-branches/ubuntu/karmic/vzctl/karmic

« back to all changes in this revision

Viewing changes to include/util.h

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2007-04-10 18:08:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070410180816-0uuzj9fnna7gmzxv
Tags: 3.0.16-4
Etch has been released which means that this version can be uploaded
to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 *  Copyright (C) 2000-2006 SWsoft. All rights reserved.
 
2
 *  Copyright (C) 2000-2007 SWsoft. All rights reserved.
3
3
 *
4
4
 *  This program is free software; you can redistribute it and/or modify
5
5
 *  it under the terms of the GNU General Public License as published by
37
37
void free_arg(char **arg);
38
38
unsigned long min_ul(unsigned long val1, unsigned long val2);
39
39
int yesno2id(const char *str);
40
 
int get_ipaddr(const char *ip_str, unsigned int *ip);
41
 
char *get_ipname(unsigned int ip);
 
40
int get_netaddr(const char *ip_str, unsigned int *ip);
 
41
const char *get_netname(unsigned int *ip, int family);
42
42
char *subst_VEID(envid_t veid, char *src);
43
43
int get_pagesize();
44
44
int get_mem(unsigned long long *mem);
53
53
int set_not_blk(int fd);
54
54
void close_fds(int close_std, ...);
55
55
int move_config(int veid, int action);
 
56
void remove_names(envid_t veid);
56
57
#endif