zsh-workers
 help / color / mirror / code / Atom feed
321e5b36f1381683a1b2770b9a52803e6f2ae270 blob 1639 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
 
/*
 * db.h
 *
 * Copyright (c) 2017 Sebastian Gniazdowski
 * All rights reserved.
 *
 * Permission is hereby granted, without written agreement and without
 * license or royalty fees, to use, copy, modify, and distribute this
 * software and to distribute modified versions of this software for any
 * purpose, provided that the above copyright notice and the following
 * two paragraphs appear in all copies of this software.
 *
 * In no event shall Sebastian Gniazdowski or the Zsh Development Group be
 * liable to any party for direct, indirect, special, incidental, or
 * consequential damages arising out of the use of this software and its
 * documentation, even if Paul Falstad and the Zsh Development Group have
 * been advised of the possibility of such damage.
 *
 * Sebastian Gniazdowski and the Zsh Development Group specifically disclaim
 * any warranties, including, but not limited to, the implied warranties of
 * merchantability and fitness for a particular purpose.  The software provided
 * hereunder is on an "as is" basis, and Paul Falstad and the Zsh Development
 * Group have no obligation to provide maintenance, support, updates,
 * enhancements, or modifications.
 */

/* Backend commands */
#define DB_TIE 1
#define DB_UNTIE 2
#define DB_IS_TIED 3
#define DB_GET_ADDRESS 4
#define DB_CLEAR_CACHE 5

/* Data types, created according to redis */
#define DB_KEY_TYPE_NONE 0  /* unknown type because non-existent key */
#define DB_KEY_TYPE_UNKNOWN 1
#define DB_KEY_TYPE_NO_KEY 2
#define DB_KEY_TYPE_STRING 3
#define DB_KEY_TYPE_LIST 4
#define DB_KEY_TYPE_SET 5
#define DB_KEY_TYPE_ZSET 6
#define DB_KEY_TYPE_HASH 7
debug log:

solving 321e5b3 ...
found 321e5b3 in https://inbox.vuxu.org/zsh-workers/etPan.594f6eec.c84cf44.63ea@zdharma.org/

applying [1/1] https://inbox.vuxu.org/zsh-workers/etPan.594f6eec.c84cf44.63ea@zdharma.org/
diff --git a/Src/Modules/db.h b/Src/Modules/db.h
new file mode 100644
index 0000000..321e5b3

Checking patch Src/Modules/db.h...
Applied patch Src/Modules/db.h cleanly.

index at:
100644 321e5b36f1381683a1b2770b9a52803e6f2ae270	Src/Modules/db.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).