9 foreach my $file (@ARGV) {
11 get_list
(get_path
($file), read_file
($file));
20 $file =~ /(.*)\// && return $1;
27 $file =~ /\/([^\
/]+)/;
50 foreach my $line (@data) {
52 if($line =~ /<\/handler
/) {
56 if($line =~ /<[\w\d_]+>([\w\d_]+)<\/[\w\d_
]+>/) {
62 if($line =~ /<include>(.*)<\/include
>/) {
64 my $addpath = get_path
($file);
68 $temppath .= "/$addpath";
72 read_file
("$temppath/" . get_filename
($file)));
75 if($line =~ /<handler/) {
91 #ifdef LOADSO_STATIC_VERSION
92 func_point_t xuni_loadso_load_function(loadso_t object, const char *func) {
93 struct string_function_t data[] = {
100 foreach my $func (sort @funclist) {
116 print " {\"$func\", (func_point_t)$func}";
126 = string_to_function(data, sizeof(data) / sizeof(*data), func);
129 log_message(ERROR_TYPE_RESOURCE, 0, __FILE__, __LINE__,
130 "Unknown function: \\"%s\\"", func);