Branch data Line data Source code
1 : : // SPDX-License-Identifier: GPL-3.0-or-later 2 : : // SPDX-FileCopyrightText: Andy Holmes <andrew.g.r.holmes@gmail.com> 3 : : 4 : : #pragma once 5 : : 6 : : #include <valent.h> 7 : : 8 : : G_BEGIN_DECLS 9 : : 10 : : #define VALENT_TYPE_LAN_CHANNEL (valent_lan_channel_get_type()) 11 : : 12 [ + - + - : 21 : G_DECLARE_FINAL_TYPE (ValentLanChannel, valent_lan_channel, VALENT, LAN_CHANNEL, ValentChannel) - + ] 13 : : 14 : : GTlsCertificate * valent_lan_channel_ref_certificate (ValentLanChannel *self); 15 : : GTlsCertificate * valent_lan_channel_ref_peer_certificate (ValentLanChannel *self); 16 : : char * valent_lan_channel_dup_host (ValentLanChannel *self); 17 : : uint16_t valent_lan_channel_get_port (ValentLanChannel *self); 18 : : 19 : : G_END_DECLS 20 : :