622c9f780c
This reverts commit 38e7a35910.
16 lines
316 B
C
16 lines
316 B
C
#pragma once
|
|
|
|
#include "service.h"
|
|
|
|
#include "mutex.h"
|
|
#include "service_manifest.h"
|
|
|
|
typedef struct {
|
|
Mutex* mutex;
|
|
const ServiceManifest* manifest;
|
|
void* data;
|
|
} ServiceData;
|
|
|
|
ServiceData* tt_service_alloc(const ServiceManifest* _Nonnull manifest);
|
|
void tt_service_free(ServiceData* _Nonnull service);
|