#ifndef INCLUDED_ASSY_JT_H #define INCLUDED_ASSY_JT_H #include #include #ifdef __cplusplus extern "C"{ #endif extern ASSY_JT_API int ASSY_JT_create( tag_t sc_tag, /* */ tag_t item, /* */ tag_t item_rev, /* */ tag_t bom_view , /* */ tag_t bom_view_rev, /* */ tag_t rev_rule, /* */ tag_t var_rule, /* */ logical monolithic_jt , /* */ logical continue_on_failure, /* */ logical process_interim_nodes, /* */ char* target_loc, /* */ char* tmode , /* */ int* num_failed_nodes , /* */ int** failed_codes , /* */ char** jt_file_name /* */ ); /** Creates a jt file (assembly or monolithic) by traversing the structure given by a structure context, or item or itemrevision or bomview or bomviewrevision. Any one of these needs to be suplied (and at most one only). The rev_rule is used if any input root object is provided other than structure context. */ extern ASSY_JT_API int ASSY_JT_create2( tag_t sc_tag, /* structure context object to start traversal*/ tag_t item, /* root item to start traversal */ tag_t item_rev, /* root itemrevision to start traversal*/ tag_t bom_view , /* root bomview to start traversal*/ tag_t bom_view_rev, /* root bomviewrevision to start traversal*/ tag_t rev_rule, /* revision rule to be used for configuration*/ tag_t var_rule, /* variant rule (classic) to be used*/ logical monolithic_jt , /* whether assembly jt(false) or monolithic jt (true)*/ logical continue_on_failure, /* continue on any failures.*/ logical process_interim_nodes, /* process any jt datasets on intermediate(assembly) nodes*/ const char* target_loc, /* target location. Must be a folder that exists*/ const char* tmode , /* optional transfermode name. If not supplied an internalone is used.*/ const char* JtWithNameToIgnoreOnExportedTopRev, /* ignore dataset with specified name on root selected for export. In case the monolithic jt (already generated), should not be processed set this field to the name of that dataset.*/ int* num_failed_nodes , /* any failed node count*/ int** failed_codes , /* array of failed codes*/ char** jt_file_name /* name of the jt_file generated*/ ); #ifdef __cplusplus } #endif #include #endif