• Nick Hainke's avatar
    local: make local_kind function accessible · ef3eb65c
    Nick Hainke authored and Juliusz Chroboczek's avatar Juliusz Chroboczek committed
    
    
    The kind-definitions are contained in the header file:
      LOCAL_FLUSH 0
      LOCAL_ADD 1
      LOCAL_CHANGE 2
    
    The function (local_kind) that converts them into strings again
    is private. New addons (for example openwrt ubus bindings) that make
    use of babeld should also use the same function to convert the kind
    to string format. This allows to ensure uniformity over all addons.
    
    Signed-off-by: default avatarNick Hainke <vincent@systemli.org>
    ef3eb65c