/* Screws Modules Skeleton */

#if 1

  #include <stdio.h>
  #include <string.h>
  #include <stdlib.h>

  #define bool char
  #define true 1
  #define false 0

  #define SCREWS_MODULE 1
  #define SCREWS_MODULE_VERSION 1.0
  #define MODULE_TYPE(mo) char *type=mo;
  #define MODULE_NAME(mo) char *name=mo;
  #define MODULE_VERS(mo) char *vers=mo;
  #define MODULE_INIT()    printf(" [m] %s (%s).\n",name,vers);
  #define MODULE_ERROR(mo) \
		{ printf("   (e) "); printf(mo); printf("\n"); return false; }
  #define MODULE_MESSG(mo) { printf("   (i) "); printf(mo); printf("\n"); }

  char *name,*type;
  bool init(),exec(char **);

  #define MTYPE_EXEC "exec"
  #define MTYPE_LOGS "logs"
  #define MTYPE_ENV  "env"
  #define MTYPE_NONE "none"
  #define MTYPE_REQ  "req"

  extern void do_whitespace();
  extern int global_socket;
  extern bool screws_socket(int,char*,int);

#endif
