*
* Copyright (c) 2005 Adi Zaimi, Dan Piponi <dan@tanelorn.demon.co.uk>,
* Dave Clark <clarkd@skynet.ca>
- * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al.
+ * Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
******************************************/
#include "conky.h"
+#include "text_object.h"
#define CPU_THRESHHOLD 0 /* threshhold for the cpu diff to appear */
#include <time.h>
#include <dirent.h>
unsigned int time_stamp;
unsigned int counted;
unsigned int changed;
- float totalmem;
};
struct sorted_process {
/* lookup a program by it's name */
struct process *get_process_by_name(const char *);
+int parse_top_args(const char *s, const char *arg, struct text_object *obj);
+void print_top(struct text_object *, char *, int);
+void free_top(struct text_object *, int);
+
+/* return zero on success, non-zero otherwise */
+int set_top_name_width(const char *);
+
+
#endif /* _top_h_ */