~ubuntu-branches/debian/stretch/alpine/stretch

« back to all changes in this revision

Viewing changes to pith/pineelt.h

  • Committer: Bazaar Package Importer
  • Author(s): Asheesh Laroia
  • Date: 2007-02-17 13:17:42 UTC
  • Revision ID: james.westby@ubuntu.com-20070217131742-99x5c6cpg1pbkdhw
Tags: upstream-0.82+dfsg
ImportĀ upstreamĀ versionĀ 0.82+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * $Id: pineelt.h 136 2006-09-22 20:06:05Z hubert@u.washington.edu $
 
3
 *
 
4
 * ========================================================================
 
5
 * Copyright 2006 University of Washington
 
6
 *
 
7
 * Licensed under the Apache License, Version 2.0 (the "License");
 
8
 * you may not use this file except in compliance with the License.
 
9
 * You may obtain a copy of the License at
 
10
 *
 
11
 *     http://www.apache.org/licenses/LICENSE-2.0
 
12
 *
 
13
 * ========================================================================
 
14
 */
 
15
 
 
16
#ifndef PITH_PINEELT_INCLUDED
 
17
#define PITH_PINEELT_INCLUDED
 
18
 
 
19
 
 
20
#include "../pith/thread.h"
 
21
#include "../pith/indxtype.h"
 
22
 
 
23
 
 
24
/*
 
25
 * The two structs below hold all knowledge regarding
 
26
 * messages requiring special handling
 
27
 */
 
28
typedef struct part_exception_s {
 
29
    char                     *partno;
 
30
    int                       handling;
 
31
    struct part_exception_s  *next;
 
32
} PARTEX_S;
 
33
 
 
34
 
 
35
/*
 
36
 * Pine's private per-message data stored on the c-client's elt
 
37
 * spare pointer.
 
38
 */
 
39
typedef struct pine_elt {
 
40
    PINETHRD_S  *pthrd;
 
41
    PARTEX_S    *exceptions;
 
42
    ICE_S       *ice;
 
43
} PINELT_S;
 
44
 
 
45
 
 
46
/* exported protoypes */
 
47
void        msgno_free_exceptions(PARTEX_S **);
 
48
 
 
49
 
 
50
#endif /* PITH_PINEELT_INCLUDED */