Blame src/apply.h

Packit ae9e2a
/*
Packit ae9e2a
 * Copyright (C) the libgit2 contributors. All rights reserved.
Packit ae9e2a
 *
Packit ae9e2a
 * This file is part of libgit2, distributed under the GNU GPL v2 with
Packit ae9e2a
 * a Linking Exception. For full terms see the included COPYING file.
Packit ae9e2a
 */
Packit ae9e2a
#ifndef INCLUDE_apply_h__
Packit ae9e2a
#define INCLUDE_apply_h__
Packit ae9e2a
Packit ae9e2a
#include "git2/patch.h"
Packit ae9e2a
#include "buffer.h"
Packit ae9e2a
Packit ae9e2a
extern int git_apply__patch(
Packit ae9e2a
	git_buf *out,
Packit ae9e2a
	char **filename,
Packit ae9e2a
	unsigned int *mode,
Packit ae9e2a
	const char *source,
Packit ae9e2a
	size_t source_len,
Packit ae9e2a
	git_patch *patch);
Packit ae9e2a
Packit ae9e2a
#endif