misc.h
branchtrunk
changeset 4 79da91042fcc
parent 0 d85c12073dea
child 15 a9348bf5f6e7
equal deleted inserted replaced
3:d09ec85ffdfe 4:79da91042fcc
     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