Skip to content
Snippets Groups Projects
Select Git revision
  • b175d0eb1aa945d5b9ac1487f772416896e5a24c
  • master default protected
  • 2020_gitignore_updates
  • squashed
  • history
  • tourney_patches
6 results

passbook-fuzz

Blame
  • http-response.h 430 B
    #include <stdbool.h>
    #include "hashtable.h"
    
    typedef struct Response {
        int status_code;
        char *version;
        HashTable *header;
        char* phrase;
        char *body;
    } Response;
    
    
    //Creates a new hash table of input size
    Response *redirect(Request *req, char* url_string);
    
    char* parse_response(Response* response);
    
    char* cookie_generator();
    
    void free_response(Response* resp);
    
    Response* initialise_session(Request* request);