| 12345678910111213141516171819202122232425 |
- /* Shared state for the Linux browser harness. */
- #ifndef HOST_HOST_H
- #define HOST_HOST_H
- #include <stddef.h>
- struct host_options {
- const char *root;
- const char *shot;
- unsigned int wait_ms;
- int headless;
- int width;
- int height;
- };
- extern struct host_options host_opts;
- extern char host_root[1024];
- extern char host_repo[1024];
- extern char host_curl_bin[1024];
- /* Resolve the repo directory from /proc/self/exe, publish the profile root
- * and create its /share, /data and /ramfs/fonts layout. */
- int host_runtime_init(const char *argv0, const char *root);
- #endif
|