~persia/lsb-arm-port/tet-harness

« back to all changes in this revision

Viewing changes to src/tet3/xtilib/listn.c

  • Committer: Emmet Hikory
  • Date: 2010-01-08 04:58:01 UTC
  • Revision ID: persia@ubuntu.com-20100108045801-e6zpplxkui2e9tcp
Upstream tarball for 3.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *      SCCS:  @(#)listn.c      1.8 (99/09/03)
 
3
 *
 
4
 *      UniSoft Ltd., London, England
 
5
 *
 
6
 * (C) Copyright 1993 X/Open Company Limited
 
7
 *
 
8
 * All rights reserved.  No part of this source code may be reproduced,
 
9
 * stored in a retrieval system, or transmitted, in any form or by any
 
10
 * means, electronic, mechanical, photocopying, recording or otherwise,
 
11
 * except as stated in the end-user licence agreement, without the prior
 
12
 * permission of the copyright owners.
 
13
 *
 
14
 * X/Open and the 'X' symbol are trademarks of X/Open Company Limited in
 
15
 * the UK and other countries.
 
16
 */
 
17
 
 
18
#ifndef lint
 
19
static char sccsid[] = "@(#)listn.c     1.8 (99/09/03) TET3 release 3.7";
 
20
#endif
 
21
 
 
22
/************************************************************************
 
23
 
 
24
SCCS:           @(#)listn.c     1.8 (99/09/03) TETware release 3.7
 
25
NAME:           listn.c
 
26
PRODUCT:        TETware
 
27
AUTHOR:         Denis McConalogue, UniSoft Ltd.
 
28
DATE CREATED:   April 1993 
 
29
 
 
30
DESCRIPTION:
 
31
        function to initialise the connecion indication array prior to t_listen
 
32
 
 
33
MODIFICATIONS:
 
34
 
 
35
        Andrew Dingwall, UniSoft Ltd., July 1998
 
36
        Added support for shared API libraries.
 
37
 
 
38
************************************************************************/
 
39
 
 
40
#include <sys/types.h>
 
41
#include <time.h>
 
42
#include <xti.h>
 
43
#include "dtmac.h"
 
44
#include "dtmsg.h"
 
45
#include "ptab.h"
 
46
#include "xtilib_xt.h"
 
47
 
 
48
 
 
49
/*
 
50
**      tet_ts_listen() - clear the connection indication array prior to
 
51
**              t_listen
 
52
**
 
53
*/
 
54
 
 
55
/* ARGSUSED */
 
56
void tet_ts_listen(fd)
 
57
int fd;
 
58
{
 
59
        int i;
 
60
 
 
61
        for (i=0; i < MAX_CONN_IND; i++)
 
62
                tet_calls[i] = (struct t_call *) 0;
 
63
 
 
64
        return;
 
65
}
 
66