repo.or.cz
/
fbpad.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pad: a better hash function
[fbpad.git]
/
pad.h
blob
5fb26193baabbee6f64e33c87abb8f865b6b7c5a
1
#define MAXCHARS (1 << 15)
2
3
void
pad_init
(
void
);
4
void
pad_free
(
void
);
5
void
pad_put
(
int
ch
,
int
r
,
int
c
,
int
fg
,
int
bg
);
6
int
pad_rows
(
void
);
7
int
pad_cols
(
void
);
8
void
pad_blank
(
int
c
);
9
void
pad_blankrow
(
int
r
,
int
bg
);
10
void
pad_shown
(
void
);