pspsdk-1.0+beta2
|
Macros | |
#define | PSPDEV_ENV "PSPDEV" |
#define | PATH_ENV "PATH" |
#define | MAX_PATH 256 |
#define | PATH_SEP ":" |
#define | DIR_SEP '/' |
#define | DIR_SEP_STR "/" |
#define | PSPDEV_PATH_SUFFIX "/bin/psp-config" |
Functions | |
int | process_args (int argc, char **argv) |
void | print_help (void) |
void | normalize_path (char *out) |
char * | find_pspdev_path (char *name) |
void | print_path (char *name) |
int | main (int argc, char **argv) |
#define DIR_SEP '/' |
Referenced by find_pspdev_path(), and print_path().
#define DIR_SEP_STR "/" |
Referenced by find_pspdev_path().
#define MAX_PATH 256 |
Referenced by find_pspdev_path(), and main().
#define PATH_ENV "PATH" |
Referenced by find_pspdev_path().
#define PATH_SEP ":" |
Referenced by find_pspdev_path().
#define PSPDEV_ENV "PSPDEV" |
Referenced by print_path().
#define PSPDEV_PATH_SUFFIX "/bin/psp-config" |
Referenced by find_pspdev_path().
enum PspConfigMode |
char* find_pspdev_path | ( | char * | name | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
References MAX_PATH, print_help(), print_path(), process_args(), and strcpy().
void normalize_path | ( | char * | out | ) |
References i.
Referenced by find_pspdev_path().
void print_path | ( | char * | name | ) |
References DIR_SEP, find_pspdev_path(), fprintf(), getenv(), NULL, printf(), PSP_CONFIG_PSP_PREFIX, PSP_CONFIG_PSPDEV_PATH, PSP_CONFIG_PSPSDK_PATH, PSPDEV_ENV, and stderr.
Referenced by main().
int process_args | ( | int | argc, |
char ** | argv | ||
) |
References ch, fprintf(), getopt_long(), NULL, PSP_CONFIG_PSP_PREFIX, PSP_CONFIG_PSPDEV_PATH, PSP_CONFIG_PSPSDK_PATH, PSP_CONFIG_UNKNOWN, and stderr.