History

replace ixp* names

yiyus committed 15 years ago

Commit 567fa531 parent dfce5296 files · +8 −8Browse files

Showing the changes to devwsys (6 of 6 files). Show all

Unified · Split

6 files
  1. devwsys/fns.h +3 −3
  2. devwsys/ixp_fsys.c +1 −1
  3. devwsys/ixp_srv.c +1 −1
  4. devwsys/keyboard.c +1 −1
  5. devwsys/main.c +1 −1
  6. devwsys/mouse.c +1 −1
devwsys/fns.h+3−3
@@ -27,10 +27,10 @@ void setlabel(Window*, char*); · 26 unmodified lines
2727 /* Wctl */
2828 int wctlmesg(Window*, char*, int, char*);
2929
30−/* Ixp */
31−void ixprread(void*, char*);
32−int ixpserve(char*);
30+/* Fsys */
31+int fsloop(char*);
3332 void killrespond(Window*);
33+void readreply(void*, char*);
3434
3535 /* X connection */
3636 int xinit(void);
devwsys/ixp_fsys.c+1−1
@@ -673,7 +673,7 @@ killrespond(Window *w) · 672 unmodified lines
673673
674674 /* Reply a read request */
675675 void
676−ixprread(void *v, char *buf)
676+readreply(void *v, char *buf)
677677 {
678678 Ixp9Req *r;
679679 IxpFileId *f;
devwsys/ixp_srv.c+1−1
@@ -15,7 +15,7 @@ void endconnection(IxpConn*); · 14 unmodified lines
1515 void eventfdready(IxpConn*);
1616
1717 int
18−ixpserve(char *address)
18+fsloop(char *address)
1919 {
2020 char buf[512];
2121 int fd;
devwsys/keyboard.c+1−1
@@ -79,7 +79,7 @@ replykbd(Kbdbuf *kbd, void *r) · 78 unmodified lines
7979
8080 rune = kbd->r[kbd->ri];
8181 sprint(buf, "%C", rune);
82− ixprread(r, buf);
82+ readreply(r, buf);
8383 }
8484
8585 static
devwsys/main.c+1−1
@@ -62,7 +62,7 @@ main(int argc, char **argv) · 61 unmodified lines
6262 memimageinit();
6363
6464 /* Start the 9p server */
65− return ixpserve(address);
65+ return fsloop(address);
6666 }
6767
6868 void
devwsys/mouse.c+1−1
@@ -80,7 +80,7 @@ replymouse(Mousebuf *mouse, void *r) · 79 unmodified lines
8080 c = 'r';
8181 n = sprint(buf, "%c%11d %11d %11d %11ld ", c, m.xy.x, m.xy.y, m.buttons, m.msec);
8282 buf[n] = '\0';
83− ixprread(r, buf);
83+ readreply(r, buf);
8484 mouse->resized = 0;
8585 }
8686