libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] miscellaneous requests


From: Marco Maggi
Subject: [libmicrohttpd] miscellaneous requests
Date: Tue, 30 Mar 2010 20:08:53 +0200

1. Is it possible to typedef all the enumerations?  Example:

typedef enum MHD_ValueKind
{
  MHD_RESPONSE_HEADER_KIND = 0,
  MHD_HEADER_KIND = 1,
  MHD_COOKIE_KIND = 2,
  MHD_POSTDATA_KIND = 4,
  MHD_GET_ARGUMENT_KIND = 8,
  MHD_FOOTER_KIND = 16
} MHD_ValueKind;

2.  Is  it possible  to  typedef  all  the data  structures?
Example:

typedef struct MHD_OptionItem
{
  enum MHD_OPTION option;
  intptr_t value;
  void *ptr_value;
} MHD_OptionItem;

3.   Can  the  "max_fd"  argument  to  "MHD_get_fdset()"  be
optionally set to NULL if  we are not interested in handling
that value?

TIA
-- 
Marco Maggi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]