]> git.proxmox.com Git - libgit2.git/blame - src/signature.h
New upstream version 1.4.3+dfsg.1
[libgit2.git] / src / signature.h
CommitLineData
bb742ede 1/*
359fc2d2 2 * Copyright (C) the libgit2 contributors. All rights reserved.
bb742ede
VM
3 *
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
6 */
638c2ca4
VM
7#ifndef INCLUDE_signature_h__
8#define INCLUDE_signature_h__
9
eae0bfdc
PP
10#include "common.h"
11
638c2ca4
VM
12#include "git2/common.h"
13#include "git2/signature.h"
14#include "repository.h"
15#include <time.h>
16
7757be33 17int git_signature__parse(git_signature *sig, const char **buffer_out, const char *buffer_end, const char *header, char ender);
e579e0f7 18void git_signature__writebuf(git_str *buf, const char *header, const git_signature *sig);
a35a9890 19bool git_signature__equal(const git_signature *one, const git_signature *two);
638c2ca4 20
bdeb8772
CMN
21int git_signature__pdup(git_signature **dest, const git_signature *source, git_pool *pool);
22
638c2ca4 23#endif