{"action":"created","issue":{"url":"https://api.github.com/repos/ofiwg/libfabric/issues/760","labels_url":"https://api.github.com/repos/ofiwg/libfabric/issues/760/labels{/name}","comments_url":"https://api.github.com/repos/ofiwg/libfabric/issues/760/comments","events_url":"https://api.github.com/repos/ofiwg/libfabric/issues/760/events","html_url":"https://github.com/ofiwg/libfabric/issues/760","id":62839022,"number":760,"title":"Question: fi_open_ops()","user":{"login":"jsquyres","id":617316,"avatar_url":"https://avatars.githubusercontent.com/u/617316?v=3","gravatar_id":"","url":"https://api.github.com/users/jsquyres","html_url":"https://github.com/jsquyres","followers_url":"https://api.github.com/users/jsquyres/followers","following_url":"https://api.github.com/users/jsquyres/following{/other_user}","gists_url":"https://api.github.com/users/jsquyres/gists{/gist_id}","starred_url":"https://api.github.com/users/jsquyres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsquyres/subscriptions","organizations_url":"https://api.github.com/users/jsquyres/orgs","repos_url":"https://api.github.com/users/jsquyres/repos","events_url":"https://api.github.com/users/jsquyres/events{/privacy}","received_events_url":"https://api.github.com/users/jsquyres/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-19T01:08:19Z","updated_at":"2015-03-19T17:04:58Z","closed_at":null,"body":"@shefty fi_domain.3 has the following prototype for fi_open_ops:\r\n\r\n```c\r\nint fi_open_ops(struct fid *domain, const char *name, uint64_t flags, void **ops, void *context);\r\n```\r\n\r\nIs fi_open_ops() really only defined for domains?  Or does it just happen to be documented in fi_domain.3, and therefore the fid argument says `domain` (instead of, for example, `fid`)?\r\n\r\nI suspect it's the latter, because fabric.h contains the following prototype:\r\n\r\n```c\r\nint fi_open_ops(struct fid *fid, const char *name, uint64_t flags, void **ops, void *context)\r\n```\r\n\r\nIf it really is supposed to be any fid and not just the domain, should we move the documentation for fi_open_ops() out of fi_domain.3 and in to ...I'm not actually sure where it should go..."},"comment":{"url":"https://api.github.com/repos/ofiwg/libfabric/issues/comments/83667368","html_url":"https://github.com/ofiwg/libfabric/issues/760#issuecomment-83667368","issue_url":"https://api.github.com/repos/ofiwg/libfabric/issues/760","id":83667368,"user":{"login":"shefty","id":3967608,"avatar_url":"https://avatars.githubusercontent.com/u/3967608?v=3","gravatar_id":"","url":"https://api.github.com/users/shefty","html_url":"https://github.com/shefty","followers_url":"https://api.github.com/users/shefty/followers","following_url":"https://api.github.com/users/shefty/following{/other_user}","gists_url":"https://api.github.com/users/shefty/gists{/gist_id}","starred_url":"https://api.github.com/users/shefty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shefty/subscriptions","organizations_url":"https://api.github.com/users/shefty/orgs","repos_url":"https://api.github.com/users/shefty/repos","events_url":"https://api.github.com/users/shefty/events{/privacy}","received_events_url":"https://api.github.com/users/shefty/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T17:04:58Z","updated_at":"2015-03-19T17:04:58Z","body":"It is intended to work with any fid.  And I'm not sure where it goes either.  It's similar to fi_close(), if that helps.\r\n\r\n"}}