source: trunk/base/src/pextlib1.0/tracelib.h

Last change on this file was 107778, checked in by cal@…, 7 years ago

tracelib: repair modeline

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1/* # -*- coding: utf-8; mode: c; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=c:et:sw=4:ts=4:sts=4
2 */
3/*
4 * tracelib.h
5 * $Id: tracelib.h 107778 2013-07-05 17:11:58Z cal@macports.org $
6 *
7 * Copyright (c) 2007 Eugene Pimenov (GSoC), The MacPorts Project.
8 * All rights reserved.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:
13 * 1. Redistributions of source code must retain the above copyright
14 *    notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 *    notice, this list of conditions and the following disclaimer in the
17 *    documentation and/or other materials provided with the distribution.
18 * 3. Neither the name of the MacPorts Team nor the names of its contributors
19 *    may be used to endorse or promote products derived from this software
20 *    without specific prior written permission.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 * POSSIBILITY OF SUCH DAMAGE.
33 */
34
35#ifndef _PEXTLIB_TRACELIB_H
36#define _PEXTLIB_TRACELIB_H
37
38#include <tcl.h>
39
40/**
41 *
42 * Command to handle trace lib
43 *
44 * It is *NOT* thread safe
45 *
46 * Syntax:
47 *      tracelib setname name
48 *          - return path of unix socket
49 *      tracelib run
50 *          - run select, create a socket
51 *      tracelib clean
52 *          - cleanup everything
53 *      tracelib setsandbox
54 *          - set sandbox bounds
55 *      tracelib closesocket
56 *          - close socket. This makes main thread to quit from it's loop
57 *      tracelib setdeps
58 *          - set deps for current port
59 *      tracelib enablefence
60 *          - enable dep/sandbox checking
61 */
62int TracelibCmd(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]);
63
64#endif
65/* _PEXTLIB_TRACELIB_H */
Note: See TracBrowser for help on using the repository browser.