~zulcss/ubuntu/lucid/likewise-open/likewise-open-sru

« back to all changes in this revision

Viewing changes to domainjoin/domainjoin-gui/carbon/libdomainjoin-mac/include/djitf_p.h

  • Committer: Bazaar Package Importer
  • Author(s): Rick Clark
  • Date: 2008-08-27 08:56:20 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080827085620-5q0f58b9qtog9myq
Tags: 4.1.0.2956-0ubuntu1
* missing-likewise-logo.diff: removed
* fixed copyright notice
* updated Standards-Version to 3.8.0
* removed path from command in prerm
* removed stop in S runlevel

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Editor Settings: expandtabs and use 4 spaces for indentation
 
2
* ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: *
 
3
* -*- mode: c, c-basic-offset: 4 -*- */
 
4
 
 
5
/*
 
6
 * Copyright (C) Centeris Corporation 2004-2007
 
7
 * Copyright (C) Likewise Software    2007-2008
 
8
 * All rights reserved.
 
9
 *
 
10
 * This program is free software; you can redistribute it and/or modify
 
11
 * it under the terms of the GNU Lesser General Public License as
 
12
 * published by the Free Software Foundation; either version 2.1 of
 
13
 * the License, or (at your option) any later version.
 
14
 *
 
15
 * This library is distributed in the hope that it will be useful,
 
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
 * GNU Lesser General Public License for more details.
 
19
 *
 
20
 * You should have received a copy of the GNU Lesser General Public
 
21
 * License along with this program.  If not, see
 
22
 * <http://www.gnu.org/licenses/>.
 
23
 */
 
24
 
 
25
#ifndef __DJ_ITF_P_H__
 
26
#define __DJ_ITF_P_H__
 
27
 
 
28
int
 
29
DJItfJoinDomain(
 
30
    const char*         pszDomainName,
 
31
    const char*         pszOU,
 
32
    const char*         pszUsername,
 
33
    const char*         pszPassword,
 
34
    short               bNoHosts,
 
35
    PDOMAIN_JOIN_ERROR* ppError
 
36
    );
 
37
 
 
38
int
 
39
DJItfLeaveDomain(
 
40
    const char*         pszUsername,
 
41
    const char*         pszPassword,
 
42
    PDOMAIN_JOIN_ERROR* ppError
 
43
    );
 
44
 
 
45
int
 
46
DJItfSetComputerName(
 
47
    const char*         pszComputerName,
 
48
    const char*         pszDomainName,
 
49
    PDOMAIN_JOIN_ERROR* ppError
 
50
    );
 
51
 
 
52
int
 
53
DJItfQueryInformation(
 
54
    PDOMAIN_JOIN_INFO*  ppDomainJoinInfo,
 
55
    PDOMAIN_JOIN_ERROR* ppError
 
56
    );
 
57
 
 
58
int
 
59
DJItfIsDomainNameResolvable(
 
60
    const char*         pszDomainName,
 
61
    short*              pbIsResolvable,
 
62
    PDOMAIN_JOIN_ERROR* ppError
 
63
    ); 
 
64
 
 
65
void
 
66
DJItfFreeDomainJoinInfo(
 
67
    PDOMAIN_JOIN_INFO pDomainJoinInfo
 
68
    );
 
69
 
 
70
void
 
71
DJItfFreeDomainJoinError(
 
72
    PDOMAIN_JOIN_ERROR pError
 
73
    );
 
74
 
 
75
int
 
76
DJItfConvertDomainJoinInfo(
 
77
    PDOMAINJOININFO pJoinInfo,
 
78
    PDOMAIN_JOIN_INFO* ppJoinInfo
 
79
    );
 
80
 
 
81
int
 
82
DJItfBuildDomainJoinError(
 
83
    LWException* pException,
 
84
    PDOMAIN_JOIN_ERROR* ppError
 
85
    );
 
86
 
 
87
#endif /* __DJ_ITF_P_H__ */
 
88