This repository has been archived on 2023-11-15. You can view files and clone it, but cannot push or open issues or pull requests.
feuille/server.h

25 lines
557 B
C

/*
* server.h
* server.c header declarations.
*
* Copyright (c) 2022
* Tom MTT. <tom@heimdall.pm>
*
* This file is licensed under the 3-Clause BSD License.
* You should have received a copy of the 3-Clause BSD License
* along with this program. If not, see
* <https://basedwa.re/tmtt/feuille/src/branch/main/LICENSE>.
*/
#pragma once
#include "feuille.h"
int initialize_server();
int accept_connection(int);
void close_connection(int);
unsigned long read_paste(int, char **);
int send_response(int, char *);