#include <stdio.h>
#include <stdlib.h>
Include dependency graph for mklink.c:
Go to the source code of this file.
Classes | |
struct | usecode_func |
Typedefs | |
typedef unsigned char | byte |
typedef unsigned short | u16b |
typedef unsigned long | u32b |
typedef usecode_func | usecode_func |
Functions | |
void | read_u16b (FILE *fff, u16b *n) |
void | read_u32b (FILE *fff, u32b *n) |
void | write_u16b (FILE *fff, u16b n) |
void | write_u32b (FILE *fff, u32b n) |
u16b | get_total_size (u16b *call_tree, u16b tree_size) |
u16b * | get_tree (u16b func_num, u16b *num) |
void | clear_visited (void) |
int | comp_func (const void *one, const void *two) |
void | fix_tree (u16b *tree, u16b *tree_size) |
int | main (void) |
Variables | |
usecode_func | functions [4096] |
typedef struct usecode_func usecode_func |
void clear_visited | ( | void | ) |
int comp_func | ( | const void * | one, | |
const void * | two | |||
) |
Definition at line 262 of file mklink.c.
References comp_func().
Referenced by main().
Here is the call graph for this function:
Definition at line 163 of file mklink.c.
References usecode_func::called, functions, usecode_func::num_call, and usecode_func::visited.
Referenced by main().
int main | ( | void | ) |
Definition at line 271 of file mklink.c.
References usecode_func::called, clear_visited(), fix_tree(), functions, get_total_size(), get_tree(), usecode_func::num_call, read_u16b(), usecode_func::size, Ucscript::usecode, usecode_func::where, write_u16b(), and write_u32b().
Here is the call graph for this function:
void read_u16b | ( | FILE * | fff, | |
u16b * | n | |||
) |
void write_u16b | ( | FILE * | fff, | |
u16b | n | |||
) |
void write_u32b | ( | FILE * | fff, | |
u32b | n | |||
) |
usecode_func functions[4096] |
Definition at line 39 of file mklink.c.
Referenced by clear_visited(), get_total_size(), get_tree(), main(), and yyparse().