<div dir="ltr">I'd personally like to see the mockable DBus wrappers in here.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 17, 2018 at 8:43 AM Vernon Mauery <<a href="mailto:vernon.mauery@linux.intel.com">vernon.mauery@linux.intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 15-Oct-2018 02:44 PM, William Kennington wrote:<br>
>I'd like to request a new repo be created where we can put universally<br>
>used c++ functions and classes that any of our projects could inherit<br>
>from. This would not be allowed to have any runtime dependencies<br>
>outside of the typical built-in ones (libstdc++, libc, and the kernel<br>
>syscall interface).<br>
><br>
>Right now I've got a smart file descriptor and signal blocking<br>
>function which I'd like to include. It would look something like<br>
>(although I actually want to break this down into a uniquefd and<br>
>dupablefd for the purposes of stdplus):<br>
><a href="https://github.com/openbmc/gpioplus/blob/1d97c45aa75957e9e8965e33f1f28985cf88d22d/src/gpioplus/internal/fd.hpp" rel="noreferrer" target="_blank">https://github.com/openbmc/gpioplus/blob/1d97c45aa75957e9e8965e33f1f28985cf88d22d/src/gpioplus/internal/fd.hpp</a><br>
><br>
>Let me know what you think,<br>
<br>
I think a mmap interface might be nice to go in this library too. While <br>
there is a boost one, it does require linking against boost_filesystem <br>
IIRC. And it is a little heavy handed for most use cases.<br>
<br>
--Vernon<br>
</blockquote></div>