From apache-modules Tue Sep 07 17:25:28 2004 From: Christian Parpart Date: Tue, 07 Sep 2004 17:25:28 +0000 To: apache-modules Subject: Re: [apache-modules] A module that emails? Message-Id: <200409071925.31351.cparpart () surakware ! net> X-MARC-Message: https://marc.info/?l=apache-modules&m=109457793804946 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart2299830.62VDqs3hY5" --nextPart2299830.62VDqs3hY5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Tuesday 07 September 2004 6:15 pm, Anthony Wells wrote: > Christian, > > I guess you can use C++ for Apache modules. The function handlers would > have public static modifiers but could easily call C++ functions and crea= te > C++ objects. Works just fine, the only thing you must take care of - IMHO - is, to decla= re=20 your C++ FOO module as: extern "C" {=20 ::module AP_MODULE_DECLARE_DATA FOO_module =3D { // your stuff here }; } > I looked over libesmtp. It's not quite as an elegant solution provided > through SWL and will require a little more coding than I would like but it > will suffice for my form mailer module. (I am still going to look into a > socket bucket brigade though.) I'm not sure if I'm up to the challenge of > C++ Apache modules just now. Well, feel free to ask, if needed ;) Greets, Christian Parpart. =2D-=20 19:13:22 up 14 days, 6:52, 0 users, load average: 0.73, 0.71, 0.66 --nextPart2299830.62VDqs3hY5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBBPe8LPpa2GmDVhK0RAl1QAJ4r4os1oZWV4i8hc02PRBBLzrSS0gCdH5Xp Wj0/LmcXqlGUmIDwdk/uMq8= =ALDg -----END PGP SIGNATURE----- --nextPart2299830.62VDqs3hY5--