Click here to Skip to main content
15,886,788 members
Articles / Programming Languages / C++

A Namespace Extension Toolkit

Rate me:
Please Sign up or sign in to vote.
4.78/5 (10 votes)
21 Mar 2006CPOL12 min read 84.5K   1.7K   42  
This article shows you how to build your own Windows Explorer interfaces to custom data.
/*
 * Automatically generated by jrpcgen 1.0.5 on 6/20/05 4:27 PM
 * jrpcgen is part of the "Remote Tea" ONC/RPC package for Java
 * See http://remotetea.sourceforge.net for details
 */
package galaxy.nfs.v2;
import org.acplt.oncrpc.*;
import java.io.IOException;

public class symlinkargs implements XdrAble {
    public diropargs from;
    public nfspath to;
    public sattr attributes;

    public symlinkargs() {
    }

    public symlinkargs(XdrDecodingStream xdr)
           throws OncRpcException, IOException {
        xdrDecode(xdr);
    }

    public void xdrEncode(XdrEncodingStream xdr)
           throws OncRpcException, IOException {
        from.xdrEncode(xdr);
        to.xdrEncode(xdr);
        attributes.xdrEncode(xdr);
    }

    public void xdrDecode(XdrDecodingStream xdr)
           throws OncRpcException, IOException {
        from = new diropargs(xdr);
        to = new nfspath(xdr);
        attributes = new sattr(xdr);
    }

}
// End of symlinkargs.java

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions