Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo development <gentoo-dev@l.g.o>
Subject: [gentoo-dev] rfc: openrc c api (librc) usage
Date: Thu, 10 Dec 2015 16:33:09
Message-Id: 20151210163220.GA4887@whubbs1.gaikai.biz
1 All,
2
3 I want to start a discussion about the usage of OpenRC's C api as
4 defined in rc.h.
5
6 I have no idea which projectss out there are using it, or which
7 functions they are using.
8
9 There are two functions I can deprecate immediately and prepare to drop
10 in 1.0 -- these are rc_getline() because getline() is now a posix
11 function, and rc_sys() because the OpenRC internal code no longer uses
12 it and because it is broken (it doesn't distinguish between containers
13 and virtual machines).
14
15 What I want to know is,
16
17 - Which projects include rc.h?
18
19 - What are you using in rc.h?
20
21 From my perspective it looks like a number of the functions in librc are
22 probably functions that should be internal to OpenRC instead of being
23 shared in an API; however, I don't want to knowingly break anything by
24 moving functions that someone is using.
25
26 Thanks,
27
28 William

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] rfc: openrc c api (librc) usage Mike Frysinger <vapier@g.o>