"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/image_support.h" between
vnstat-2.7.tar.gz and vnstat-2.8.tar.gz

About: vnStat is a console-based network traffic monitor (using the /proc filesystem).

image_support.h  (vnstat-2.7):image_support.h  (vnstat-2.8)
#ifndef IMAGE_SUPPORT_H #ifndef IMAGE_SUPPORT_H
#define IMAGE_SUPPORT_H #define IMAGE_SUPPORT_H
#include "image.h" #include "image.h"
void imageinit(IMAGECONTENT *ic, const int width, const int height); void imageinit(IMAGECONTENT *ic, const int width, const int height);
void colorinitcheck(const char *color, const int value, const char *cfgtext, con st int *rgb); void colorinitcheck(const char *color, const int value, const char *cfgtext, con st int *rgb);
void layoutinit(IMAGECONTENT *ic, char *title, const int width, const int height ); void layoutinit(IMAGECONTENT *ic, const char *title, const int width, const int height);
void drawlegend(IMAGECONTENT *ic, const int x, const int y, const short israte); void drawlegend(IMAGECONTENT *ic, const int x, const int y, const short israte);
void drawbar(IMAGECONTENT *ic, const int x, const int y, const int len, const ui nt64_t rx, const uint64_t tx, const uint64_t max, const short isestimate); void drawbar(IMAGECONTENT *ic, const int x, const int y, const int len, const ui nt64_t rx, const uint64_t tx, const uint64_t max, const short isestimate);
void drawpoles(IMAGECONTENT *ic, const int x, const int y, const int len, const uint64_t rx, const uint64_t tx, const uint64_t max); void drawpoles(IMAGECONTENT *ic, const int x, const int y, const int len, const uint64_t rx, const uint64_t tx, const uint64_t max);
void drawdonut(IMAGECONTENT *ic, const int x, const int y, const float rxp, cons t float txp, const int size, const int holesize); void drawdonut(IMAGECONTENT *ic, const int x, const int y, const float rxp, cons t float txp, const int size, const int holesize);
#ifdef CHECK_VNSTAT void drawdonut_libgd_bug_workaround(IMAGECONTENT *ic, const int x, const int y, const float rxp, const float txp, const int size, const int holesize);
void drawdonut_libgd_native(IMAGECONTENT *ic, const int x, const int y, const fl oat rxp, const float txp, const int size, const int holesize); void drawdonut_libgd_native(IMAGECONTENT *ic, const int x, const int y, const fl oat rxp, const float txp, const int size, const int holesize);
#endif
void drawpole(IMAGECONTENT *ic, const int x, const int y, const int length, cons t int direction, const int maincolor); void drawpole(IMAGECONTENT *ic, const int x, const int y, const int length, cons t int direction, const int maincolor);
void drawarrowup(IMAGECONTENT *ic, const int x, const int y); void drawarrowup(IMAGECONTENT *ic, const int x, const int y);
void drawarrowright(IMAGECONTENT *ic, const int x, const int y); void drawarrowright(IMAGECONTENT *ic, const int x, const int y);
void hextorgb(char *input, int *rgb); void hextorgb(char *input, int *rgb);
void modcolor(int *rgb, const int offset, const int force); void modcolor(int *rgb, const int offset, const int force);
char *getimagevalue(const uint64_t b, const int len, const int rate); char *getimagevalue(const uint64_t b, const int len, const int rate);
char *getimagescale(const uint64_t b, const int rate); char *getimagescale(const uint64_t b, const int rate);
uint64_t getscale(const uint64_t input, const int rate); uint64_t getscale(const uint64_t input, const int rate);
#endif #endif
 End of changes. 3 change blocks. 
3 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)