-int rmthost __P((char *host));
-int rmtopen __P((char *tape, int mode));
-int rmtwrite __P((char *buf, int count));
+int rmtread __P((char *buf, size_t count));
+int rmtwrite __P((const char *buf, size_t count));
+int rmtseek __P((int offset, int pos));
+struct mtget * rmtstatus __P((void));
+int rmtioctl __P((int cmd, int count));