iPXE
libgen.h
Go to the documentation of this file.
1#ifndef _LIBGEN_H
2#define _LIBGEN_H
3
4FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
5FILE_SECBOOT ( PERMITTED );
6
7extern char * basename ( char *path );
8extern char * dirname ( char *path );
9
10#endif /* _LIBGEN_H */
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
char * basename(char *path)
Return base name from path.
Definition basename.c:43
char * dirname(char *path)
Return directory name from path.
Definition basename.c:58