Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 23710 invoked from network); 11 Jun 2004 22:07:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Jun 2004 22:07:40 -0000 Received: (qmail 48897 invoked by uid 500); 11 Jun 2004 22:07:51 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 48863 invoked by uid 500); 11 Jun 2004 22:07:50 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 48823 invoked by uid 99); 11 Jun 2004 22:07:49 -0000 Message-ID: <40CA2CAA.2090508@attglobal.net> Date: Fri, 11 Jun 2004 18:05:30 -0400 From: Jeff Trawick User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.6) Gecko/20040117 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@apr.apache.org Subject: [Fwd: Re: cvs commit: apr/include apr_thread_proc.h] Content-Type: multipart/mixed; boundary="------------040708050004000207030301" X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------040708050004000207030301 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit (should have sent this to the list originally) --------------040708050004000207030301 Content-Type: message/rfc822; name="Re: cvs commit: apr/include apr_thread_proc.h" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: cvs commit: apr/include apr_thread_proc.h" Message-ID: <40CA2C65.8030400@attglobal.net> Date: Fri, 11 Jun 2004 18:04:21 -0400 From: Jeff Trawick User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.6) Gecko/20040117 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brad Nicholes Subject: Re: cvs commit: apr/include apr_thread_proc.h References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Brad Nicholes wrote: > We considered that but decided that adding a NetWare only enum was > less intrusive than adding a NetWare only API to APR. I'm fine with it > either way, this just seemed a little cleaner. All of the other enums > are a no-ops for us since those concepts don't exist on NetWare. We > figured that it would be easier for NetWare to no-op the enums rather > than all the other platforms having to no-op a new API. what's cleaner for the application? (no implication here of what is cleaner, but that's what is more important) no-op-ing a new api is just copying these several lines into the other proc.c files APR_DECLARE(apr_status_t) apr_procattr_FOO_set(apr_procattr_t *attr, FOO foo) { return APR_SUCCESS; /* or APR_ENOTIMPL depending on what promise is * made */ } but as always more opinions would be nice --------------040708050004000207030301--