Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[th/c-list] import c-list library as third-party module for internal use #412

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Nov 14, 2024

  1. Squashed 'third_party/c-list/' content from commit 9aa81d84cadc

    git-subtree-dir: third_party/c-list
    git-subtree-split: 9aa81d84cadc67e92b441c89f84c57e72dd1e8a9
    thom311 committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    8c56bfb View commit details
    Browse the repository at this point in the history
  2. c-list: merge commit '8c56bfb8c06db7eae394662753955a04e08910b6' as 't…

    …hird_party/c-list'
    
    Add "c-list" library ([1]).
    
    We already have an internal implementation for a circular, intrusive,
    doubly-linked list (in `include/netlink/list.h`).
    
    However, I think the "c-list" library is excellent, and in 2024 a
    netlink library should no longer reimplement a basic data structure.
    
    Vendor "c-list" via git-subtree. We want to strictly follow upstream (no
    local changes on our side) but re-import the library when there are new
    upstream changes.
    
    Existing users of <netlink/list.h> are not required to be rewritten. But
    new users should use "c-list.h". This is only an internal dependency, we
    anyway wouldn't want to expose such a list in our public API.
    
    [1] https://github.com/c-util/c-list
    
    Imported via:
    
      $ git subtree add --prefix third_party/c-list/ [email protected]:c-util/c-list.git main --squash
    
    Update with:
    
      $ git subtree pull --prefix third_party/c-list/ [email protected]:c-util/c-list.git main --squash
    thom311 committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    9ce2675 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c9da23 View commit details
    Browse the repository at this point in the history