Changeset 16434
- Timestamp:
- Feb 13, 2008, 3:25:18 PM (18 years ago)
- Location:
- trunk/Ohana/src/opihi
- Files:
-
- 2 edited
-
cmd.data/book.c (modified) (1 diff)
-
include/shell.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.data/book.c
r15205 r16434 16 16 17 17 static Command book_commands[] = { 18 { "list", book_list, "list books"},19 { "init", book_init, "initialize a book"},20 { "create", book_create, "create a book"},21 { "delete", book_delete, "delete a book"},22 { "getbook", book_getbook, "get book name by location"},23 { "listbook", book_listbook, "list pages in a book"},24 { "npages", book_npages, "return number of pages in a book"},25 { "newpage", book_newpage, "create a new page in a book"},26 { "getpage", book_getpage, "get page name by location"},27 { "delpage", book_delpage, "delete a page in a book"},28 { "listpage", book_listpage, "list a page in a book"},29 { "setword", book_setword, "set the value of a word in a page"},30 { "getword", book_getword, "set the value of a word from a page"},18 {1, "list", book_list, "list books"}, 19 {1, "init", book_init, "initialize a book"}, 20 {1, "create", book_create, "create a book"}, 21 {1, "delete", book_delete, "delete a book"}, 22 {1, "getbook", book_getbook, "get book name by location"}, 23 {1, "listbook", book_listbook, "list pages in a book"}, 24 {1, "npages", book_npages, "return number of pages in a book"}, 25 {1, "newpage", book_newpage, "create a new page in a book"}, 26 {1, "getpage", book_getpage, "get page name by location"}, 27 {1, "delpage", book_delpage, "delete a page in a book"}, 28 {1, "listpage", book_listpage, "list a page in a book"}, 29 {1, "setword", book_setword, "set the value of a word in a page"}, 30 {1, "getword", book_getword, "set the value of a word from a page"}, 31 31 }; 32 32 -
trunk/Ohana/src/opihi/include/shell.h
r15878 r16434 22 22 /*** typedef structs used by shell functions ***/ 23 23 typedef struct { /* basic opihi command structure */ 24 char real; 24 25 char *name; 25 26 CommandF *func;
Note:
See TracChangeset
for help on using the changeset viewer.
