forked from Lainports/freebsd-ports
* Fix runtime PHP errors if short_opentag is disabled (default) * Remove most PHP warnings/notices that go to error_log * Fix HTML output to be valid * Fix quoting of SQL objects * Fix escaping of user-provided SQL data (potential sql injection) * Widen fields in 95.php and 95.pl for interface and router names * Fix warnings in perl modules in newer perl versions * Fix createdb script to use CREATE USER/GRANT not manipulate user db directly * Add "Update_desc" config entry to auto-update port descriptions from snmp * Update default SNMP version to 2 PR: 227376 Submitted by: <freebsd-ports@dan.me.uk> (maintainer)
26 lines
621 B
C
26 lines
621 B
C
--- src/rtgplot.h.orig 2003-09-24 14:43:39 UTC
|
|
+++ src/rtgplot.h
|
|
@@ -11,6 +11,7 @@
|
|
|
|
#include <gd.h>
|
|
#include <gdfonts.h>
|
|
+#include <gdfontmb.h>
|
|
#include <strings.h>
|
|
|
|
#define XPLOT_AREA 500
|
|
@@ -95,6 +96,7 @@ typedef struct graph_struct {
|
|
int scaley;
|
|
range_t range;
|
|
image_t image;
|
|
+ char *titlestr;
|
|
} graph_t;
|
|
|
|
/* A linked list of colors that we iterate through each line */
|
|
@@ -106,6 +108,7 @@ typedef struct color_struct {
|
|
|
|
typedef struct arguments_struct {
|
|
char *table[MAXTABLES];
|
|
+ char *tablename[MAXTABLES];
|
|
int iid[MAXIIDS];
|
|
int tables_to_plot;
|
|
int iids_to_plot;
|