suggest some ideas for reuse


 
Thread Tools Search this Thread
Operating Systems Linux suggest some ideas for reuse
# 1  
Old 01-25-2008
suggest some ideas for reuse

hi

can you all help me to develop anything in unix that could be reused.
any module or application could be helpful
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Reuse format strings

I have a collection of format strings for sscanf, such as "%02d%*1s%02d%*1s%02d" to read in certain formatted strings, such as dates, times, etc. I wonder if there is a way to use them in printf without some changes? The example above would not work - at least I can't think of any ways to... (4 Replies)
Discussion started by: migurus
4 Replies

2. UNIX and Linux Applications

Need ideas for graduation project based on unix or linux Need ideas for graduation project based on

Dear all, i am in last year of electronics department in engineering faculty i need suggestions for a graduation project based on unix or free bsd or linux and electronics "embedded linux " i think about embedded unix for example or device drivers please i need helps (1 Reply)
Discussion started by: MOHA-1
1 Replies

3. Shell Programming and Scripting

How to reuse values in Shell script

Hi I am trying to write a shell script and wanted to re-use the value which I have entered already. Here is the sample code. echo "Enter Value : \c" ; read val echo "Enter number: $val\c" ; read num Now I wanted to change the value as showing in 2nd Line or if I will use enter, it... (15 Replies)
Discussion started by: SushilAnand
15 Replies

4. Emergency UNIX and Linux Support

Reuse a LUN

I have a LUN (From HP-Storage VA7110) that is claimed on 2 servers, but is in used in one of the VG on Server-1 . Now I want to shut Server-1 and re-use that LUN on server-2 . Server-1 Path-1 : /dev/rdsk/c4t0d1 Path-2: /dev/rdsk/c6t0d1 Server-2 Path-1: /dev/rdsk/c5t0d1 Path-2:... (8 Replies)
Discussion started by: Shirishlnx
8 Replies

5. Shell Programming and Scripting

How to declare variables once and reuse them in other scripts?

