Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Tuesday, April 16, 2024

File: [Platon] / tucniak / lib / lt_s_input.h (download)

Revision 1.1.1.1 (vendor branch), Fri Nov 11 16:08:30 2005 UTC (18 years, 5 months ago) by koli


Changes since 1.1: +0 -0 lines

Initial import

// Copyright (c) 2003,2004,2005 Juraj Kolesár <koli@koli.sk>               
/* lt_s_input_data_init (*T_INPUT) {{{ ****************************************/
int lt_s_input_data_init(T_INPUT *input);
    /*
     Initializes values in T_INPUT
     RETURN (__LT_OK)
}}} */
/* lt_s_input_new (*T_DB, *T_INPUT) {{{ ***************************************/
int lt_s_input_new(T_DB *tdb, T_INPUT *input);
    /* 
     Inserts new row into "s_inputs" and gets its new pk
     when not saved in the end with new "code" should be removed 
     as blind row
}}} */
/* lt_s_input_qs_init(*T_INPUT, **T_COLS, *T_QS) {{{ **************************/
int lt_s_input_qs_init(T_INPUT *input, T_COLS **cols, T_QS *qs);
    /* 
     Not used yet
     but should init T_COLS and T_QS variables so they are
     prepared for tt_table_qs that shows inputs
     In T_COLS are inserted values from T_INPUT so by 
     viewing list of inputs cursor should (pre)select this item
}}} */
/* lt_s_input_item_add(*T_INPUT, *T_ITEM, int count) {{{ **********************/
int lt_s_input_item_add(T_INPUT *input, T_ITEM *item, int count);
    /* 
    Adds T_ITEM data as new row into T_INPUT->items
}}} */
/* lt_s_input_items_set(*T_DB, *T_INPUT) {{{ !!! NOT WORKING YET***************/
int lt_s_input_items_set(T_DB *tdb, T_INPUT *input);
    /* 
     Should go through all T_INPUT->items rows and use
     each row as new INSERT into "s_add" with "fk_s_inputs" value
     set as pk of T_INPUT
}}} */
/* lt_s_input_items_get(*T_DB, *T_INPUT) {{{ **********************************/
int lt_s_input_items_get(T_DB *tdb, T_INPUT *input);
    /* 
    Fills T_INPUT->items table with referencing values from "s_add"
}}} */

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top