comp.lang.ada
 help / color / mirror / Atom feed
From: Bob Goddard <1963bib@googlemail.com>
Subject: Coding access to a C's pointer - pointer
Date: Sat, 6 Jun 2020 09:23:50 -0700 (PDT)
Date: 2020-06-06T09:23:50-07:00	[thread overview]
Message-ID: <dc1dd87e-c7dd-4ed8-a3eb-918362a8f9feo@googlegroups.com> (raw)

I'm trying to shoehorn net-snmp into an Ada conversion and I've hit a roadblock.

snmp_synch_response requires a pointer to a pointer:
snmp_synch_response(netsnmp_session *, netsnmp_pdu *, netsnmp_pdu **)

Just how the heck do you code that? You can't just declare a System.Address.

Would I need to drop into C and handle it there?



B

             reply	other threads:[~2020-06-06 16:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-06 16:23 Bob Goddard [this message]
2020-06-06 16:50 ` Coding access to a C's pointer - pointer 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
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