Hello everyone. I'm trying to create a conf file with variables that my other scripts will use. I have several scripts that use the same variables, and since I don't know how to read them from an external file, i define them in each script (and then if i want to change one's value i need to... (4 Replies)
Discussion started by: moshe88
4 Replies

6. UNIX for Dummies Questions & Answers

Reuse argument from current command?

I'm currently using zsh. Sometimes I find myself wishing to reuse an argument from earlier in the command. I know that I can, of course, assign an argument to a variable ahead of time, and then easily use that variable more than once. I know about the ability to reuse arguments from previous... (0 Replies)
Discussion started by: marshaul
0 Replies

7. Shell Programming and Scripting

Reuse Variable..

Hi. I have these two variables: My objective here is to reuse that $file_name variable again and again by resetting the $cv value. for example, if i reissue the cv="$(print 'CV01')" command, thus $file_name is now should be "CP99978_CV01.TXT", not "CP99978_CV01.TXT" anymore. How I'm... (7 Replies)
Discussion started by: aimy
7 Replies

8. HP-UX

Reuse disk from other HP-UX

Hello, I have 2 hp-ux both running 11.23, I have move one of a harddisk from "UNIX A" to "UNIX B", so how can I read back the data in "UNIX B"? Thanks (5 Replies)
Discussion started by: zetadhell
5 Replies

9. UNIX for Advanced & Expert Users

Password reuse utility

Does anyone know of a password reuse utility for Solaris 7 or 8? Security people are telling me that I need one. Thanks (1 Reply)
Discussion started by: rtoba
1 Replies

10. UNIX for Dummies Questions & Answers

How to reuse same major number

Hi, I am working on device drivers.Once If register a device i'll get one major no. If i unregister and register again i'll get a different major no.What i have to do to get same major no. each time :( (0 Replies)
Discussion started by: Agnello
0 Replies
Login or Register to Ask a Question
Request Attributes(3)					       globus gass transfer					     Request Attributes(3)

NAME
Request Attributes - Functions int globus_gass_transfer_requestattr_init (globus_gass_transfer_requestattr_t *attr, char *url_scheme) int globus_gass_transfer_requestattr_destroy (globus_gass_transfer_requestattr_t *attr) Proxy Server int globus_gass_transfer_requestattr_set_proxy_url (globus_gass_transfer_requestattr_t *attr, char *proxy_url) int globus_gass_transfer_requestattr_get_proxy_url (globus_gass_transfer_requestattr_t *attr, char **proxy_url) Block Size int globus_gass_transfer_requestattr_set_block_size (globus_gass_transfer_requestattr_t *attr, globus_size_t block_size) int globus_gass_transfer_requestattr_get_block_size (globus_gass_transfer_requestattr_t *attr, globus_size_t *block_size) File Mode int globus_gass_transfer_requestattr_set_file_mode (globus_gass_transfer_requestattr_t *attr, globus_gass_transfer_file_mode_t file_mode) int globus_gass_transfer_requestattr_get_file_mode (globus_gass_transfer_requestattr_t *attr, globus_gass_transfer_file_mode_t *file_mode) Connection Reuse int globus_gass_transfer_requestattr_set_connection_reuse (globus_gass_transfer_requestattr_t *attr, globus_bool_t connection_reuse) int globus_gass_transfer_requestattr_get_connection_reuse (globus_gass_transfer_requestattr_t *attr, globus_bool_t *connection_reuse) Socket Send Buffer Size int globus_gass_transfer_requestattr_set_socket_sndbuf (globus_gass_transfer_requestattr_t *attr, int sndbuf) int globus_gass_transfer_requestattr_get_socket_sndbuf (globus_gass_transfer_requestattr_t *attr, int *sndbuf) Receive Socket Buffer int globus_gass_transfer_requestattr_set_socket_rcvbuf (globus_gass_transfer_requestattr_t *attr, int rcvbuf) int globus_gass_transfer_requestattr_get_socket_rcvbuf (globus_gass_transfer_requestattr_t *attr, int *rcvbuf) TCP Nodelay int globus_gass_transfer_requestattr_set_socket_nodelay (globus_gass_transfer_requestattr_t *attr, globus_bool_t nodelay) int globus_gass_transfer_requestattr_get_socket_nodelay (globus_gass_transfer_requestattr_t *attr, globus_bool_t *nodelay) Authorization int globus_gass_transfer_secure_requestattr_set_authorization (globus_gass_transfer_requestattr_t *attr, globus_gass_transfer_authorization_t mode, char *subject) int globus_gass_transfer_secure_requestattr_get_authorization (globus_gass_transfer_requestattr_t *attr, globus_gass_transfer_authorization_t *mode, char **subject) Detailed Description The GASS Transfer library uses Globus objects to provide an extensible way of creating protocol-specific attributes. Function Documentation int globus_gass_transfer_requestattr_init (globus_gass_transfer_requestattr_t *attr, char *url_scheme) Initialize a request attribute. This function initializes the attr to contain a new protocol-specific request attribute. Parameters: attr The attribute set to be initialized. url_scheme The scheme which which the attribute will be used for. Return values: GLOBUS_SUCCESS The attribute was successfully initialized. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER Either attr or url_scheme was GLOBUS_NULL. GLOBUS_GASS_TRANSFER_ERROR_NOT_IMPLEMENTED No protocol module currently registered with GASS Transfer Library handles URLs with the specified url_scheme. int globus_gass_transfer_requestattr_destroy (globus_gass_transfer_requestattr_t *attr) Destroy a request attribute. This function destroys the attribute set specified in attr. Parameters: attr The attribute set to be destroyed. Return values: GLOBUS_SUCCESS The attribute was successfully destroyed. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_set_proxy_url (globus_gass_transfer_requestattr_t *attr, char *proxy_url) Set/Get the proxy server attribute for a GASS transfer attribute set. This attribute allows the user to use a proxy server to handle a URL request. Parameters: attr The attribute set to be modified proxy_url The new value of the proxy_url attribute. This may be GLOBUS_NULL if no proxy is to be used to access URLs with this attribute set. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_set_block_size (globus_gass_transfer_requestattr_t *attr, globus_size_tblock_size) Set/Get the block size attribute for a GASS transfer attribute set. This attribute allows the user to suggest a preferred block size of a server to handle a URL request. Parameters: attr The attribute set to query or modify. block_size The data block size that should be used to process requests with this attribute set. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_set_file_mode (globus_gass_transfer_requestattr_t *attr, globus_gass_transfer_file_mode_tfile_mode) Set/Get the file mode attribute for a GASS transfer attribute set. This attribute allows the user to control whether the file will be transferred in ASCII or binary file mode. Parameters: attr The attribute set to query or modify. file_mode The value of the file mode attribute. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_set_connection_reuse (globus_gass_transfer_requestattr_t *attr, globus_bool_tconnection_reuse) Set/Get the connection reuse attribute for a GASS transfer attribute set. This attribute allows the user to control whether the connection associated with a GASS Transfer request should be reused after the file transfer has completed. Parameters: attr The attribute set to query or modify. connection_reuse The value of the connection reuse attribute. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_set_socket_sndbuf (globus_gass_transfer_requestattr_t *attr, intsndbuf) Set/Get the send buffer size attribute for a GASS transfer attribute set. This attribute allows the user to control the socket send buffer associated with a GASS Transfer request should be reused after the file transfer has completed. Parameters: attr The attribute set to query or modify. sndbuf The value of the socket buffer. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_set_socket_rcvbuf (globus_gass_transfer_requestattr_t *attr, intrcvbuf) Set/Get the receive buffer size attribute for a GASS transfer attribute set. This attribute allows the user to control the socket receive buffer associated with a GASS Transfer request should be reused after the file transfer has completed. Parameters: attr The attribute set to query or modify. rcvbuf The value of the socket buffer. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_set_socket_nodelay (globus_gass_transfer_requestattr_t *attr, globus_bool_tnodelay) Set/Get the TCP nodelay attribute for a GASS transfer attribute set. This attribute allows the user to control the socket receive buffer associated with a GASS Transfer request should be reused after the file transfer has completed. Parameters: attr The attribute set to query or modify. nodelay The value of the nodelay attribute. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_secure_requestattr_set_authorization (globus_gass_transfer_requestattr_t *attr, globus_gass_transfer_authorization_tmode, char *subject) Set/Get the authorization attribute for a GASS transfer attribute set. This attribute allows the user to control what type of authorization should be done when GASS Transfer requests are processed. Parameters: attr The attribute set to query or modify. mode The authorization mode to use. subject The subject name of the authorized subject, if mode is GLOBUS_GASS_TRANSFER_AUTHORIZE_SUBJECT Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_get_proxy_url (globus_gass_transfer_requestattr_t *attr, char **proxy_url) Set/Get the proxy server attribute for a GASS transfer attribute set. This attribute allows the user to use a proxy server to handle a URL request. Parameters: attr The attribute set to be modified proxy_url The new value of the proxy_url attribute. This may be GLOBUS_NULL if no proxy is to be used to access URLs with this attribute set. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_get_block_size (globus_gass_transfer_requestattr_t *attr, globus_size_t *block_size) Set/Get the block size attribute for a GASS transfer attribute set. This attribute allows the user to suggest a preferred block size of a server to handle a URL request. Parameters: attr The attribute set to query or modify. block_size The data block size that should be used to process requests with this attribute set. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_get_file_mode (globus_gass_transfer_requestattr_t *attr, globus_gass_transfer_file_mode_t *file_mode) Set/Get the file mode attribute for a GASS transfer attribute set. This attribute allows the user to control whether the file will be transferred in ASCII or binary file mode. Parameters: attr The attribute set to query or modify. file_mode The value of the file mode attribute. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_get_connection_reuse (globus_gass_transfer_requestattr_t *attr, globus_bool_t *connection_reuse) Set/Get the connection reuse attribute for a GASS transfer attribute set. This attribute allows the user to control whether the connection associated with a GASS Transfer request should be reused after the file transfer has completed. Parameters: attr The attribute set to query or modify. connection_reuse The value of the connection reuse attribute. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_get_socket_sndbuf (globus_gass_transfer_requestattr_t *attr, int *sndbuf) Set/Get the send buffer size attribute for a GASS transfer attribute set. This attribute allows the user to control the socket send buffer associated with a GASS Transfer request should be reused after the file transfer has completed. Parameters: attr The attribute set to query or modify. sndbuf The value of the socket buffer. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_get_socket_rcvbuf (globus_gass_transfer_requestattr_t *attr, int *rcvbuf) Set/Get the receive buffer size attribute for a GASS transfer attribute set. This attribute allows the user to control the socket receive buffer associated with a GASS Transfer request should be reused after the file transfer has completed. Parameters: attr The attribute set to query or modify. rcvbuf The value of the socket buffer. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_requestattr_get_socket_nodelay (globus_gass_transfer_requestattr_t *attr, globus_bool_t *nodelay) Set/Get the TCP nodelay attribute for a GASS transfer attribute set. This attribute allows the user to control the socket receive buffer associated with a GASS Transfer request should be reused after the file transfer has completed. Parameters: attr The attribute set to query or modify. nodelay The value of the nodelay attribute. Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. int globus_gass_transfer_secure_requestattr_get_authorization (globus_gass_transfer_requestattr_t *attr, globus_gass_transfer_authorization_t *mode, char **subject) Set/Get the authorization attribute for a GASS transfer attribute set. This attribute allows the user to control what type of authorization should be done when GASS Transfer requests are processed. Parameters: attr The attribute set to query or modify. mode The authorization mode to use. subject The subject name of the authorized subject, if mode is GLOBUS_GASS_TRANSFER_AUTHORIZE_SUBJECT Return values: GLOBUS_SUCCESS The attribute was successfully updated. GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL. Author Generated automatically by Doxygen for globus gass transfer from the source code. Version 7.2 Mon Apr 30 2012 Request Attributes(3)