]>
git.proxmox.com Git - ceph.git/blob - ceph/src/common/hex.h
2 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
3 // vim: ts=8 sw=2 smarttab
5 * Ceph - scalable distributed file system
7 * Copyright (C) 2011 New Dream Network
9 * This is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License version 2.1, as published by the Free Software
12 * Foundation. See file COPYING.
16 #ifndef CEPH_COMMON_HEX_H
17 #define CEPH_COMMON_HEX_H
21 extern void hex2str(const char *s
, int len
, char *buf
, int dest_len
);
23 extern std::string
hexdump(std::string msg
, const char *s
, int len
);