]> andersk Git - moira.git/blobdiff - include/update.h
Command line printer manipulation client, and build goo.
[moira.git] / include / update.h
index b6790dc8057d9b1acd003cf949468955e324b0d5..4ed885dd0e16d456da96b3ff83842f1db85d889b 100644 (file)
@@ -7,14 +7,12 @@
 /* For unknown reasons, we're running des_pcbc_encrypt in DEcrypt mode,
    not ENcrypt, so we need to guarantee that the block size is a multiple
    of 8 to prevent the data from being zero-padded. */
-#define UPDATE_BUFSIZ ((BUFSIZ + 7) & ~7)
+#define MR_BUFSIZ 8192
+#define UPDATE_BUFSIZ ((MR_BUFSIZ + 7) & ~7)
 
-int send_file(int conn, char *pathname, char *target_path, int encrypt);
-int send_auth(int conn, char *hostname);
-int execute(int conn, char *path);
-void send_quit(int conn);
-
-#include <krb.h>
-int get_mr_update_ticket(char *host, KTEXT ticket);
+int mr_send_file(int conn, char *pathname, char *target_path, int encrypt);
+int mr_send_auth(int conn, char *hostname);
+int mr_execute(int conn, char *path);
+void mr_send_quit(int conn);
 
 extern char *whoami;
This page took 1.879979 seconds and 4 git commands to generate.