Nut/OS  4.10.3
API Reference
asp.c File Reference
#include <sys/heap.h>
#include <sys/confnet.h>
#include <sys/version.h>
#include <stdlib.h>
#include <string.h>
#include <io.h>
#include <fcntl.h>
#include <memdebug.h>
#include <pro/httpd.h>
#include <pro/asp.h>
#include <arpa/inet.h>
Include dependency graph for asp.c:

Go to the source code of this file.

Defines

#define MAX_BUFFER_SIZE   256
#define MAX_ASP_FUNC_SIZE   64

Enumerations

enum  { ASP_STATE_IDLE = 0, ASP_STATE_START, ASP_STATE_COPY_FUNC }

Functions

void NutHttpProcessAsp (FILE *stream, int fd, int file_len, char *http_root, REQUEST *req)
int NutRegisterAspCallback (int(*func)(char *, FILE *))
void NutRegisterAsp (void)
 Register ASP handler for asp files.

Variables

CONFNET confnet
 Global network configuration structure.