mkpeer.c (9caee2ece77615135bbc2531d21b62e81aed5cb5) mkpeer.c (c3759b3a3f3937321c2d00b5f26ec4ab076f2883)
1
2/*
3 * mkpeer.c
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

--- 40 unchanged lines hidden (view full) ---

49 MkPeerCmd,
50 "mkpeer [path] <type> <hook> <peerhook>",
51 "Create and connect a new node to the node at \"path\"",
52 "The mkpeer command atomically creates a new node of type \"type\""
53 " and connects it to the node at \"path\". The hooks used for the"
54 " connection are \"hook\" on the original node and \"peerhook\""
55 " on the new node."
56 " If \"path\" is omitted then \".\" is assumed.",
1
2/*
3 * mkpeer.c
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

--- 40 unchanged lines hidden (view full) ---

49 MkPeerCmd,
50 "mkpeer [path] <type> <hook> <peerhook>",
51 "Create and connect a new node to the node at \"path\"",
52 "The mkpeer command atomically creates a new node of type \"type\""
53 " and connects it to the node at \"path\". The hooks used for the"
54 " connection are \"hook\" on the original node and \"peerhook\""
55 " on the new node."
56 " If \"path\" is omitted then \".\" is assumed.",
57 {}
57 { NULL }
58};
59
60static int
61MkPeerCmd(int ac, char **av)
62{
63 struct ngm_mkpeer mkp;
64 const char *path = ".";
65

--- 25 unchanged lines hidden ---
58};
59
60static int
61MkPeerCmd(int ac, char **av)
62{
63 struct ngm_mkpeer mkp;
64 const char *path = ".";
65

--- 25 unchanged lines hidden ---