magic.h.in (284237) | magic.h.in (288143) |
---|---|
1/* 2 * Copyright (c) Christos Zoulas 2003. 3 * All Rights Reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 99 unchanged lines hidden (view full) --- 108int magic_list(magic_t, const char *); 109int magic_errno(magic_t); 110 111#define MAGIC_PARAM_INDIR_MAX 0 112#define MAGIC_PARAM_NAME_MAX 1 113#define MAGIC_PARAM_ELF_PHNUM_MAX 2 114#define MAGIC_PARAM_ELF_SHNUM_MAX 3 115#define MAGIC_PARAM_ELF_NOTES_MAX 4 | 1/* 2 * Copyright (c) Christos Zoulas 2003. 3 * All Rights Reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 99 unchanged lines hidden (view full) --- 108int magic_list(magic_t, const char *); 109int magic_errno(magic_t); 110 111#define MAGIC_PARAM_INDIR_MAX 0 112#define MAGIC_PARAM_NAME_MAX 1 113#define MAGIC_PARAM_ELF_PHNUM_MAX 2 114#define MAGIC_PARAM_ELF_SHNUM_MAX 3 115#define MAGIC_PARAM_ELF_NOTES_MAX 4 |
116#define MAGIC_PARAM_REGEX_MAX 5 |
|
116 117int magic_setparam(magic_t, int, const void *); 118int magic_getparam(magic_t, int, void *); 119 120#ifdef __cplusplus 121}; 122#endif 123 124#endif /* _MAGIC_H */ | 117 118int magic_setparam(magic_t, int, const void *); 119int magic_getparam(magic_t, int, void *); 120 121#ifdef __cplusplus 122}; 123#endif 124 125#endif /* _MAGIC_H */ |