/usr/include/root/TGHtmlUri.h is in libroot-gui-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | // @(#)root/guihtml:$Id: TObject.h 20877 2007-11-19 11:17:07Z rdm $
// Author: Valeriy Onuchin 03/05/2007
/*************************************************************************
* Copyright (C) 1995-2001, Rene Brun, Fons Rademakers and Reiner Rohlfs *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
/**************************************************************************
HTML widget for xclass. Based on tkhtml 1.28
Copyright (C) 1997-2000 D. Richard Hipp <drh@acm.org>
Copyright (C) 2002-2003 Hector Peraza.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**************************************************************************/
#ifndef ROOT_TGHtmlUri
#define ROOT_TGHtmlUri
#ifndef ROOT_TObject
#include "TObject.h"
#endif
#define URI_SCHEME_MASK (1<<0)
#define URI_AUTH_MASK (1<<1)
#define URI_PATH_MASK (1<<2)
#define URI_QUERY_MASK (1<<3)
#define URI_FRAGMENT_MASK (1<<4)
#define URI_FULL_MASK (URI_SCHEME_MASK | URI_AUTH_MASK | \
URI_PATH_MASK | URI_QUERY_MASK | \
URI_FRAGMENT_MASK)
//----------------------------------------------------------------------
// A parsed URI is held in an instance of the following class.
//
// The examples are from the URI
// http://192.168.1.1:8080/cgi-bin/printenv?name=xyzzy&addr=none#frag
class TGHtmlUri : public TObject {
private:
TGHtmlUri(const TGHtmlUri&); // Not implemented.
TGHtmlUri &operator=(const TGHtmlUri&); // Not implemented.
public:
TGHtmlUri(const char *zUri = 0);
TGHtmlUri(const TGHtmlUri *uri);
virtual ~TGHtmlUri();
char *BuildUri();
int EqualsUri(const TGHtmlUri *uri, int field_mask = URI_FULL_MASK);
public:
int ComponentLength(const char *z, const char *zInit, const char *zTerm);
char *fZScheme; // Ex: "http"
char *fZAuthority; // Ex: "192.168.1.1:8080"
char *fZPath; // Ex: "cgi-bin/printenv"
char *fZQuery; // Ex: "name=xyzzy&addr=none"
char *fZFragment; // Ex: "frag"
};
#endif // ROOT_TGHtmlUri
|