feat: First stable release
This commit is contained in:
parent
845677abe1
commit
8453d41a00
10 changed files with 1042 additions and 0 deletions
27
server.h
Normal file
27
server.h
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* 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>.
|
||||
*/
|
||||
|
||||
#ifndef _SERVER_H_
|
||||
#define _SERVER_H_
|
||||
|
||||
#include "feuille.h"
|
||||
|
||||
int initialize_server();
|
||||
|
||||
int accept_connection(int);
|
||||
void close_connection(int);
|
||||
|
||||
char *read_paste(int);
|
||||
int send_response(int, char *);
|
||||
|
||||
#endif
|
||||
Reference in a new issue