BSD Ports

devel/uthash 2.3.0 DragonFly

Hash table for C structures

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD1CLAUSE
Categories
devel
Package size
50.0 KiB, 298.4 KiB installed

Description

This is a hash table, implemented in C, supporting constant-time add/find/remove of C structures. Any structure having a unique, arbitrarily-typed key member can be hashed by adding a UT_hash_handle member to the structure and calling these macros.

In the other systems

SystemPortVersion
DragonFlydevel/uthash2.3.0
FreeBSDdevel/uthash2.3.0
OpenBSDdevel/uthash2.4.0
NetBSDdevel/uthash2.3.0
MidnightBSDdevel/uthash2.3.0
HardenedBSDdevel/uthash2.3.0
GhostBSDdevel/uthash2.3.0

Install

Binary package:

pkg install uthash

From DPorts:

cd /usr/dports/devel/uthash && make install clean

Dependencies

No port depends on this one.