aboutsummaryrefslogtreecommitdiff
path: root/src/harness_adapter.c
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-02-20 10:22:14 -0700
committerJosh Rahm <joshuarahm@gmail.com>2024-02-20 10:22:14 -0700
commit860a75bd4dee36880c9372d1f78ced18d1246988 (patch)
tree0464f4068ee86c600d57cb2ca4d16de41f4db907 /src/harness_adapter.c
parentc7a0945ffcb5f17953109a6b4ac77a5c64980f4f (diff)
downloadwetterhorn-860a75bd4dee36880c9372d1f78ced18d1246988.tar.gz
wetterhorn-860a75bd4dee36880c9372d1f78ced18d1246988.tar.bz2
wetterhorn-860a75bd4dee36880c9372d1f78ced18d1246988.zip
add back the metaload
Diffstat (limited to 'src/harness_adapter.c')
-rw-r--r--src/harness_adapter.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/harness_adapter.c b/src/harness_adapter.c
index 8585d7e..b18f8d2 100644
--- a/src/harness_adapter.c
+++ b/src/harness_adapter.c
@@ -16,6 +16,11 @@ void* get_foreign_interface()
return foreign_interface;
}
+void plugin_metaload(int argc, char** argv)
+{
+ hs_init(&argc, &argv);
+}
+
void plugin_load(int argc, char **argv, foreign_interface_t* fintf) {
hs_init(&argc, &argv);
foreign_interface = fintf;
@@ -38,6 +43,10 @@ static const char msg[] =
"That will allow you to see how this compositor works in all its glory!\n";
static const int msg_sz = sizeof(msg);
+/*
+ * Implemens a basic _start that prints inforamtion and exits for users on an
+ * x86_64 system.
+ */
__attribute__((naked)) void _start()
{