/*  -*- Mode: C;  -*- */

/******************************************************************************
*                                                                             *
*   Copyright 2005 University of Cambridge Computer Laboratory.               *
*                                                                             *
*   This file is part of Nprobe.                                              *
*                                                                             *
*   Nprobe is free software; you can redistribute it and/or modify            *
*   it under the terms of the GNU General Public License as published by      *
*   the Free Software Foundation; either version 2 of the License, or         *
*   (at your option) any later version.                                       *
*                                                                             *
*   Nprobe 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 General Public License for more details.                              *
*                                                                             *
*   You should have received a copy of the GNU General Public License         *
*   along with Nprobe; if not, write to the Free Software                     *
*   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA *
*                                                                             *
******************************************************************************/


/*
 * Used only as basis of Python class used to decode and retrieve data from 
 * dumped in-line image and links buffers
 * Implementation code in nprobe.i and http_util.c/h 
 */

struct linkrec 
{
  char *url;
  int reltm;	  /* offset of first encountered from pkt start time */
  unsigned int type;       /* type of record */
  int per;        /* for refresh time */
};

/*
 * http_util.c 
 */

//int _get_next_link_rec(struct linkrec *lp, int indx, struct links_chars *bufp);
int _get_next_link_rec(struct linkrec *lp, int indx, long bufp);


