ctb_workspace_ipc/services/
formats.generated.rs

1// SPDX-License-Identifier: AGPL-3.0-or-later
2/*
3This file is part of Collective Toolbox, a database and document workspace and utilities.
4Copyright (C) 2026 Collective Toolbox Developers
5Contact: info@collectivetoolbox.com
6
7This program is free software: you can redistribute it and/or modify it under
8the terms of the GNU Affero General Public License as published by the Free
9Software Foundation, either version 3 of the License, or (at your option) any
10later version.
11
12This program is distributed in the hope that it will be useful, but WITHOUT ANY
13WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.
15
16You should have received a copy of the GNU Affero General Public License along
17with this program.  If not, see <https://www.gnu.org/licenses/>.
18*/
19
20// IPC service for formats process.
21//
22// @generated by ctb-build-support::ipc_codegen
23// Do not edit by hand.
24
25ipc_service_client! {
26    service: formats,
27    methods: {
28        async fn dctf__decode(&self, bytes: Vec < u8 >) -> Result<Option < (u128 , usize) >>
29            => ::ctb_formats_dctf::DecodeIpcClientExt("decode", bytes);
30        async fn dctf__decode_dcutf(&self, bytes: Vec < u8 >) -> Result<Option < (u128 , usize) >>
31            => ::ctb_formats_dctf::DecodeDcutfIpcClientExt("decode_dcutf", bytes);
32        async fn dctf__encode(&self, codepoint: u128) -> Result<Vec < u8 >>
33            => ::ctb_formats_dctf::EncodeIpcClientExt("encode", codepoint);
34        async fn dctf__encode_dcutf(&self, codepoint: u128) -> Result<Vec < u8 >>
35            => ::ctb_formats_dctf::EncodeDcutfIpcClientExt("encode_dcutf", codepoint);
36    }
37}