{"action":"created","issue":{"url":"https://api.github.com/repos/jacereda/fsatrace/issues/14","repository_url":"https://api.github.com/repos/jacereda/fsatrace","labels_url":"https://api.github.com/repos/jacereda/fsatrace/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/jacereda/fsatrace/issues/14/comments","events_url":"https://api.github.com/repos/jacereda/fsatrace/issues/14/events","html_url":"https://github.com/jacereda/fsatrace/issues/14","id":156154001,"number":14,"title":"Add C API","user":{"login":"droundy","id":137513,"avatar_url":"https://avatars.githubusercontent.com/u/137513?v=3","gravatar_id":"","url":"https://api.github.com/users/droundy","html_url":"https://github.com/droundy","followers_url":"https://api.github.com/users/droundy/followers","following_url":"https://api.github.com/users/droundy/following{/other_user}","gists_url":"https://api.github.com/users/droundy/gists{/gist_id}","starred_url":"https://api.github.com/users/droundy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droundy/subscriptions","organizations_url":"https://api.github.com/users/droundy/orgs","repos_url":"https://api.github.com/users/droundy/repos","events_url":"https://api.github.com/users/droundy/events{/privacy}","received_events_url":"https://api.github.com/users/droundy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":37,"created_at":"2016-05-22T14:12:01Z","updated_at":"2016-06-03T17:58:53Z","closed_at":null,"body":"I think there is a desire to add a C API, and I'd like to unify bigbro with fsatrace (under either one name or the other).  How does the bigbro API look?\r\n\r\nhttps://github.com/droundy/bigbro/blob/master/bigbro.h#L3\r\n\r\nI could easily see creating more a fine-grained set of output (e.g. separating stat into a separate array), and also allowing null pointers for output that is not desired.\r\n\r\nI don't know how portable to windows the file descriptor approach is for redirecting stdout and stderr.  Also, this API doesn't support setting the environment for the child, so if that is important, we'd need another argument.  Finally, returning the child PID seems important in terms of fac's usage, but I'm not sure how that will work on windows.  Maybe we create a second helper function kill_children? Sounds racy.\r\n\r\nAnother question is how to support the \"blocking\" mode that Neil wants."},"comment":{"url":"https://api.github.com/repos/jacereda/fsatrace/issues/comments/223649065","html_url":"https://github.com/jacereda/fsatrace/issues/14#issuecomment-223649065","issue_url":"https://api.github.com/repos/jacereda/fsatrace/issues/14","id":223649065,"user":{"login":"jacereda","id":4195919,"avatar_url":"https://avatars.githubusercontent.com/u/4195919?v=3","gravatar_id":"","url":"https://api.github.com/users/jacereda","html_url":"https://github.com/jacereda","followers_url":"https://api.github.com/users/jacereda/followers","following_url":"https://api.github.com/users/jacereda/following{/other_user}","gists_url":"https://api.github.com/users/jacereda/gists{/gist_id}","starred_url":"https://api.github.com/users/jacereda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacereda/subscriptions","organizations_url":"https://api.github.com/users/jacereda/orgs","repos_url":"https://api.github.com/users/jacereda/repos","events_url":"https://api.github.com/users/jacereda/events{/privacy}","received_events_url":"https://api.github.com/users/jacereda/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T17:58:53Z","updated_at":"2016-06-03T17:58:53Z","body":"Well, maybe having it permanently mounted is desirable keeping in mind that mounting and unmounting will probably hurt caching.\r\n"}}
{"actor":{"display_login":"jacereda"}}