version 1.1, 2011/11/13 10:12:05 |
version 1.4, 2011/11/14 10:07:06 |
|
|
#ifndef APROPOS_H |
#ifndef APROPOS_H |
#define APROPOS_H |
#define APROPOS_H |
|
|
#define TYPE_NAME 0x01 |
|
#define TYPE_FUNCTION 0x02 |
|
#define TYPE_UTILITY 0x04 |
|
#define TYPE_INCLUDES 0x08 |
|
#define TYPE_VARIABLE 0x10 |
|
#define TYPE_STANDARD 0x20 |
|
#define TYPE_AUTHOR 0x40 |
|
#define TYPE_CONFIG 0x80 |
|
#define TYPE_DESC 0x100 |
|
#define TYPE_XREF 0x200 |
|
#define TYPE_PATH 0x400 |
|
#define TYPE_ENV 0x800 |
|
#define TYPE_ERR 0x1000 |
|
|
|
struct rec { |
struct rec { |
char *file; /* file in file-system */ |
char *file; /* file in file-system */ |
char *cat; /* category (3p, 3, etc.) */ |
char *cat; /* category (3p, 3, etc.) */ |
Line 63 void apropos_search(const struct opts *, |
|
Line 49 void apropos_search(const struct opts *, |
|
const struct expr *, void *, |
const struct expr *, void *, |
void (*)(struct rec *, size_t, void *)); |
void (*)(struct rec *, size_t, void *)); |
|
|
struct expr *exprcomp(int, char *[], int); |
struct expr *exprcomp(char *); |
void exprfree(struct expr *); |
void exprfree(struct expr *); |
|
|
__END_DECLS |
__END_DECLS |