Revision 67e31d6234c0332334d7aedd70b2f101bc010cf9 authored by Junio C Hamano on 13 August 2006, 01:32:17 UTC, committed by Junio C Hamano on 13 August 2006, 01:32:17 UTC
* git://git.kernel.org/pub/scm/gitk/gitk:
  gitk: Show the currently checked-out head in bold font
  gitk: Allow the user to set some colors
2 parent s 6c7f4ce + 8a48571
Raw File
pkt-line.h
#ifndef PKTLINE_H
#define PKTLINE_H

#include "git-compat-util.h"

/*
 * Silly packetized line writing interface
 */
void packet_flush(int fd);
void packet_write(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));

int packet_read_line(int fd, char *buffer, unsigned size);
ssize_t safe_write(int, const void *, ssize_t);

#endif
back to top