⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sfsrodb_core.h

📁 chord 源码 http://pdos.csail.mit.edu/chord/
💻 H
字号:
/* $Id: sfsrodb_core.h,v 1.15 2003/09/26 21:00:08 sit Exp $ *//* * * Copyright (C) 2000 Kevin Fu (fubob@mit.edu) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2, or (at * your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * */#ifndef _SFSRODB_CORE_H_#define _SFSRODB_CORE_H_#include "sysconf.h"#include "sfs_prot.h"#include "crypt.h"#include "sfscrypt.h"#include "str.h"#include "sha1.h"#include "xdrmisc.h"#include "dbfe.h"#include "dhash_prot.h"#include "sfsro_prot_cfs.h"#ifdef DMALLOC#include "dmalloc.h"#endif#define CONCUR_OPS 8bigint fh2mpz(const void *keydata, size_t keylen);sfs_hash sfsrodb_put (void *data, size_t len);chordID sfsrodb_put (ptr <sfspriv> sk, void *data, size_t len);ptr<sfsro_data> sfsrodb_get (bigint key, dhash_ctype ct);void sfsrodb_core_sigusr1 ();#endif /* _SFSRODB_CORE_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -