pkt-line.hon commit git-p4: Cleanup; moved the code for the initial #head or revision import into a separate function, out of P4Sync.run. (c208a24)
   1#ifndef PKTLINE_H
   2#define PKTLINE_H
   3
   4#include "git-compat-util.h"
   5
   6/*
   7 * Silly packetized line writing interface
   8 */
   9void packet_flush(int fd);
  10void packet_write(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));
  11
  12int packet_read_line(int fd, char *buffer, unsigned size);
  13ssize_t safe_write(int, const void *, ssize_t);
  14
  15#endif