namespace: ashet.service
System Calls
syscall create(in uuid: *const UUID, in funcs: []const anyfnptr, in name: str, out svc: Service)Registers a new service
uuidin the system. Takes an array of function pointers that will be provided for IPC and a service name to be advertised.syscall enumerate(in uuid: *const UUID, in services: ?[]Service, out count: usize)Enumerates all registered services.
syscall get_name(in svc: Service, in name_buf: ?[]u8, out name_len: usize)Returns the name of the service.
syscall get_process(in svc: Service, out process: Process)Returns the process that created this service.
syscall get_functions(in svc: Service, in funcs: ?[]anyfnptr, out count: usize)Returns the functions registerd by the service.