Rewrite X11 snarf. Maybe this will be better.
This commit is contained in:
@ -183,6 +183,24 @@ static char Eoldname[] = "named image no longer valid";
|
||||
static char Enamed[] = "image already has name";
|
||||
static char Ewrongname[] = "wrong name for image";
|
||||
|
||||
int
|
||||
drawcanqlock(void)
|
||||
{
|
||||
return canqlock(&sdraw.lk);
|
||||
}
|
||||
|
||||
void
|
||||
drawqlock(void)
|
||||
{
|
||||
qlock(&sdraw.lk);
|
||||
}
|
||||
|
||||
void
|
||||
drawqunlock(void)
|
||||
{
|
||||
qunlock(&sdraw.lk);
|
||||
}
|
||||
|
||||
static int
|
||||
drawgen(Chan *c, char *name, Dirtab *dt, int ndt, int s, Dir *dp)
|
||||
{
|
||||
|
@ -79,6 +79,9 @@ Walkqid* devwalk(Chan*, Chan*, char**, int, Dirtab*, int, Devgen*);
|
||||
int devwstat(Chan*, uchar*, int);
|
||||
void drawactive(int);
|
||||
void drawcmap(void);
|
||||
int drawcanqlock(void);
|
||||
void drawqlock(void);
|
||||
void drawqunlock(void);
|
||||
void dumpaproc(Proc*);
|
||||
void dumpqueues(void);
|
||||
void dumpregs(Ureg*);
|
||||
|
Reference in New Issue
Block a user