From: Bob Goddard <1963bib@googlemail.com>
Subject: Re: Coding access to a C's pointer - pointer
Date: Sat, 6 Jun 2020 10:34:00 -0700 (PDT)
Date: 2020-06-06T10:34:00-07:00 [thread overview]
Message-ID: <1e9ca8a9-4801-485b-b995-103d45eca923o@googlegroups.com> (raw)
In-Reply-To: <rbgi5h$1gub$1@gioia.aioe.org>
On Saturday, 6 June 2020 18:01:41 UTC+1, Dmitry A. Kazakov wrote:
[...]
> > Would I need to drop into C and handle it there?
>
> P.S. Why do not you implement SNMP instead of using alien library? SNMP
> is not rocket science.
I think everyone feels my pain, and at the moment, life is too short to re-implement snmp. Net-snmp code can only be describe as how not to write an application and how not to write documentation.
Anyways... I had already done the following and created the pdu record:
function SNMP_Synch_Response (Session : access snmp_Session; PDU : access snmp_pdu; Response : System.Address) return Interfaces.C.int;
pragma Import (C, SNMP_Synch_Response, "snmp_synch_response");
I'll still look...
next prev parent reply other threads:[~2020-06-06 17:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-06 16:23 Coding access to a C's pointer - pointer Bob Goddard
2020-06-06 16:50 ` Luke A. Guest
2020-06-06 16:59 ` Niklas Holsti
2020-06-06 17:01 ` Dmitry A. Kazakov
2020-06-06 17:34 ` Bob Goddard [this message]
2020-06-06 18:48 ` Dmitry A. Kazakov
2020-06-06 20:20 ` Jeffrey R. Carter
2020-06-06 20:51 ` Björn Lundin
2020-06-06 20:55 ` Jeffrey R. Carter
2020-06-07 7:29 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox