Diff for /embedaddon/mpd/src/web.h between versions 1.1 and 1.1.1.2

version 1.1, 2012/02/21 23:32:47 version 1.1.1.2, 2021/03/17 00:39:23
Line 26 Line 26
  * DEFINITIONS   * DEFINITIONS
  */   */
   
  /* Configuration options */ /* Configuration options */
  enum {enum {
    WEB_AUTH    /* enable auth */        WEB_AUTH                        /* enable auth */
  };};
   
  struct web {struct web {
    struct optinfo      options;        struct optinfo options;
    struct u_addr       addr;        struct u_addr addr;
    in_port_t           port;        in_port_t port;
    struct http_server *srv;        struct http_server *srv;
    struct http_servlet srvlet;        struct http_servlet srvlet;
    EventRef            event;          /* connect-event */        EventRef event;                  /* connect-event */
  };};
   
  typedef struct web *Web;typedef struct web *Web;
   
 /*  /*
  * VARIABLES   * VARIABLES
  */   */
   
  extern const struct cmdtab WebSetCmds[];extern const struct cmdtab WebSetCmds[];
   
   
 /*  /*
  * FUNCTIONS   * FUNCTIONS
  */   */
   
  extern int    WebInit(Web c);extern int WebInit(Web c);
  extern int    WebOpen(Web c);extern int WebOpen(Web c);
  extern int    WebClose(Web c);extern int WebClose(Web c);
  extern int    WebStat(Context ctx, int ac, char *av[], void *arg);extern int WebStat(Context ctx, int ac, const char *const av[], const void *arg);
   
   
 #endif  #endif
   

Removed from v.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>