XenevaOS
Loading...
Searching...
No Matches
XenevaOS
BaseHdr
austatic.h
Go to the documentation of this file.
1
10
#ifndef __AU_STATIC_H__
11
#define __AU_STATIC_H__
12
13
#include <
audrv.h
>
14
15
typedef
struct
{
16
const
char
*
name
;
/* basename without extension, e.g. "virtgpu" */
17
au_drv_entry
entry
;
/* the component's AuDriverMain */
18
void
*
console_present
;
/* optional AuConsolePresentFn (virtgpu), else NULL */
19
}
AuStaticComponent
;
20
21
/* look up a component by driver path ("/virtgpu.dll") or bare name; NULL if the
22
* image does not contain it (always NULL in a normal build) */
23
extern
const
AuStaticComponent
*
AuStaticComponentFind
(
const
char
*
path
);
24
25
/* number of components linked into this image */
26
extern
int
AuStaticComponentCount
(
void
);
27
28
#endif
audrv.h
au_drv_entry
int(* au_drv_entry)(void *drv)
Definition
audrv.h:61
AuStaticComponentCount
int AuStaticComponentCount(void)
Definition
staticcomp.c:32
AuStaticComponentFind
const AuStaticComponent * AuStaticComponentFind(const char *path)
Definition
staticcomp.c:36
AuStaticComponent
Definition
austatic.h:15
AuStaticComponent::name
const char * name
Definition
austatic.h:16
AuStaticComponent::console_present
void * console_present
Definition
austatic.h:18
AuStaticComponent::entry
au_drv_entry entry
Definition
austatic.h:17
path
Definition
path.h:8
Generated by
1.9.8