YKP_CONFIG *cfg = ykp_alloc();
YK_STATUS *st = _test_init_st(1, 3, 0);
int rc = 0;
- struct config_st *ycfg;
unsigned char expected[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
YKP_CONFIG *cfg = ykp_alloc();
YK_STATUS *st = _test_init_st(2, 0, 0);
int rc = 0;
- struct config_st *ycfg;
unsigned char expected[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
YKP_CONFIG *cfg = ykp_alloc();
YK_STATUS *st = _test_init_st(2, 1, 0);
int rc = 0;
- struct config_st *ycfg;
unsigned char expected[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
int rc = _test_config(cfg, st, argc, argv);
assert(rc == 1);
- struct config_st *ycfg = (struct config_st *) ykp_core_config(cfg);
assert(((struct ykp_config_t*)cfg)->command == SLOT_NDEF);
ykp_free_config(cfg);
int rc = _test_config(cfg, st, argc, argv);
assert(rc == 1);
- struct config_st *ycfg = (struct config_st *) ykp_core_config(cfg);
assert(((struct ykp_config_t*)cfg)->command == SLOT_NDEF2);
ykp_free_config(cfg);