1511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall/* 2511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * Copyright (c) 1993, 1994, 1995, 1996, 1997 3511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * The Regents of the University of California. All rights reserved. 4511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * 5511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * Redistribution and use in source and binary forms, with or without 6511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * modification, are permitted provided that: (1) source code distributions 7511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * retain the above copyright notice and this paragraph in its entirety, (2) 8511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * distributions including binary code include the above copyright notice and 9511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * this paragraph in its entirety in the documentation or other materials 10511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * provided with the distribution, and (3) all advertising materials mentioning 11511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * features or use of this software display the following acknowledgement: 12511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * ``This product includes software developed by the University of California, 13511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of 14511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * the University nor the names of its contributors may be used to endorse 15511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * or promote products derived from this software without specific prior 16511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * written permission. 17511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 18511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 19511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 20511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * 21511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * sf-pcap-ng.h - pcap-ng-file-format-specific routines 22511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * 23511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall * Used to read pcap-ng savefiles. 24511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall */ 25511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall 26511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall#ifndef sf_pcap_ng_h 27511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall#define sf_pcap_ng_h 28511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall 29511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrallextern pcap_t *pcap_ng_check_header(bpf_u_int32 magic, FILE *fp, 30511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall u_int precision, char *errbuf, int *err); 31511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall 32511eca30a483e912c274e1d8ba3a0f8f081e2227JP Abgrall#endif 33