diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-04-02 15:07:30 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-04-02 15:07:30 +0100 |
commit | ad7d31ead8ff9c34bb63172754d3e7d15d803bde (patch) | |
tree | 0d8b179d1d97c74223e117748420f49ef5ca9c38 /termkey.h.in | |
parent | 04683553896358b7c3115fa646f88762ee4a8212 (diff) | |
download | termo-ad7d31ead8ff9c34bb63172754d3e7d15d803bde.tar.gz termo-ad7d31ead8ff9c34bb63172754d3e7d15d803bde.tar.xz termo-ad7d31ead8ff9c34bb63172754d3e7d15d803bde.zip |
Provide termkey_keycmp() for sorting purposes
Diffstat (limited to 'termkey.h.in')
-rw-r--r-- | termkey.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/termkey.h.in b/termkey.h.in index c4e9cb2..c91f954 100644 --- a/termkey.h.in +++ b/termkey.h.in @@ -193,6 +193,8 @@ typedef enum { size_t termkey_strfkey(TermKey *tk, char *buffer, size_t len, TermKeyKey *key, TermKeyFormat format); char *termkey_strpkey(TermKey *tk, const char *str, TermKeyKey *key, TermKeyFormat format); +int termkey_keycmp(TermKey *tk, const TermKeyKey *key1, const TermKeyKey *key2); + // Old name for termkey_strfkey() size_t termkey_snprint_key(TermKey *tk, char *buffer, size_t len, TermKeyKey *key, TermKeyFormat format); |