summaryrefslogtreecommitdiffstats
path: root/tools/csr.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-10-26 21:51:04 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-10-26 21:51:04 +0000
commitfdf8c10513c0f4d3eab0dc0c75c878825f35f979 (patch)
tree7b0072ea02b2f8fec54d9e3b9d1ac091f0ed1346 /tools/csr.h
parent0a403feb8c67b6c36c92711c6880598345ca78f2 (diff)
Add support for the PSR file format
Diffstat (limited to 'tools/csr.h')
-rw-r--r--tools/csr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/csr.h b/tools/csr.h
index e46b90ca..fe46f4b4 100644
--- a/tools/csr.h
+++ b/tools/csr.h
@@ -511,3 +511,8 @@ int csr_read_pskey_uint16(int dd, uint16_t seqnum, uint16_t pskey, uint16_t stor
int csr_write_pskey_uint16(int dd, uint16_t seqnum, uint16_t pskey, uint16_t store, uint16_t value);
int csr_read_pskey_uint32(int dd, uint16_t seqnum, uint16_t pskey, uint16_t store, uint32_t *value);
int csr_write_pskey_uint32(int dd, uint16_t seqnum, uint16_t pskey, uint16_t store, uint32_t value);
+
+int psr_put(uint16_t pskey, uint8_t *value, uint16_t size);
+int psr_get(uint16_t *pskey, uint8_t *value, uint16_t *size);
+int psr_read(const char *filename);
+int psr_print(void);