Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
Functions
httpCleanPrompts.c File Reference
#include <stddef.h>
#include <stdlib.h>
#include <http.h>
#include <shell.h>
#include <string.h>

Functions

int cleanPrompts (device *devptr, char *buf, int len, struct http *webptr)
 

Function Documentation

int cleanPrompts ( device *  devptr,
char *  buf,
int  len,
struct http *  webptr 
)

Clears the prompts from a provided buffer.

Parameters
bufbuffer to cook prompts out of
lenlength of provided buffer
webptrhttp device struct if applicable, NULL if generic buffer
Returns
the updated length of the buffer