Logo Search packages:      
Sourcecode: yencode version File versions

meter.h

/**************************************************************************************************
      $Header: /pub/cvsroot/yencode/src/ypost/meter.h,v 1.1 2002/03/15 15:10:49 bboy Exp $

      Copyright (C) 2002  Don Moore <bboy@bboy.net>

      This program is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published by
      the Free Software Foundation; either version 2 of the License, or
      (at Your option) any later version.

      This program is distributed in the hope that it will be useful,
      but WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      GNU General Public License for more details.

      You should have received a copy of the GNU General Public License
      along with this program; if not, write to the Free Software
      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
**************************************************************************************************/

#ifndef _PROGRESS_H
#define _PROGRESS_H

#define     METER_MAX   BUFSIZ
#define     DOTBOX_MIN  8
#define     DOTBOX_MAX  512
#define     DOTBOX_EXTRA_STATS      40


extern void set_screen_width(int signo);

extern void meter(unsigned long current, unsigned long total, const char *fmt, ...) __printflike(3,4);
extern void meter_clear(void);


#endif /* !_PROGRESS_H */

/* vi:set ts=3: */

Generated by  Doxygen 1.6.0   Back to index