Re: Proposed new API: TSVConnFdGet

2023-09-07 Thread Leif Hedstrom
> On Sep 6, 2023, at 4:26 PM, SUSAN HINRICHS wrote: > > I would like to add a convenience API to fetch the file descriptor from a > VConn object. I came across the need for this when writing a plugin > working with a SSL VConn. For a variety of reasons, I didn't want the > plugin to link wit

Re: [E] Re: Proposed new API: TSVConnFdGet

2023-09-07 Thread Walt Karas
+1 as long as I don't have to do it. On Wed, Sep 6, 2023 at 10:39 PM Brian Neradt wrote: > +1 > > We already have a TSVConnFdCreate, so it seems appropriate to add a getter. > > On Wed, Sep 6, 2023 at 5:26 PM SUSAN HINRICHS > wrote: > > > I would like to add a convenience API to fetch the file

Re: Proposed new API: TSVConnFdGet

2023-09-06 Thread Brian Neradt
+1 We already have a TSVConnFdCreate, so it seems appropriate to add a getter. On Wed, Sep 6, 2023 at 5:26 PM SUSAN HINRICHS wrote: > I would like to add a convenience API to fetch the file descriptor from a > VConn object. I came across the need for this when writing a plugin > working with a

Proposed new API: TSVConnFdGet

2023-09-06 Thread SUSAN HINRICHS
I would like to add a convenience API to fetch the file descriptor from a VConn object. I came across the need for this when writing a plugin working with a SSL VConn. For a variety of reasons, I didn't want the plugin to link with a ssl library. With this API, I could avoid pulling in the ssl l