mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-06-12 04:29:29 +00:00
Added file-level comments.
This commit is contained in:
parent
a250b40c80
commit
94b790728e
|
@ -1,3 +1,26 @@
|
||||||
|
/*
|
||||||
|
* etherslavetool.c - Reads and writes raw ethernet packets usng bpf
|
||||||
|
* interface.
|
||||||
|
*
|
||||||
|
* Copyright (C) 2010, Daniel Sumorok
|
||||||
|
*
|
||||||
|
* Basilisk II (C) 1997-2008 Christian Bauer
|
||||||
|
*
|
||||||
|
* This program 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.
|
||||||
|
*
|
||||||
|
* This program 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 this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
* runtool.m - Run an external program as root for networking
|
||||||
|
* Copyright (C) 2010, Daniel Sumorok
|
||||||
|
*
|
||||||
|
* Basilisk II (C) 1997-2008 Christian Bauer
|
||||||
|
*
|
||||||
|
* This program 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.
|
||||||
|
*
|
||||||
|
* This program 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 this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -24,7 +45,7 @@ FILE * runTool(const char *ifName);
|
||||||
FILE * runTool(const char *ifName) {
|
FILE * runTool(const char *ifName) {
|
||||||
OSStatus authStatus;
|
OSStatus authStatus;
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
char *args[] = {"ethsheeptool", NULL, NULL};
|
char *args[] = {"etherslavetool", NULL, NULL};
|
||||||
int ret;
|
int ret;
|
||||||
const char *path;
|
const char *path;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user