Blame src/apply.h

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