1da2e3ebdSchin /***********************************************************************
2da2e3ebdSchin *                                                                      *
3da2e3ebdSchin *               This software is part of the ast package               *
4*b30d1939SAndy Fiddaman *          Copyright (c) 1985-2011 AT&T Intellectual Property          *
5da2e3ebdSchin *                      and is licensed under the                       *
6*b30d1939SAndy Fiddaman *                 Eclipse Public License, Version 1.0                  *
77c2fbfb3SApril Chin *                    by AT&T Intellectual Property                     *
8da2e3ebdSchin *                                                                      *
9da2e3ebdSchin *                A copy of the License is available at                 *
10*b30d1939SAndy Fiddaman *          http://www.eclipse.org/org/documents/epl-v10.html           *
11*b30d1939SAndy Fiddaman *         (with md5 checksum b35adb5213ca9657e911e9befb180842)         *
12da2e3ebdSchin *                                                                      *
13da2e3ebdSchin *              Information and Software Systems Research               *
14da2e3ebdSchin *                            AT&T Research                             *
15da2e3ebdSchin *                           Florham Park NJ                            *
16da2e3ebdSchin *                                                                      *
17da2e3ebdSchin *                 Glenn Fowler <gsf@research.att.com>                  *
18da2e3ebdSchin *                  David Korn <dgk@research.att.com>                   *
19da2e3ebdSchin *                   Phong Vo <kpv@research.att.com>                    *
20da2e3ebdSchin *                                                                      *
21da2e3ebdSchin ***********************************************************************/
227c2fbfb3SApril Chin #pragma prototyped
237c2fbfb3SApril Chin 
247c2fbfb3SApril Chin #ifndef _INTERCEPTS_H
257c2fbfb3SApril Chin #define _INTERCEPTS_H	1
267c2fbfb3SApril Chin 
277c2fbfb3SApril Chin #include <ast.h>
287c2fbfb3SApril Chin #include <shcmd.h>
297c2fbfb3SApril Chin 
307c2fbfb3SApril Chin typedef struct Intercepts_s
317c2fbfb3SApril Chin {
327c2fbfb3SApril Chin 	char*		(*intercept_getenv)(const char*);
337c2fbfb3SApril Chin 	char*		(*intercept_setenviron)(const char*);
347c2fbfb3SApril Chin } Intercepts_t;
357c2fbfb3SApril Chin 
367c2fbfb3SApril Chin #define intercepts	_ast_intercepts
377c2fbfb3SApril Chin 
387c2fbfb3SApril Chin extern Intercepts_t	intercepts;
397c2fbfb3SApril Chin 
40da2e3ebdSchin #endif
41