Skip to content

Commit 0138f99

Browse files
committed
some more paperwork
1 parent 329a9fa commit 0138f99

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

API.md

+5-8
Original file line numberDiff line numberDiff line change
@@ -47,30 +47,27 @@ Remove and return the element with the closest expiration datetime
4747
return a queue of all exired element nodes.
4848

4949

50-
## QUEUE UTILITIES
51-
52-
53-
54-
55-
56-
50+
## Queue Utilities
5751

5852
`void freeQueue(ElementQueue* queue);`
5953

6054
Free all data and memory of a queue retuned from the `pop_expired` method.
6155

6256

57+
6358
`void queuePush(ElementQueue* queue, ElementQueueNode* node);`
6459

6560
Add a given `ElementQueueNode` to a queue retuned from the `pop_expired` method.
6661

6762

63+
6864
`ElementQueueNode* queuePop(ElementQueue* queue);`
6965

7066
Remove and return the first `ElementQueueNode` from a queue retuned from the `pop_expired` method.
7167

7268

73-
## ELEMENT NODE UTILITIES
69+
70+
## Element Node Utilities
7471

7572
`ElementQueueNode* NewNode(char* element, size_t element_len, mstime_t ttl);`
7673

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@
55
"description": "Unbound Low Latancy Timer Data-Structure for Large Scale Systems",
66
"keywords": ["lawn", "timer", "ttl", "stream", "stream-proccessing", "timer-wheel", "real-time"],
77
"license": "Apache2",
8-
"src": ["src/lawn.c", "src/lawn.h"]
8+
"src": ["src/lawn.c", "src/lawn.h",
9+
"src/utils/millisecond_time.c","src/utils/millisecond_time.h",
10+
"src/trie/triemap.c","src/trie/triemap.h"]
911
}

0 commit comments

Comments
 (0)