{"id":27958065,"url":"https://github.com/ericsson/libpaf","last_synced_at":"2025-10-18T17:14:09.048Z","repository":{"id":41194261,"uuid":"274087624","full_name":"Ericsson/libpaf","owner":"Ericsson","description":"Pathfinder service discovery client library","archived":false,"fork":false,"pushed_at":"2024-12-17T09:55:26.000Z","size":568,"stargazers_count":2,"open_issues_count":9,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T18:16:04.253Z","etag":null,"topics":["service-discovery"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ericsson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-22T08:55:09.000Z","updated_at":"2024-12-17T09:10:26.000Z","dependencies_parsed_at":"2023-12-22T12:52:42.261Z","dependency_job_id":"c70e4ea6-04de-4122-9239-fb8e1dc83959","html_url":"https://github.com/Ericsson/libpaf","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Flibpaf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Flibpaf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Flibpaf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Flibpaf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ericsson","download_url":"https://codeload.github.com/Ericsson/libpaf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931507,"owners_count":21827112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["service-discovery"],"created_at":"2025-05-07T18:16:10.666Z","updated_at":"2025-10-18T17:14:09.043Z","avatar_url":"https://github.com/Ericsson.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pathfinder Client Library\n\nPathfinder is a light-weight service discovery system.\n\nThe Pathfinder Client Library `libpaf` is a C library used to access\none or more Pathfinder service discovery domains, either as a service\nprovider or consumer. The library is an implementation of the\nPathfinder Protocol\n[version 2](https://github.com/Ericsson/paf/blob/master/doc/protocol/PROTOCOLv2.md)\nand\n[version 3](https://github.com/Ericsson/paf/blob/master/doc/protocol/PROTOCOLv3.md).\n\nFor more detailed information, see the [Pathfinder\nserver](https://github.com/Ericsson/paf/blob/master/README.md).\n\n## Installation\n\nThe Pathfinder Client Library is implemented in C.\n\nDependencies:\n\n* libjansson\n* libxcm 1.5.0 or later (i.e., API version 0.20 or higher)\n* Automake\n\nAdditionally, the 'lpafc' command-line tool depend on:\n* GNU readline\n\nTo build and install libpaf, run:\n\n```\nautoreconf -i \u0026\u0026 ./configure \u0026\u0026 make install\n```\n\n## Test Suites\n\nThe libpaf source tree hosts unit and component-level tests for the\nlibrary. The component-level test suite is an integration test,\nrunning against a real Pathfinder server.\n\nThe component-level tests will look for a `pafd` binary in the\nPATH. In addition, the 'paf' Python module needs to be included in the\nPYTHONPATH.\n\nIf available, valgrind will be used when running the test suites.\n\nBoth types of tests use the 'utest' test framework, included in the\nsource tree.\n\nTo run the tests, issue:\n\n```\nmake check\n```\n\nIn case the `tpafd` (or any other) server is to be used by integration\ntests, use:\n\n```\nPAFD=tpafd make check\n```\n\nFor the test suite to cover functionality related to network\nnamespaces, the CAP_SYS_ADMIN capability is required.\n\n## Documentation\n\nAPI documentation in Doxygen format is available in paf.h. `make\ndoxygen` will create HTML version. If the `pdflatex` tool is\ninstalled, a PDF version will also be produced.\n\nAn online copy of this API version's documentation can be found here:\nhttps://ericsson.github.io/libpaf/api/0.1/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericsson%2Flibpaf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericsson%2Flibpaf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericsson%2Flibpaf/lists"}