/*
 * LIMIT_RST.pgc - au 모듈 서비스 LIMIT_RST (one service = one file).
 * 한도 사용금액 초기화(일마감 원복).
 * Moved verbatim from the former inline au_svr.pgc; runs on the caller's XA
 * branch (no EXEC SQL CONNECT). Advertised by au_svr at tpsvrinit.
 */
#include "LIMIT_RST.h"

void LIMIT_RST(TPSVCINFO *p)
{
    UBFH *b = (UBFH *)p->data;
    char card[24];
    gets_(b, T_KEY1, card, sizeof(card));
    if (audb_limit_reset(card) < 0) FAIL(b);
    OK(b);
}
