File: details.h

package info (click to toggle)
gps 1.1.0.0-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,212 kB
  • ctags: 987
  • sloc: cpp: 11,600; sh: 381; makefile: 319; ansic: 227; perl: 17
file content (28 lines) | stat: -rw-r--r-- 1,016 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* $Id: details.h,v 1.4 2000/02/20 21:45:32 bergo Exp $ */

#ifndef GPS_DETAILS_H
#define GPS_DETAILS_H

#include <gtk/gtk.h>

#define ERR_DETAIL_NOT_FOUND "Couldn't get information for this process.\n"\
                             "It may have died or it may be a communication\n"\
			     "failure."
#define ERR_GONE_PID         "Process is no longer running and cannot be\n"\
			     "inspected."

void open_details(gint thepid,char *thehost);
void dismiss_details(GtkWidget *wid,gpointer data);
int  fill_table(gint p,char *thehost,GtkTable *tbl);
void lable_attach(GtkTable *t,GtkWidget *w,gint l,gint r,gint u,gint d);
void setleftlabel(GtkTable *t,char *text,gint l,gint r,gint u,gint d);
void parse_process_flags(unsigned long flags,char *dest);
void mk_cell_pic(GtkTable *t,char **xpm,gint l,gint u);
void setitemvalue(GtkCList *cl,char *text,gint l,gint r,gint u,gint d);

void details_first_list_select(GtkCList *cl,gint row,
			       gint column,GdkEventButton *geb,
			       gpointer data);

#endif