123456789101112131415161718192021 |
- /*
- * File: handler.c
- * Author: Arthur Brandao
- *
- * Created on 23 novembre 2018
- */
- #include <stdio.h>
- #include <stdlib.h>
- #include "bomberstudent_server.h"
- #include "client.h"
- #include "handler.h"
- void ini_handler(){
- add_handler("GET", "client/end", handler_client_end);
- }
- int handler_client_end(int cliId, JsonParser* json){
- remove_client(cliId);
- return SUCCESS;
- }
|