Staging
v0.5.1
Revision 56a33c8f1bb5cef11ddf046f7b570f527ea77d37 authored by Junio C Hamano on 07 March 2012, 20:51:55 UTC, committed by Junio C Hamano on 07 March 2012, 20:51:55 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 1e4d087
Raw File
streaming.h
/*
 * Copyright (c) 2011, Google Inc.
 */
#ifndef STREAMING_H
#define STREAMING_H 1
#include "cache.h"

/* opaque */
struct git_istream;

extern struct git_istream *open_istream(const unsigned char *, enum object_type *, unsigned long *, struct stream_filter *);
extern int close_istream(struct git_istream *);
extern ssize_t read_istream(struct git_istream *, char *, size_t);

#endif /* STREAMING_H */
back to top