#!/bin/sh # This is `snmp2.40' (part 40 of snmp2). # Do not concatenate these parts, unpack them in order with `/bin/sh'. # File `snmp2/vx/ypdata.h' is being continued... # touch -am 1231235999 $$.touch >/dev/null 2>&1 if test ! -f 1231235999 && test -f $$.touch; then shar_touch=touch else shar_touch=: echo echo 'WARNING: not restoring timestamps. Consider getting and' echo "installing GNU \`touch', distributed in GNU File Utilities..." echo fi rm -f 1231235999 $$.touch # if test ! -r _sharseq.tmp; then echo 'Please unpack part 1 first!' exit 1 fi shar_sequence=`cat _sharseq.tmp` if test "$shar_sequence" != 40; then echo "Please unpack part $shar_sequence next!" exit 1 fi if test ! -f _sharnew.tmp; then echo 'x - still skipping snmp2/vx/ypdata.h' else echo 'x - continuing file snmp2/vx/ypdata.h' sed 's/^X//' << 'SHAR_EOF' >> 'snmp2/vx/ypdata.h' && X "ptero", 0x8fca402d, "143.202.64.45", X "puma", 0x8fca4422, "143.202.68.34", X "pyote", 0x8fca102d, "143.202.16.45", X "python", 0x8fca5411, "143.202.84.17", X "quince", 0x8fca440e, "143.202.68.14", X "raccoon", 0x8fca581c, "143.202.88.28", X "racer", 0x8fca5419, "143.202.84.25", X "rainbow", 0x8fca4018, "143.202.64.24", X "rat", 0x8fca441d, "143.202.68.29", X "rattle", 0x8fca5436, "143.202.84.54", X "raven", 0x8fca4419, "143.202.68.25", X "redbud", 0x8fca4c0a, "143.202.76.10", X "redfir", 0x8fca620f, "143.202.98.15", X "redfish", 0x8fca1016, "143.202.16.22", X "redfox", 0x8fca182a, "143.202.24.42", X "redfox_ie0", 0x8fca322a, "143.202.50.42", X "redfox_ne1", 0x8fca362a, "143.202.54.42", X "redoak", 0x8fca4009, "143.202.64.9", X "redpine", 0x8fca580c, "143.202.88.12", X "redridinghood", 0x8fca4412, "143.202.68.18", X "redsea", 0x8fca261c, "143.202.38.28", X "redwood", 0x8fca4012, "143.202.64.18", X "rflab1", 0x8fca5e0b, "143.202.94.11", X "rflab2", 0x8fca5e0c, "143.202.94.12", X "rflab3", 0x8fca5e0d, "143.202.94.13", X "rflab4", 0x8fca5e0e, "143.202.94.14", X "rhine", 0x8fca620d, "143.202.98.13", X "riga", 0x8fca3c16, "143.202.60.22", X "rillonia", 0x8fca100d, "143.202.16.13", X "ringneck", 0x8fca5429, "143.202.84.41", X "rio", 0x8fca182c, "143.202.24.44", X "riviera", 0x8fca3827, "143.202.56.39", X "robin", 0x8fca4414, "143.202.68.20", X "rodan", 0x8fca1a13, "143.202.26.19", X "rome", 0x8fca1038, "143.202.16.56", X "rook", 0x8fca5213, "143.202.82.19", X "rose", 0x8fca2611, "143.202.38.17", X "rosebud", 0x8fca4c09, "143.202.76.9", X "rubber", 0x8fca5413, "143.202.84.19", X "rudolph", 0x8fca5825, "143.202.88.37", X "sabaki", 0x8fca4039, "143.202.64.57", X "saffron", 0x8fca4c29, "143.202.76.41", X "saguaro", 0x8fca4c14, "143.202.76.20", X "sahara", 0x8fca5830, "143.202.88.48", X "sakura", 0x8fca4c1e, "143.202.76.30", X "sakura_ie0", 0x8fca5215, "143.202.82.21", X "salerno", 0x8fca5011, "143.202.80.17", X "sandalwood", 0x8fca4c10, "143.202.76.16", X "sandstorm", 0x8fca4425, "143.202.68.37", X "sassafras", 0x8fca441c, "143.202.68.28", X "savin", 0x8fca4c08, "143.202.76.8", X "sawdust", 0x8fca2808, "143.202.40.8", X "schizoid", 0x8fca1814, "143.202.24.20", X "scipe", 0x8fca1834, "143.202.24.52", X "scipe2", 0x8fca183e, "143.202.24.62", X "scipe3", 0x8fca180a, "143.202.24.10", X "scipe4", 0x8fca1812, "143.202.24.18", X "scipe5", 0x8fca1831, "143.202.24.49", X "scipe6", 0x8fca1806, "143.202.24.6", X "scotchpine", 0x8fca261a, "143.202.38.26", X "sequoia", 0x8fca500a, "143.202.80.10", X "serene", 0x8fca501c, "143.202.80.28", X "setter", 0x8fca4c23, "143.202.76.35", X "sheep", 0x8fca4c0f, "143.202.76.15", X "shiloh", 0x8fca5423, "143.202.84.35", X "shunt", 0x8fca3622, "143.202.54.34", X "sierra", 0x8fca4c30, "143.202.76.48", X "sigmund", 0x8fca190b, "143.202.25.11", X "sitka", 0x8fca5408, "143.202.84.8", X "skeezix", 0x8fca1827, "143.202.24.39", X "skink", 0x8fca5420, "143.202.84.32", X "sleepy", 0x8fca6209, "143.202.98.9", X "smurf", 0x8fca2836, "143.202.40.54", X "snif132", 0x8fca840b, "143.202.132.11", X "snif136", 0x8fca840c, "143.202.132.12", X "snif24", 0x8fca363e, "143.202.54.62", X "snif26", 0x8fca363b, "143.202.54.59", X "snif54", 0x8fca363d, "143.202.54.61", X "snifqpm", 0x8fca840d, "143.202.132.13", X "snowwhite", 0x8fca5829, "143.202.88.41", X "sorrel", 0x8fca100e, "143.202.16.14", X "sparrow", 0x8fca3815, "143.202.56.21", X "spartan", 0x8fca5023, "143.202.80.35", X "sphinx", 0x8fca1819, "143.202.24.25", X "spider", 0x8fca541d, "143.202.84.29", X "spiraea", 0x8fca261e, "143.202.38.30", X "spotted", 0x8fca2616, "143.202.38.22", X "spruce", 0x8fca2617, "143.202.38.23", X "stargazer", 0x8fca161d, "143.202.22.29", X "stfnss", 0x8fca582a, "143.202.88.42", X "stinky", 0x8fca3607, "143.202.54.7", X "strangelove", 0x8fca5212, "143.202.82.18", X "strawberry", 0x8fca3813, "143.202.56.19", X "stress", 0x8fca180d, "143.202.24.13", X "string", 0x8fca840f, "143.202.132.15", X "string1", 0x8fca880b, "143.202.136.11", X "stringdb", 0x8fca8410, "143.202.132.16", X "stringdb1", 0x8fca880c, "143.202.136.12", X "stringqps", 0x8fca8811, "143.202.136.17", X "striped", 0x8fca542a, "143.202.84.42", X "sumac", 0x8fca3814, "143.202.56.20", X "sunflower", 0x8fca4407, "143.202.68.7", X "sunspot", 0x8fca4413, "143.202.68.19", X "sv400", 0x8fca3631, "143.202.54.49", X "swallow", 0x8fca5814, "143.202.88.20", X "swan", 0x8fca4c32, "143.202.76.50", X "sweetgum", 0x8fca040b, "143.202.4.11", X "sycamore", 0x8fca4c20, "143.202.76.32", X "tahiti", 0x8fca582b, "143.202.88.43", X "tahoe", 0x8fca1006, "143.202.16.6", X "tahoe_ie0", 0x8fca4416, "143.202.68.22", X "tahoe_ie2", 0x8fca040e, "143.202.4.14", X "talon", 0x8fca4426, "143.202.68.38", X "tanoak", 0x8fca2833, "143.202.40.51", X "tbird", 0x8fca403d, "143.202.64.61", X "teak", 0x8fca540c, "143.202.84.12", X "tek", 0x8fca181c, "143.202.24.28", X "telperion", 0x8fca4c16, "143.202.76.22", X "temp10", 0x8fca4c0d, "143.202.76.13", X "temp11", 0x8fca4c1c, "143.202.76.28", X "termite", 0x8fca5813, "143.202.88.19", X "thames", 0x8fca6826, "143.202.104.38", X "thor", 0x8fca0418, "143.202.4.24", X "tigris", 0x8fca2207, "143.202.34.7", X "titan", 0x8fca041c, "143.202.4.28", X "toad", 0x8fca260c, "143.202.38.12", X "tokyo", 0x8fca5020, "143.202.80.32", X "tornado", 0x8fca2e0a, "143.202.46.10", X "torreya", 0x8fca100a, "143.202.16.10", X "tortuga", 0x8fca2807, "143.202.40.7", X "toyon", 0x8fca5406, "143.202.84.6", X "toyon_ie0", 0x8fca5806, "143.202.88.6", X "trinity", 0x8fca1037, "143.202.16.55", X "tropical", 0x8fca280a, "143.202.40.10", X "trout", 0x8fca441a, "143.202.68.26", X "truffula", 0x8fca441b, "143.202.68.27", X "tulip", 0x8fca5414, "143.202.84.20", X "tulsi", 0x8fca400e, "143.202.64.14", X "tundra", 0x8fca402a, "143.202.64.42", X "turtle", 0x8fca4418, "143.202.68.24", X "typhoon", 0x8fca220e, "143.202.34.14", X "tyr", 0x8fca041e, "143.202.4.30", X "ultraman", 0x8fca3612, "143.202.54.18", X "utopia", 0x8fca1810, "143.202.24.16", X "vanhorn", 0x8fca040c, "143.202.4.12", X "verbina", 0x8fca403a, "143.202.64.58", X "viper", 0x8fca5437, "143.202.84.55", X "virgo", 0x8fca101c, "143.202.16.28", X "volcano", 0x8fca501a, "143.202.80.26", X "volga", 0x8fca4417, "143.202.68.23", X "vonmises", 0x8fca582d, "143.202.88.45", X "vxi", 0x8fca4421, "143.202.68.33", X "waco", 0x8fca1018, "143.202.16.24", X "walnut", 0x8fca5810, "143.202.88.16", X "waterbirch", 0x8fca0409, "143.202.4.9", X "waxmyrtle", 0x8fca580a, "143.202.88.10", X "wearvers", 0x8fca5416, "143.202.84.22", X "whip", 0x8fca542c, "143.202.84.44", X "whitebirch", 0x8fca4c0c, "143.202.76.12", X "whitefir", 0x8fca4031, "143.202.64.49", X "whiteoak", 0x8fca400a, "143.202.64.10", X "whitespruce", 0x8fca0408, "143.202.4.8", X "willow", 0x8fca380e, "143.202.56.14", X "wolf", 0x8fca5428, "143.202.84.40", X "wonderboom", 0x8fca380c, "143.202.56.12", X "woodpecker", 0x8fca381d, "143.202.56.29", X "wren", 0x8fca500e, "143.202.80.14", X "xmas", 0x8fca4010, "143.202.64.16", X "xtermgmss", 0x8fca0e3a, "143.202.14.58", X "yak", 0x8fca381a, "143.202.56.26", X "yarrow", 0x8fca100c, "143.202.16.12", X "yellowspruce", 0x8fca5016, "143.202.80.22", X "yellowstone", 0x8fca4021, "143.202.64.33", X "yosemite", 0x8fca3822, "143.202.56.34", X "yucatan", 0x8fca620c, "143.202.98.12", X "yucca", 0x8fca400f, "143.202.64.15", X "zebra", 0x8fca381c, "143.202.56.28", X "zek", 0x8fca2806, "143.202.40.6", X "zeus", 0x8fca041d, "143.202.4.29", X "zia", 0x8fca4033, "143.202.64.51", X "zippo", 0x8fca1833, "143.202.24.51", X "zombie", 0x8fca8812, "143.202.136.18", X "zwiebel", 0x8fca1212, "143.202.18.18", X "", 0, ""}; SHAR_EOF echo 'File snmp2/vx/ypdata.h is complete' && $shar_touch -am 1015123793 'snmp2/vx/ypdata.h' && chmod 0644 'snmp2/vx/ypdata.h' || echo 'restore of snmp2/vx/ypdata.h failed' shar_count="`wc -c < 'snmp2/vx/ypdata.h'`" test 25519 -eq "$shar_count" || echo "snmp2/vx/ypdata.h: original size 25519, current size $shar_count" rm -f _sharnew.tmp fi # ============= snmp2/vx/ypstruct.h ============== if test -f 'snmp2/vx/ypstruct.h' && test X"$1" != X"-c"; then echo 'x - skipping snmp2/vx/ypstruct.h (file already exists)' rm -f _sharnew.tmp else > _sharnew.tmp echo 'x - extracting snmp2/vx/ypstruct.h (text)' sed 's/^X//' << 'SHAR_EOF' > 'snmp2/vx/ypstruct.h' && /* X * ypstruct.h X */ X struct ypdata { X char * name; X unsigned int ip_addr_hex; X char * ip_addr_string; X }; SHAR_EOF $shar_touch -am 1015123793 'snmp2/vx/ypstruct.h' && chmod 0644 'snmp2/vx/ypstruct.h' || echo 'restore of snmp2/vx/ypstruct.h failed' shar_count="`wc -c < 'snmp2/vx/ypstruct.h'`" test 122 -eq "$shar_count" || echo "snmp2/vx/ypstruct.h: original size 122, current size $shar_count" rm -f _sharnew.tmp fi # ============= snmp2/vx/psos_cfg.h ============== if test -f 'snmp2/vx/psos_cfg.h' && test X"$1" != X"-c"; then echo 'x - skipping snmp2/vx/psos_cfg.h (file already exists)' rm -f _sharnew.tmp else > _sharnew.tmp echo 'x - extracting snmp2/vx/psos_cfg.h (empty)' > 'snmp2/vx/psos_cfg.h' && $shar_touch -am 1015123793 'snmp2/vx/psos_cfg.h' && chmod 0644 'snmp2/vx/psos_cfg.h' || echo 'restore of snmp2/vx/psos_cfg.h failed' shar_count="`wc -c < 'snmp2/vx/psos_cfg.h'`" test 0 -eq "$shar_count" || echo "snmp2/vx/psos_cfg.h: original size 0, current size $shar_count" rm -f _sharnew.tmp fi # ============= snmp2/vx/pna.h ============== if test -f 'snmp2/vx/pna.h' && test X"$1" != X"-c"; then echo 'x - skipping snmp2/vx/pna.h (file already exists)' rm -f _sharnew.tmp else > _sharnew.tmp echo 'x - extracting snmp2/vx/pna.h (text)' sed 's/^X//' << 'SHAR_EOF' > 'snmp2/vx/pna.h' && #define NULL (void *) 0 SHAR_EOF $shar_touch -am 1015123793 'snmp2/vx/pna.h' && chmod 0644 'snmp2/vx/pna.h' || echo 'restore of snmp2/vx/pna.h failed' shar_count="`wc -c < 'snmp2/vx/pna.h'`" test 24 -eq "$shar_count" || echo "snmp2/vx/pna.h: original size 24, current size $shar_count" rm -f _sharnew.tmp fi # ============= snmp2/vx/syslog.c ============== if test -f 'snmp2/vx/syslog.c' && test X"$1" != X"-c"; then echo 'x - skipping snmp2/vx/syslog.c (file already exists)' rm -f _sharnew.tmp else > _sharnew.tmp echo 'x - extracting snmp2/vx/syslog.c (text)' sed 's/^X//' << 'SHAR_EOF' > 'snmp2/vx/syslog.c' && /* X * X * X * (c) Copyright 1993 by Associated Universities, Inc. (AUI) X * X * All Rights Reserved X * X * Permission to use, copy, modify, and distribute this software and its X * documentation for any purpose and without fee is hereby granted, X * provided that the above copyright notice appear in all copies and that X * both that copyright notice and this permission notice appear in X * supporting documentation, and that the name of AUI not be X * used in advertising or publicity pertaining to distribution of the X * software without specific, written prior permission. X * X * THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. X * AUI DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING X * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL X * AUI BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR X * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, X * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, X * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS X * SOFTWARE. X * X * X */ /*--------------------------------------------------------------------- X * syslog.c : vxWorks support for syslog()/openlog() X * Bugs : %m is not supported, no trailing newline is added, X * priority/facility/ident tagging is not supported, X * only six args are permitted. X * X * $Log$ X * X * X ---------------------------------------------------------------------*/ X #include #include #include X void openlog(const char *ident, /* Ignored for VxWorks */ X int logstat, /* Ignored for VxWorks */ X int facility /* Ignored for VxWorks */ X ){ } X void test(va_alist) va_dcl { } X void syslog( X va_alist /* priority, fmt, optional arguments to format */ X ) va_dcl { X X char *fmt; X int arg1, arg2, arg3, arg4, arg5, arg6; X X register va_list pVarArgs; X va_start(pVarArgs); X X /* through away priority */ X (void) va_arg(pVarArgs, int); X X /* six args required for fmt */ X fmt = va_arg(pVarArgs, char *); X arg1 = va_arg(pVarArgs, int); X arg2 = va_arg(pVarArgs, int); X arg3 = va_arg(pVarArgs, int); X arg4 = va_arg(pVarArgs, int); X arg5 = va_arg(pVarArgs, int); X arg6 = va_arg(pVarArgs, int); X X va_end(pVarArgs); X X logMsg((char *) fmt, arg1, arg2, arg3, arg4, arg5, arg6); X } X int setlogmask(int maskpri /* Ignored for VxWorks */ X ){ X return 0; } X void closelog(void){ X } X X SHAR_EOF $shar_touch -am 1026094293 'snmp2/vx/syslog.c' && chmod 0644 'snmp2/vx/syslog.c' || echo 'restore of snmp2/vx/syslog.c failed' shar_count="`wc -c < 'snmp2/vx/syslog.c'`" test 2481 -eq "$shar_count" || echo "snmp2/vx/syslog.c: original size 2481, current size $shar_count" rm -f _sharnew.tmp fi rm -f _sharseq.tmp echo 'You have unpacked the last part' exit 0