Revision 132b70a2ed6d952e8142981474b41884ff93b780 authored by Jeff King on 28 September 2013, 08:31:11 UTC, committed by Jonathan Nieder on 30 September 2013, 20:04:45 UTC
When we retrieve the content-type of an http response, curl
gives us a pointer to internal storage, which we then copy
into a strbuf. Let's factor out the get-and-copy routine,
which can be used for getting other curl info.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
1 parent 3d1fb76
Raw File
terminal.h
#ifndef COMPAT_TERMINAL_H
#define COMPAT_TERMINAL_H

char *git_terminal_prompt(const char *prompt, int echo);

#endif /* COMPAT_TERMINAL_H */
back to top