comp.lang.ada
 help / color / mirror / Atom feed
* Coding access to a C's pointer - pointer
@ 2020-06-06 16:23 Bob Goddard
  2020-06-06 16:50 ` Luke A. Guest
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Bob Goddard @ 2020-06-06 16:23 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-06-07  7:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox