175 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
24 lines
901 B
C
24 lines
901 B
C
#ifndef GW_WINE_BUNDLE_PATHS_H
|
|
#define GW_WINE_BUNDLE_PATHS_H
|
|
#include <stddef.h>
|
|
|
|
/* Paths only: the consumer must independently verify the pinned artifact
|
|
* identities before loading. This component does not start the engine. */
|
|
#define GW_BUNDLE_PATH_CAP 32768u
|
|
enum gw_bundle_platform { GW_BUNDLE_NATIVE_WINDOWS = 1, GW_BUNDLE_WINE = 2 };
|
|
struct gw_bundle_paths {
|
|
wchar_t root[GW_BUNDLE_PATH_CAP];
|
|
wchar_t backend[GW_BUNDLE_PATH_CAP];
|
|
wchar_t core[GW_BUNDLE_PATH_CAP];
|
|
wchar_t codec[GW_BUNDLE_PATH_CAP];
|
|
wchar_t wine_loader_name[GW_BUNDLE_PATH_CAP];
|
|
};
|
|
int gw_bundle_paths_resolve(enum gw_bundle_platform platform,
|
|
const wchar_t *executable,
|
|
struct gw_bundle_paths *out);
|
|
#ifdef _WIN32
|
|
int gw_bundle_paths_current(enum gw_bundle_platform platform,
|
|
struct gw_bundle_paths *out);
|
|
#endif
|
|
#endif
|