~ubuntu-branches/ubuntu/saucy/biosdevname/saucy-proposed

« back to all changes in this revision

Viewing changes to src/libbiosdevname.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-02-23 17:58:36 UTC
  • Revision ID: james.westby@ubuntu.com-20110223175836-4f0cbcno9zm0lmdu
Tags: upstream-0.3.7
ImportĀ upstreamĀ versionĀ 0.3.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  Copyright (c) 2006 Dell, Inc.
 
3
 *  by Matt Domsch <Matt_Domsch@dell.com>
 
4
 *  Licensed under the GNU General Public license, version 2.
 
5
 */
 
6
#ifndef LIBBIOSDEVNAME_H_INCLUDED
 
7
#define LIBBIOSDEVNAME_H_INCLUDED
 
8
 
 
9
enum namingpolicy {
 
10
        physical,
 
11
        all_ethN,
 
12
};
 
13
 
 
14
extern void * setup_bios_devices(int namingpolicy, const char *prefix);
 
15
extern void cleanup_bios_devices(void *cookie);
 
16
extern char * kern_to_bios(void *cookie, const char *devname);
 
17
extern void unparse_bios_devices(void *cookie);
 
18
extern void unparse_bios_device_by_name(void *cookie, const char *name);
 
19
 
 
20
 
 
21
 
 
22
#endif /* LIBBIOSDEVNAME_H_INCLUDED */