| 1 |
@section Initialization |
| 2 |
|
| 3 |
|
| 4 |
@subsection Initialization functions |
| 5 |
These are the functions that handle initializing a BFD. |
| 6 |
|
| 7 |
@findex bfd_init |
| 8 |
@subsubsection @code{bfd_init} |
| 9 |
@strong{Synopsis} |
| 10 |
@example |
| 11 |
unsigned int bfd_init (void); |
| 12 |
@end example |
| 13 |
@strong{Description}@* |
| 14 |
This routine must be called before any other BFD function to |
| 15 |
initialize magical internal data structures. |
| 16 |
Returns a magic number, which may be used to check |
| 17 |
that the bfd library is configured as expected by users. |
| 18 |
@example |
| 19 |
|
| 20 |
/* Value returned by bfd_init. */ |
| 21 |
|
| 22 |
#define BFD_INIT_MAGIC (sizeof (struct bfd_section)) |
| 23 |
@end example |
| 24 |
|