Annotation of libaitsess/contrib/test_mem.c, revision 1.1.2.1

1.1.2.1 ! misho       1: #include <stdio.h>
        !             2: #include <aitsess.h>
        !             3: 
        !             4: 
        !             5: int
        !             6: main(int argc, char **argv)
        !             7: {
        !             8:        mpool_t *mp;
        !             9: 
        !            10:        mp = mpool_init();
        !            11:        if (!mp) {
        !            12:                printf("Error:: #%d - %s\n", sess_GetErrno(), sess_GetError());
        !            13:                return 1;
        !            14:        }
        !            15: 
        !            16:        mpool_destroy(&mp);
        !            17:        return 0;
        !            18: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>