Initial commit

This commit is contained in:
2025-11-17 10:28:09 +01:00
parent 7bff81691f
commit 6ee36e26be
391 changed files with 110253 additions and 0 deletions

View File

@@ -0,0 +1,112 @@
/*
* This file is automaticaly generated, Please dont edit this file!
*/
#include <request.h>
void request_constructor( request * this ) {
}
void request_free( request * this ) {
free( this );
}
request request_new() {
request instance;
instance.connection = malloc( BUFFER_SIZE );
instance.address = malloc( BUFFER_SIZE );
instance.url = malloc( BUFFER_SIZE );
instance.method = malloc( BUFFER_SIZE );
instance.version = malloc( BUFFER_SIZE );
instance.mimeType = malloc( BUFFER_SIZE );
instance.extension = malloc( BUFFER_SIZE );
instance.headers = headerManager_newPointer();
request_constructor( &instance);
return instance;
}
request * request_newPointer() {
struct request * pointer = malloc( sizeof ( struct request ) );
pointer->connection = malloc( BUFFER_SIZE );
pointer->address = malloc( BUFFER_SIZE );
pointer->url = malloc( BUFFER_SIZE );
pointer->method = malloc( BUFFER_SIZE );
pointer->version = malloc( BUFFER_SIZE );
pointer->mimeType = malloc( BUFFER_SIZE );
pointer->extension = malloc( BUFFER_SIZE );
pointer->headers = headerManager_newPointer();
request_constructor( pointer );
return pointer;
}