IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16434


Ignore:
Timestamp:
Feb 13, 2008, 3:25:18 PM (18 years ago)
Author:
eugene
Message:

add real to Command

Location:
trunk/Ohana/src/opihi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/book.c

    r15205 r16434  
    1616
    1717static 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"},
    3131};
    3232
  • trunk/Ohana/src/opihi/include/shell.h

    r15878 r16434  
    2222/*** typedef structs used by shell functions ***/
    2323typedef struct {                        /* basic opihi command structure */
     24  char      real;
    2425  char     *name;
    2526  CommandF *func;   
Note: See TracChangeset for help on using the changeset viewer.