1147899Ssam/*
2147899Ssam * Copyright (c) 1993, 1994, 1995, 1996, 1997
3147899Ssam *	The Regents of the University of California.  All rights reserved.
4147899Ssam *
5147899Ssam * Redistribution and use in source and binary forms, with or without
6147899Ssam * modification, are permitted provided that: (1) source code distributions
7147899Ssam * retain the above copyright notice and this paragraph in its entirety, (2)
8147899Ssam * distributions including binary code include the above copyright notice and
9147899Ssam * this paragraph in its entirety in the documentation or other materials
10147899Ssam * provided with the distribution, and (3) all advertising materials mentioning
11147899Ssam * features or use of this software display the following acknowledgement:
12147899Ssam * ``This product includes software developed by the University of California,
13147899Ssam * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
14147899Ssam * the University nor the names of its contributors may be used to endorse
15147899Ssam * or promote products derived from this software without specific prior
16147899Ssam * written permission.
17147899Ssam * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
18147899Ssam * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
19147899Ssam * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20147899Ssam */
21147899Ssam
22147899Ssam#ifndef lint
23147899Ssamstatic const char rcsid[] _U_ =
24190207Srpaulo    "@(#) $Header: /tcpdump/master/tcpdump/pcap_dump_ftell.c,v 1.1 2005-06-03 22:08:52 guy Exp $ (LBL)";
25147899Ssam#endif
26147899Ssam
27147899Ssam#include <stdio.h>
28147899Ssam#include <pcap.h>
29147899Ssam
30147899Ssam#include "pcap-missing.h"
31147899Ssam
32147899Ssamlong
33147899Ssampcap_dump_ftell(pcap_dumper_t *p)
34147899Ssam{
35147899Ssam	return (ftell((FILE *)p));
36147899Ssam}
37