From: Heiko Hund Date: Fri, 3 Aug 2012 09:45:22 +0200 Message-ID: <3004840.HQRGjKhztB@...1526...> In-Reply-To: References: <1343821058-11456-1-git-send-email-heiko.hund@...1489...> <1343920822-29161-1-git-send-email-heiko.hund@...1489...> MIME-Version: 1.0 Subject: Re: [Openvpn-devel] [PATCH 2/2 v4] add API for plug-ins to write to openvpn log List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alon Bar-Lev Cc: openvpn-devel@lists.sourceforge.net Hi Alon On Thursday 02 August 2012 20:20:45 Alon Bar-Lev wrote: > Thanks, although I think the extra macro is not required. It looked messy without it. That's why we have it. > Last thing I see is that you need to #include as va_list is used. It's included already. > And last style comment, I don't think use of enum for bit fields is > common, better to simply #define the constants. I try to prefer enums over the preprocessor whenever I can. I like that there is a type that you can look up, even if it's not worth much besides that. Heiko -- Heiko Hund | Sr. Software Engineer | Tel +49-721-25516-237 | Fax -200 SOPHOS NSG | Amalienbadstr. 41 Bau 52 | 76227 Karlsruhe | Germany