This function takes an object and tests whether it is a valid NDR object; i.e., whether it is an object that is either an DS, FP, CL, RM or CV object. If it is a valid NDR object, then it returns a string specifying the prefix of the type of object it is; i.e., 'ds', 'fp', 'cl', 'rm' or 'cv'. If it is not an NDR object then an error is thrown.
test_valid_ndr_object(ndr_object)
Returns a string if the ndr_object
is a valid NDR object. The
string is either 'ds', 'fp', 'cl', 'rm' or 'cv' which specifies what type
of object it is. If ndr_object
is not an NDR object, then an error is
thrown.
An object that should be an NDR object.