10-14-2008
9 More Discussions You Might Find Interesting
1. Solaris
Hi,
I´m having a problem here. I have a directory that holds many subdirs and files (by many I mean MANY thousands).
What I want to do is make blocks of these files and transfer them block by block to a remote host; but once a given file is already placed in the remote host, the script must... (0 Replies)
Discussion started by: Dago
0 Replies
2. Linux
Hi ,
where can i get free source code for LINUX commands , OS , system calls etc.
Thanks
Naren (2 Replies)
Discussion started by: naren_chella
2 Replies
3. Programming
Hi,
In a file called itemADT.c I have specified the itemType data type to contain a listADT (having already written this library) and an integer, which will eventually represent the no. of times the word that is stored in the listADT has occurred (when I do this, and write code to insert... (2 Replies)
Discussion started by: eva
2 Replies
4. Shell Programming and Scripting
Unix is written in C. From where u can see the source code of unix or linux (1 Reply)
Discussion started by: pritish.sas
1 Replies
5. UNIX for Dummies Questions & Answers
Sir please tell me where can i get source code for some unix kernal and shell also. (1 Reply)
Discussion started by: VIPUL15
1 Replies
6. Shell Programming and Scripting
Hi,
I want to remove the following code from Source files (or replace the code with empty.) from all the source files in given directory.
finally {
if (null != hibernateSession && hibernateSession.isOpen()) {
//hibernateSession.close();
}
}
It would be great if the script has... (2 Replies)
Discussion started by: hareeshram
2 Replies
7. Linux
I need the source code of fedora.
plz plz plz help me........... (1 Reply)
Discussion started by: neh
1 Replies
8. Shell Programming and Scripting
Hi All,
Need to connect to target host and execute a command and connect back to source host to continue with next set of command execution.
Is there a utility/command using which we can connect to target host ?
Please suggest.
Note: Netezza database is instaled on Linux server. ... (4 Replies)
Discussion started by: Nagaraja Akkiva
4 Replies
9. UNIX for Dummies Questions & Answers
hii...
i am a biginner....and i have linux source code ,downloaded from some website ,a compressed file on windows and dont know how do compile them..... (4 Replies)
Discussion started by: M K Raju
4 Replies
LEARN ABOUT HPUX
xaddhost
XAddHost() XAddHost()
Name
XAddHost - add a host to the access control list.
Synopsis
XAddHost(display, host)
Display *display;
XHostAddress *host;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
host Specifies the network address of the host machine to be added.
Description
XAddHost() adds the specified host to the access control list for the server specified by display. The access control list is a primitive
security feature that allows access to the server only by other machines listed in a file on the machine running the server. On UNIX-based
systems, this file is called /etc/X?.hosts, where ? is the number of the server.
The application that calls XAddHost() and the server whose list is being updated must be running on the same host machine.
The address data must be a valid address for the type of network in which the server operates, as specified in the family member. Inter-
net, DECnet and ChaosNet networks are currently supported.
For TCP/IP, the address should be in network byte order. For the DECnet family, the server performs no automatic swapping on the address
bytes. A Phase IV address is two bytes long. The first byte contains the least significant eight bits of the node number. The second
byte contains the most significant two bits of the node number in the least significant two bits of the byte, and the area in the most sig-
nificant six bits of the byte.
For more information on access control, see Volume One, Chapter 15, Other Programming Techniques.
Structures
typedef struct {
int family; /* for example FamilyInternet */
int length; /* length of address, in bytes */
char *address; /* pointer to where to find the bytes */
} XHostAddress;
/* The following constants for family member */
#define FamilyInternet 0
#define FamilyDECnet 1
#define FamilyChaos 2
Errors
BadAccess
BadValue
See Also
XAddHosts(), XDisableAccessControl(), XEnableAccessControl(), XListHosts(), XRemoveHost(), XRemoveHosts(), XSetAccessControl().
Xlib - Host Access XAddHost()