BSD Ports

devel/uthash 2.3.0 MidnightBSD

hash table for C structures

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd1
Categories
devel

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
MidnightBSDdevel/uthash2.3.0
FreeBSDdevel/uthash2.3.0
OpenBSDdevel/uthash2.4.0
NetBSDdevel/uthash2.3.0
DragonFlydevel/uthash2.3.0
HardenedBSDdevel/uthash2.3.0
GhostBSDdevel/uthash2.3.0

Install

Binary package:

mport install uthash

From mports:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	uthash>0:devel/uthash

Dependencies

Configuration

Options name: devel_uthash

OptionDefaultDescription
DOCSoff
Service scripts
none

Files

distinfo 1
FileSizeSHA256
troydhanson-uthash-v2.3.0_GH0.tar.gz191291e10382ab75518bad8319eb922ad04f907cb20cccb451a3aa980c9d005e661acc