X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=workshop.h;h=08776dfd9dd66e65e1e93dc10d5d0096a24c37b1;hb=238a3a4ef19bb137e2a878ee38f99d253eddb51c;hp=42610d4e2322b9350906f15e17b40ac432371917;hpb=a109f126d8adab622e38fbcc2d4281e75255246a;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/workshop.h b/workshop.h index 42610d4..08776df 100644 --- a/workshop.h +++ b/workshop.h @@ -124,12 +124,11 @@ struct workshop_form{ published_files_list[WORKSHOP_VIEW_PER_PAGE]; int published_files_list_length; } -static workshop_form; - - - -static int workshop_submit_command( int argc, const char *argv[] ); -static void async_workshop_get_filepath( void *data, u32 len ); -static void async_workshop_get_installed_files( void *data, u32 len ); -static void workshop_load_metadata( const char *path, - struct workshop_file_info *info ); +extern workshop_form; + +void workshop_init(void); +int workshop_submit_command( int argc, const char *argv[] ); +void async_workshop_get_filepath( void *data, u32 len ); +void async_workshop_get_installed_files( void *data, u32 len ); +void workshop_load_metadata( const char *path,struct workshop_file_info *info ); +void workshop_form_gui( ui_context *ctx );