/* Copyright (c) 2012-2018 The SSDB Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ /* kv commands */ #include "serv.h" #include "net/proc.h" #include "net/server.h" DEF_PROC(get); DEF_PROC(set); DEF_PROC(setx); DEF_PROC(setnx); DEF_PROC(getset); DEF_PROC(getbit); DEF_PROC(setbit); DEF_PROC(countbit); DEF_PROC(substr); DEF_PROC(getrange); DEF_PROC(strlen); DEF_PROC(bitcount); DEF_PROC(del); DEF_PROC(incr); DEF_PROC(decr); DEF_PROC(scan); DEF_PROC(rscan); DEF_PROC(keys); DEF_PROC(rkeys); DEF_PROC(exists); DEF_PROC(multi_exists); DEF_PROC(multi_get); DEF_PROC(multi_set); DEF_PROC(multi_del); DEF_PROC(ttl); DEF_PROC(expire);