/***********************************************************************1* *2* This software is part of the ast package *3* Copyright (c) 2003-2011 AT&T Intellectual Property *4* and is licensed under the *5* Eclipse Public License, Version 1.0 *6* by AT&T Intellectual Property *7* *8* A copy of the License is available at *9* http://www.eclipse.org/org/documents/epl-v10.html *10* (with md5 checksum b35adb5213ca9657e911e9befb180842) *11* *12* Information and Software Systems Research *13* AT&T Research *14* Florham Park NJ *15* *16* Glenn Fowler <[email protected]> *17* *18***********************************************************************/19#pragma prototyped2021/*22* ibm dfsort user exit function interface23*24* Glenn Fowler25* AT&T Research26*/2728#ifndef _SSEXIT_H29#define _SSEXIT_H 13031#include <ast.h>32#include <error.h>33#include <recsort.h>3435#define SS_EXIT_FIRST 0 /* the first exit record */36#define SS_EXIT_MOST 4 /* the middle exit records */37#define SS_EXIT_LAST 8 /* the last exit record */3839#define SS_EXIT_ACCEPT 0 /* accept this record */40#define SS_EXIT_DELETE 4 /* delete this record */41#define SS_EXIT_CLOSE 8 /* don't call this exit again */42#define SS_EXIT_INSERT 12 /* insert this record */43#define SS_EXIT_TERMINATE 16 /* terminate the sort */44#define SS_EXIT_REPLACE 20 /* replace this record */4546typedef int (*Ssexit_f)(Rsobj_t*, Rsobj_t*, void**);4748#endif495051