equal
deleted
inserted
replaced
1 /* misc.h |
1 /* misc.h |
2 Copyright (c) 2000-2002 Craig Condit, Stefan Hülswitt. |
2 Copyright (c) 2000-2004 Craig Condit, Stefan Hülswitt. |
3 |
3 |
4 Redistribution and use in source and binary forms, with or without |
4 Redistribution and use in source and binary forms, with or without |
5 modification, are permitted provided that the following conditions are met: |
5 modification, are permitted provided that the following conditions are met: |
6 |
6 |
7 1. Redistributions of source code must retain the above copyright notice, |
7 1. Redistributions of source code must retain the above copyright notice, |
24 */ |
24 */ |
25 |
25 |
26 #ifndef _CDBACKUP_MISC_H |
26 #ifndef _CDBACKUP_MISC_H |
27 #define _CDBACKUP_MISC_H |
27 #define _CDBACKUP_MISC_H |
28 |
28 |
29 int start_diskchange(char *multicmd, char *cd_dev); |
29 unsigned long crc32(char *data, int len); |
|
30 void diskchange(char *multicmd, char *cd_dev); |
|
31 int full_read(int fd, void *buf, int count); |
30 void error(char *text); |
32 void error(char *text); |
31 void serror(char *text); |
33 void serror(char *text); |
|
34 char *FlexSize(char *buff, long long val); |
|
35 long long FlexLen(char *optarg); |
32 |
36 |
33 #endif |
37 #endif |