From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19346: 25.0.50; url-http-parse-headers: Symbol's function definition is void: gnutls-available-p Date: Thu, 11 Dec 2014 23:03:57 +0200 Message-ID: <83ppbpsxtu.fsf@gnu.org> References: <87mw6uxxma.fsf@sealion.lowtem.hokudai.ac.jp> <831to6t6c2.fsf@gnu.org> <87sigm3r48.fsf@lifelogs.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1418331928 28315 80.91.229.3 (11 Dec 2014 21:05:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2014 21:05:28 +0000 (UTC) Cc: hi@yagnesh.org, 19346@debbugs.gnu.org, larsi@gnus.org To: Ted Zlatanov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 11 22:05:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XzAvH-0007u6-Li for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2014 22:05:19 +0100 Original-Received: from localhost ([::1]:54315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzAvH-0003Z6-3v for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2014 16:05:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzAv5-0003Vu-Gv for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:05:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzAv0-0007bp-G4 for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:05:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzAv0-0007ab-CJ for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XzAuz-0006hm-Ji for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Dec 2014 21:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19346 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 19346-submit@debbugs.gnu.org id=B19346.141833185525702 (code B ref 19346); Thu, 11 Dec 2014 21:05:01 +0000 Original-Received: (at 19346) by debbugs.gnu.org; 11 Dec 2014 21:04:15 +0000 Original-Received: from localhost ([127.0.0.1]:43241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzAuB-0006gP-3S for submit@debbugs.gnu.org; Thu, 11 Dec 2014 16:04:14 -0500 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:57717) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzAu4-0006fq-5s for 19346@debbugs.gnu.org; Thu, 11 Dec 2014 16:04:08 -0500 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NGF00400RRB8L00@mtaout26.012.net.il> for 19346@debbugs.gnu.org; Thu, 11 Dec 2014 23:02:57 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NGF000O3RSXXX20@mtaout26.012.net.il>; Thu, 11 Dec 2014 23:02:57 +0200 (IST) In-reply-to: <87sigm3r48.fsf@lifelogs.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97231 Archived-At: > From: Ted Zlatanov > Cc: hi@yagnesh.org, 19346@debbugs.gnu.org, larsi@gnus.org > Date: Thu, 11 Dec 2014 14:48:07 -0500 > > >> Your fix uses `fboundp'. Should we make `gnutls-available-p' always > >> defined to return nil, to simplify this in the future? > > EZ> Yes. Otherwise, the function doesn't make sense, IMO. > > OK. Where should we put this In gnutls.c, of course. > and how does it get overridden when you load the GnuTLS library? It doesn't. It just changes the value it returns. > As Stefan mentioned we'll need this for dynamic modules as well, so > a generic solution would be greatly appreciated, if you have > something in mind. The generic solution is for the code that links to each module to provide the function, and for the module to provide the value. This is all part of the "protocol" between Emacs and the modules, which includes a header file, an import library, and a bunch of interfaces each module needs to implement.