diff --git a/Unix/base/Strand.h b/Unix/base/Strand.h index 35bf8b13a..8d9596904 100644 --- a/Unix/base/Strand.h +++ b/Unix/base/Strand.h @@ -304,7 +304,7 @@ struct _StrandMany { SListHead pending; // pending operations on main strand HashMap many; // collection with interactions on the MANY direction (a StrandEntry) - HashMapIterator iter; // to interato thru "many" + HashMapIterator iter; // to iterate thru "many" size_t numEntries; // number of entries on "many" FindEntryProc findEntryProc; Strand strand; // includes interaction for the Parent @@ -435,7 +435,7 @@ MI_INLINE void StrandEntry_DeleteNoAdded( _In_ StrandEntry* self ) } // Called inside a strand method (or when creating strand with STRAND_FLAG_ENTERSTRAND) -// to explictly leave the strand (prematurely on the case of the strand method) +// to explicitly leave the strand (prematurely on the case of the strand method) // Note that additional strand methods can be called if they are already // scheduled when Strand_Leave is called void Strand_Leave( _In_ Strand* self ); @@ -1321,7 +1321,7 @@ void Strand_OpenPrepare( _Strand_OpenPrepareImp( self, &self->info, interactionParams, callbackData, msg, leaveStrand ); } -// If after call Strand_OpenPrepare the opend didnt happen +// If after call Strand_OpenPrepare the open didn't happen // Used on Strand/StrandMany/StrandEntry (but not StrandBoth, see below) MI_INLINE void Strand_OpenCancel( @@ -1372,7 +1372,7 @@ void StrandBoth_OpenPrepare( _Strand_OpenPrepareImp( &self->base, &self->infoRight, interactionParams, callbackData, msg, leaveStrand ); } -// If after call Strand_OpenPrepare the opend didnt happen +// If after call Strand_OpenPrepare the open didn't happen // Used on Strand/StrandMany/StrandEntry (but not StrandBoth, see below) MI_INLINE void StrandBoth_OpenCancel( diff --git a/Unix/base/base64.c b/Unix/base/base64.c index 4984b3513..f98da2ee2 100644 --- a/Unix/base/base64.c +++ b/Unix/base/base64.c @@ -136,7 +136,7 @@ int Base64Enc( { case 1: buf[n++] = '='; - /* Fallthorugh intentional */ + /* Fallthrough intentional */ case 2: buf[n++] = '='; } diff --git a/Unix/base/batch.h b/Unix/base/batch.h index df6f06705..38335c338 100644 --- a/Unix/base/batch.h +++ b/Unix/base/batch.h @@ -60,7 +60,7 @@ typedef struct _Page { struct _Page* next; - /* If non-zero, this page may be independenty released (contains + /* If non-zero, this page may be independently released (contains * a single block). If so, then passing it to Batch_Put() will * pass this block to PAL_Free(). Otherwise, calling Batch_Put() * has no effect. diff --git a/Unix/base/class.c b/Unix/base/class.c index 8e0431c7d..d555c9980 100644 --- a/Unix/base/class.c +++ b/Unix/base/class.c @@ -894,7 +894,7 @@ MI_Result MI_CALL QualifierSet_GetQualifier( return MI_RESULT_NOT_FOUND; } -/*Qualifier can be propogated only if +/*Qualifier can be propagated only if 1) It has ToSubClass qualifier 2) It it not restricted. WMIV1 has no mechanism to tell if a qualifier is restricted, hence we are building the list of qualifiers we know are restricted. Note in future DMTF might introduce @@ -909,7 +909,7 @@ MI_Char *restrictedQualifier[] = { ZT("Version"), ZT("ClassVersion") }; -MI_Boolean CanQualifierBePropogated( _In_ MI_Qualifier *qualifier) +MI_Boolean CanQualifierBePropagated( _In_ MI_Qualifier *qualifier) { if(qualifier->flavor & MI_FLAG_TOSUBCLASS ) { @@ -933,9 +933,9 @@ MI_Result ClassConstructor_New( _In_opt_z_ const MI_Char *namespaceName, /* Not needed if parentClass is passed in */ _In_opt_z_ const MI_Char *serverName, /* Not needed if parentClass is passed in */ _In_z_ const MI_Char *className, - MI_Uint32 numberClassQualifiers, /* number of extra class qualifiers you want to create. Allowes us to pre-create array of correct size */ - MI_Uint32 numberProperties, /* number of extra properties you want to create. Allowes us to pre-create array of correct size */ - MI_Uint32 numberMethods, /* number of extra methods you want to create. Allowes us to pre-create array of correct size */ + MI_Uint32 numberClassQualifiers, /* number of extra class qualifiers you want to create. Allows us to pre-create array of correct size */ + MI_Uint32 numberProperties, /* number of extra properties you want to create. Allows us to pre-create array of correct size */ + MI_Uint32 numberMethods, /* number of extra methods you want to create. Allows us to pre-create array of correct size */ _Out_ MI_Class **newClass /* Object that is ready to receive new qualifiers/properties/methods */ ) { @@ -1033,14 +1033,14 @@ MI_Result ClassConstructor_New( for (i = 0; i != parentClass->classDecl->numQualifiers; i++) { //Only qualifiers that are flavor ToSubClass are propagated (however they can be overridden!) - if( CanQualifierBePropogated(parentClass->classDecl->qualifiers[i])) + if( CanQualifierBePropagated(parentClass->classDecl->qualifiers[i])) { numberClassQualifiers++; } } - //Abstract can't be inherited. There are bunch of other qualifiers that cna't be intherited - // But luckliy we define only abstract as part of the flags + //Abstract can't be inherited. There are bunch of other qualifiers that can't be inherited + // But luckily we define only abstract as part of the flags classDecl->flags |= (parentClass->classDecl->flags & (~MI_FLAG_ABSTRACT)); } else @@ -1085,7 +1085,7 @@ MI_Result ClassConstructor_New( int i; for (i = 0; i != parentClass->classDecl->numQualifiers; i++) { - if( CanQualifierBePropogated(parentClass->classDecl->qualifiers[i])) + if( CanQualifierBePropagated(parentClass->classDecl->qualifiers[i])) { classDecl->qualifiers[classDecl->numQualifiers] = parentClass->classDecl->qualifiers[i]; classDecl->numQualifiers++; @@ -1127,7 +1127,7 @@ MI_Result ClassConstructor_New( classDecl->properties[iCount]->numQualifiers = 0; for( jCount = 0 ; jCount < parentClass->classDecl->properties[iCount]->numQualifiers; jCount++) { - if( CanQualifierBePropogated(parentClass->classDecl->properties[iCount]->qualifiers[jCount])) + if( CanQualifierBePropagated(parentClass->classDecl->properties[iCount]->qualifiers[jCount])) { classDecl->properties[iCount]->qualifiers[classDecl->properties[iCount]->numQualifiers] = parentClass->classDecl->properties[iCount]->qualifiers[jCount]; @@ -1174,7 +1174,7 @@ MI_Result ClassConstructor_New( classDecl->methods[iCount]->numQualifiers = 0; for( jCount = 0 ; jCount < parentClass->classDecl->methods[iCount]->numQualifiers; jCount++) { - if( CanQualifierBePropogated(parentClass->classDecl->methods[iCount]->qualifiers[jCount])) + if( CanQualifierBePropagated(parentClass->classDecl->methods[iCount]->qualifiers[jCount])) { classDecl->methods[iCount]->qualifiers[classDecl->methods[iCount]->numQualifiers] = parentClass->classDecl->methods[iCount]->qualifiers[jCount]; @@ -2033,7 +2033,7 @@ static MI_Result _AddClassQualifier( //Get location of entry qualifierLocation = &mi_class->classDecl->qualifiers[qualifierIndex]; - //Qualifier pointer array values are initialialized to -1. If not overriden and the next slot is not -1 then we have gone off the end of the array + //Qualifier pointer array values are initialialized to -1. If not overridden and the next slot is not -1 then we have gone off the end of the array if ((qualifierIndex == mi_class->classDecl->numQualifiers) && ((*qualifierLocation) != (void*)-1)) { return MI_RESULT_INVALID_PARAMETER; @@ -2293,7 +2293,7 @@ static MI_Result _AddElement( if( propertyIndex < mi_class->classDecl->numProperties ) { totalParentPropertyQualifiers = mi_class->classDecl->properties[propertyIndex]->numQualifiers; - // TODO: there might be other flags that we need to propogate. + // TODO: there might be other flags that we need to propagate. if(mi_class->classDecl->properties[propertyIndex]->flags & MI_FLAG_KEY) { propertyDecl.flags |= MI_FLAG_KEY; @@ -2304,7 +2304,7 @@ static MI_Result _AddElement( } } - //NOTE: THE ABOVE CODE MUST BE EXECUTED BEFORE CHANGIND PROPERTYLOCATION + //NOTE: THE ABOVE CODE MUST BE EXECUTED BEFORE CHANGING PROPERTYLOCATION //Pretty sure we have not gone off end of array so clone the property into our batch (*propertyLocation) = Class_Clone_Property(batch, &propertyDecl); if ((*propertyLocation) == NULL) @@ -2328,7 +2328,7 @@ static MI_Result _AddElement( int i; for (i = 0; i != parentPropertyLocation->numQualifiers; i++) { - if (CanQualifierBePropogated(parentPropertyLocation->qualifiers[i])) + if (CanQualifierBePropagated(parentPropertyLocation->qualifiers[i])) { (*propertyLocation)->qualifiers[(*propertyLocation)->numQualifiers] = parentPropertyLocation->qualifiers[i]; (*propertyLocation)->numQualifiers++; @@ -2337,7 +2337,7 @@ static MI_Result _AddElement( } } - //Successfully added property so update proeprty count if necessary + //Successfully added property so update property count if necessary *elementId = propertyIndex; if (propertyIndex == mi_class->classDecl->numProperties) { @@ -2777,7 +2777,7 @@ MI_Result Class_AddMethod( MI_Uint32 i; for( i = 0; i < parentMethodLocation->numQualifiers; i++) { - if( CanQualifierBePropogated(parentMethodLocation->qualifiers[i] )) + if( CanQualifierBePropagated(parentMethodLocation->qualifiers[i] )) { (*methodLocation)->qualifiers[(*methodLocation)->numQualifiers] = parentMethodLocation->qualifiers[i]; (*methodLocation)->numQualifiers++; @@ -2966,7 +2966,7 @@ MI_Result Class_AddMethodQualifierArrayItem( return MI_RESULT_OK; } -/* Add a method proeprty to a refcounted class. The method property array was precreated by passing numberParameters to Class_AddMethod. +/* Add a method property to a refcounted class. The method property array was precreated by passing numberParameters to Class_AddMethod. Add the property in the next slot by querying how many qualifiers are currently there. Don't add more properties than you said you wanted as the array is fixed */ @@ -3009,7 +3009,7 @@ MI_Result Class_AddMethodParameter( parameterDecl.className = (MI_Char*)refClassname; parameterDecl.subscript = arrayMaxSize; //parameterDecl.offset - // TODO: Disabling the propogation for now. WINRM and WMIDCOM behavior is different + // TODO: Disabling the propagation for now. WINRM and WMIDCOM behavior is different //Now check if we already inheriting the parameter from the parent for (actualParameterIndex = 0; actualParameterIndex < (*methodLocation)->numParameters; actualParameterIndex++) @@ -3056,7 +3056,7 @@ MI_Result Class_AddMethodParameter( int i; for(i =0 ;i != previousParameterLocation->numQualifiers; i++) { - if(CanQualifierBePropogated(previousParameterLocation->qualifiers[i]) ) + if(CanQualifierBePropagated(previousParameterLocation->qualifiers[i]) ) { (*parameterLocation)->qualifiers[(*parameterLocation)->numQualifiers] = previousParameterLocation->qualifiers[i]; (*parameterLocation)->numQualifiers++; @@ -3071,7 +3071,7 @@ MI_Result Class_AddMethodParameter( (*methodLocation)->returnType = type; } - //Successfully added method parameter so update proeprty count + //Successfully added method parameter so update property count *parameterId = actualParameterIndex; if(actualParameterIndex >= (*methodLocation)->numParameters) { @@ -3165,7 +3165,7 @@ static MI_Result _AddMethodParameterQualifier( { qualifier.value = &value; } - // TODO: Disabling the propogation for now. WINRM and WMIDCOM behavior is different + // TODO: Disabling the propagation for now. WINRM and WMIDCOM behavior is different //Now check if we already inheriting the qualifier from the parent for (actualQualifierIndex = 0; actualQualifierIndex < (*parameterLocation)->numQualifiers; actualQualifierIndex++) diff --git a/Unix/base/class.h b/Unix/base/class.h index 491300455..5fadda032 100644 --- a/Unix/base/class.h +++ b/Unix/base/class.h @@ -223,9 +223,9 @@ MI_EXTERN_C MI_Result ClassConstructor_New( _In_opt_z_ const MI_Char *namespaceName, /* Not needed if parentClass is passed in */ _In_opt_z_ const MI_Char *serverName, /* Not needed if parentClass is passed in */ _In_z_ const MI_Char *className, - MI_Uint32 numberClassQualifiers, /* number of extra class qualifiers you want to create. Allowes us to pre-create array of correct size */ - MI_Uint32 numberProperties, /* number of extra properties you want to create. Allowes us to pre-create array of correct size */ - MI_Uint32 numberMethods, /* number of extra methods you want to create. Allowes us to pre-create array of correct size */ + MI_Uint32 numberClassQualifiers, /* number of extra class qualifiers you want to create. Allows us to pre-create array of correct size */ + MI_Uint32 numberProperties, /* number of extra properties you want to create. Allows us to pre-create array of correct size */ + MI_Uint32 numberMethods, /* number of extra methods you want to create. Allows us to pre-create array of correct size */ _Out_ MI_Class **newClass /* Object that is ready to receive new qualifiers/properties/methods */ ); @@ -239,7 +239,7 @@ MI_EXTERN_C MI_Result Class_AddClassQualifier( MI_Value value, /* Value of qualifier */ MI_Uint32 flavors); /* Flavor of qualifier */ - /* Array verion of Class_AddClassQualifier. Pass in how many items there are and it returns a qualifier index to be used to add each + /* Array version of Class_AddClassQualifier. Pass in how many items there are and it returns a qualifier index to be used to add each * item in tern. */ MI_EXTERN_C MI_Result Class_AddClassQualifierArray( diff --git a/Unix/base/credcache.c b/Unix/base/credcache.c index 15c5ea522..07ddfaaff 100644 --- a/Unix/base/credcache.c +++ b/Unix/base/credcache.c @@ -127,8 +127,8 @@ static void _Hash( /* Find position to add/update user: if user is already in cache, it returns this position, - otherwise if empty item available - retunrs it, - otherwise retunrs oldest element */ + otherwise if empty item available - returns it, + otherwise returns oldest element */ static int _FindUserEmptyOldest( const char* user) { @@ -148,7 +148,7 @@ static int _FindUserEmptyOldest( } else if (-1 == posEmpty) { - /* Is it oldest with no epmty? */ + /* Is it oldest with no empty? */ if (timestampOldest > s_cache[pos].timestamp) { timestampOldest = s_cache[pos].timestamp; @@ -165,7 +165,7 @@ static int _FindUserEmptyOldest( /* Find position with given user: Returns: - user posiiton if found; -1 otherwise + user position if found; -1 otherwise */ static int _Find( const char* user) @@ -231,7 +231,7 @@ int CredCache_CheckUser(const char* user, const char* password) if (!s_init) return -1; - /* Does user exisit in cache */ + /* Does user exist in cache */ if (-1 == (pos = _Find(user))) return -1; @@ -273,7 +273,7 @@ void CredCache_Clean() /* Generates crypto-suitable random data Parameters: - buf - bufer for random data + buf - buffer for random data size - number of bytes to generate Returns: diff --git a/Unix/base/credcache.h b/Unix/base/credcache.h index 90daa6943..bb9e0f3c9 100644 --- a/Unix/base/credcache.h +++ b/Unix/base/credcache.h @@ -40,7 +40,7 @@ void CredCache_Clean(); /* Generates crypto-suitable random data Parameters: - buf - bufer for random data + buf - buffer for random data size - number of bytes to generate Returns: diff --git a/Unix/base/helpers.c b/Unix/base/helpers.c index 6a7205742..ba98d5714 100644 --- a/Unix/base/helpers.c +++ b/Unix/base/helpers.c @@ -473,9 +473,9 @@ void FormatWSManDatetime(const MI_Datetime* x, ZChar buffer[64]) ZChar tmpbuf[64]; /* As per section 8.2 in DSP0230_1.1.0 date (year, month, day) containing all zero's is considered valida date. - Time containing all zeros is also considred as valid time. + Time containing all zeros is also considered as valid time. - MI_Datetime cannot store asterics ('*') as part of date or time. + MI_Datetime cannot store asterisks ('*') as part of date or time. So with MI_Datetime we will never get into case of not having time or date */ Stprintf(tmpbuf, MI_COUNT(tmpbuf), ZT("%04u-%02u-%02u"), x->u.timestamp.year, diff --git a/Unix/base/instance.c b/Unix/base/instance.c index 12adc69f4..8f4ec2511 100644 --- a/Unix/base/instance.c +++ b/Unix/base/instance.c @@ -382,7 +382,7 @@ static void _FreeInstance( /* * Each dynamic instance is 'wrapped' inside another instance (referred to - * by the self field). This requiredment is imposed by the + * by the self field). This requirement is imposed by the * MI_Instance_AddElement() function, which does not allow the address of * the instance to change. Hence, indirection is required to allow the inner * instance to be relocated in memory as new properties are added. The @@ -1686,7 +1686,7 @@ MI_Result MI_CALL __MI_Instance_AddElement( { MI_PropertyDecl* pd; - /* Allocate new peroperty declaration */ + /* Allocate new property declaration */ pd = (MI_PropertyDecl*)BCalloc( self->batch, sizeof(MI_PropertyDecl), CALLSITE); diff --git a/Unix/base/logbase.h b/Unix/base/logbase.h index 24756de4e..d721ee45f 100644 --- a/Unix/base/logbase.h +++ b/Unix/base/logbase.h @@ -203,7 +203,7 @@ void __Logd(const ZChar* format, ...); void __Logv(const ZChar* format, ...); /* - * This funtion appears as the false condition expression in the macros + * This function appears as the false condition expression in the macros * below. It suppresses the Windows 'conditional expression is constant' * warning without the use of pragmas (which cannot be used in macros). */ diff --git a/Unix/base/messages.c b/Unix/base/messages.c index ff05f75c8..562d13cc0 100644 --- a/Unix/base/messages.c +++ b/Unix/base/messages.c @@ -394,7 +394,7 @@ void __Message_AddRef( /* Decrements message's ref-counter and destroys - mesage if last reference was released + message if last reference was released Parameters: self - message to decref/release */ diff --git a/Unix/base/messages.h b/Unix/base/messages.h index 3490c8933..9267cb760 100644 --- a/Unix/base/messages.h +++ b/Unix/base/messages.h @@ -225,7 +225,7 @@ void __Message_AddRef( CallSite cs); /* - Verifies if message is final reposne to the initial request + Verifies if message is final response to the initial request */ MI_INLINE MI_Boolean Message_IsFinalResponse( const Message* msg) @@ -1149,7 +1149,7 @@ void NoOpRsp_Print(const NoOpRsp* msg, FILE* os); ** ** BinProtocolNotification ** -** A internal notification transfered over bin protocol. +** A internal notification transferred over bin protocol. ** **============================================================================== */ @@ -1287,7 +1287,7 @@ typedef struct _HttpHeader HttpHeader; #endif -/* Headers strucutre is creaetd provided by http module +/* Headers structure is created provided by http module and has several pre-parsed values from http headers */ typedef struct _HttpHeaders { diff --git a/Unix/base/multiplex.c b/Unix/base/multiplex.c index 9123db23c..ec46f5dd0 100644 --- a/Unix/base/multiplex.c +++ b/Unix/base/multiplex.c @@ -289,7 +289,7 @@ void _ConnectionIn_EntryDeleted( _In_ StrandMany* self ) Behavior: - Post checks if the message is a cancel, and if it is then finds the - corresponing operation by searching the built-in hash map by operationId + corresponding operation by searching the built-in hash map by operationId then it sends a Interaction Interface cancel directly to the operation. If the message is NOT a cancel then it search the operation in the built-in hash map by operationId and then 2 things can happen: @@ -309,7 +309,7 @@ void _ConnectionIn_EntryDeleted( _In_ StrandMany* self ) once the interaction is closed on both sides and there are no entries the object is auto-deleted. - Unique features and special Behavour: + Unique features and special Behaviour: - _ConnectionIn_EntryDeleted is executed once an entry is deleted, that is to address the case where when the connection was closed not all entries were deleted yet and therefore it needs to be finally closed diff --git a/Unix/base/multiplex.h b/Unix/base/multiplex.h index 78ea99efb..f8dd3b487 100644 --- a/Unix/base/multiplex.h +++ b/Unix/base/multiplex.h @@ -57,7 +57,7 @@ MI_Result MuxIn_Init( } // Called to handle the opening of a new connection -// (and correspondinly opening new Interaction Interface) +// (and correspondingly opening new Interaction Interface) void MuxIn_Open( _Inout_ InteractionOpenParams* params ); #endif /* _omi_multiplex_h */ diff --git a/Unix/base/oi_traces.h b/Unix/base/oi_traces.h index b04f1b885..338c85729 100644 --- a/Unix/base/oi_traces.h +++ b/Unix/base/oi_traces.h @@ -132,9 +132,9 @@ OI_EVENT("MuxIn_Open: cannot allocate ConnectionIn") void trace_MuxInOpen_AllocFailed(); OI_EVENT("_StrandEntryOperation_Add: Canceled %d entries %p(%s): %p(%s)") -void trace_StrandEntryOperation_AddCanceled(unsigned int numEntries, StrandMany * self, const char * selfTrand, Strand * entry, const char * entryStrandName); +void trace_StrandEntryOperation_AddCanceled(unsigned int numEntries, StrandMany * self, const char * selfStrand, Strand * entry, const char * entryStrandName); OI_EVENT("_StrandEntryOperation_Add: Failed %d entries %p(%s): %p(%s)") -void trace_StrandEntryOperation_AddFailed(unsigned int numEntries, StrandMany * self, const char * selfTrand, Strand * entry, const char * entryStrandName); +void trace_StrandEntryOperation_AddFailed(unsigned int numEntries, StrandMany * self, const char * selfStrand, Strand * entry, const char * entryStrandName); OI_EVENT("Strand %p(%s), cannot delete entry %p(%s)") void trace_Strand_CannotDelete(Strand * selfStrand, const char * selfStrandName, Strand * entryStrand, const char * entryStrandName); OI_EVENT("_Strand_Schedule: %p(%s) FAILED Taking over opening, state %x(%s), methodBit: %x") @@ -369,7 +369,7 @@ OI_EVENT("Out of memory error, session %p") void trace_MI_OutOfMemoryInSession(void * session); OI_EVENT("InteractionProtocolHandler_Session_Connect failed, session %p, result %d") void trace_MI_SessionConnectFailed(void * session, MI_Result miResult); -OI_EVENT("InstantchToBatch failed in MI session, session %p, result %d") +OI_EVENT("InstanceToBatch failed in MI session, session %p, result %d") void trace_MI_InstanceToBatch_Failed(void * session, MI_Result miResult); OI_EVENT("(%c)Socket connect failed, locator %s") @@ -615,13 +615,13 @@ void trace_InstanceConversionFailed(const TChar * name, MI_Result r); OI_EVENT("invalid query expression: %T") void trace_InvalidQueryExpression(const TChar * filter); OI_EVENT("library unload did not call post result") -void trace_LibraryUnload_DidnotPostResult(); +void trace_LibraryUnload_DidNotPostResult(); OI_EVENT("module load failed to call post result") void trace_ModuleLoad_FailedPostResult(); OI_EVENT("no digest available") void trace_NoDigestAvailable(); OI_EVENT("provider load did not call post result") -void trace_ProviderLoad_DidnotPostResult(); +void trace_ProviderLoad_DidNotPostResult(); OI_EVENT("query validation failed: %T") void trace_QueryValidationFailed(const TChar * text); OI_EVENT("query/enumeration class name mismatch: %T/%T") @@ -1105,7 +1105,7 @@ void trace_DispHandleInteractionRequest(void * self, Interaction * interaction, OI_EVENT("Disp_HandleInteractionRequest: self (%p), interaction(%p), Unsupported msg(%p:%d:%T:%x)") void trace_DispUnsupportedMessage(void * self, Interaction * interaction, Message * msg, MI_Uint32 msgTag, const TChar * messageName, MI_Uint64 operationId); OI_EVENT("Disp_HandleRequest") -void trace_DispHandlRequest(); +void trace_DispHandleRequest(); OI_EVENT("HttpSocket: Posting message for interaction [%p]<-%p") void trace_HttpSocketPosting(Interaction * interaction, Interaction * other); @@ -1415,7 +1415,7 @@ void trace_InitIndicationWithNullInput(); OI_EVENT("Multiple indication initialization of provider for class %T") void trace_MultipleIndication_InitOfProviderForClass(const TChar * className); -OI_EVENT("_Provider_InvokeSubscribe: Start Thread %x: provider (%p), msg (%p) with tag (%d), subcription (%p)") +OI_EVENT("_Provider_InvokeSubscribe: Start Thread %x: provider (%p), msg (%p) with tag (%d), subscription (%p)") void trace_ProviderInvokeSubscribe_Begin(unsigned int threadid, void * provider, void * message, MI_Uint32 tag, void* subs); OI_EVENT("_Provider_InvokeSubscribe: Complete Thread %x: provider (%p), result (%d)") void trace_ProviderInvokeSubscribe_End(unsigned int threadid, void * provider, MI_Result result); @@ -1503,7 +1503,7 @@ void trace_ProcessSubscribeResponseEnumerationContext(void * selfEC); OI_EVENT("_ProcessSubscribeResponseEnumerationContext: selfEC (%p) sent success subscribe response") void trace_ProcessSubscribeResponseEnumerationContext_Success(void * selfEC); -OI_EVENT("WsmanEnum: %p _ProcessInstanceEnumerationContext: compeleted: %d, totalResponses: %d, totalResponseSize: %d") +OI_EVENT("WsmanEnum: %p _ProcessInstanceEnumerationContext: completed: %d, totalResponses: %d, totalResponseSize: %d") void trace_WsmanEnum(void * self, MI_Boolean expired, MI_Uint32 totalResp, MI_Uint32 totalRespSize); OI_EVENT("WsmanConnection: Posting msg(%p:%d:%T:%x) on interaction %p<-[%p]<-%p") void trace_WsmanConnection_PostingMsg(Message * message, MI_Uint32 tag, const TChar * messageName, MI_Uint64 operationId, Interaction * left, Strand * self, Interaction * right); @@ -1721,7 +1721,7 @@ void trace_MIClient_EnumerateInstance(void * session, void * operation, void * o OI_EVENT("MI_Client Operation Query Instances: session=%p, operation=%p, internal-operation=%p, namespace=%T, queryDialect=%T, queryExpression=%T") void trace_MIClient_QueryInstances(void * session, void * operation, void * operationObject, const MI_Char * namespaceName, const MI_Char * queryDialect, const MI_Char * queryExpression); OI_EVENT("MI_Client Operation Instance Result (sync): session=%p, operation=%p, internal-operation=%p, resultCode=%u, moreResults=%T") -void trace_MIClient_OperationInstancResultSync(void * session, void * operation, void * internalOperation, MI_Result code, const MI_Char * moreResults); +void trace_MIClient_OperationInstanceResultSync(void * session, void * operation, void * internalOperation, MI_Result code, const MI_Char * moreResults); OI_EVENT("MI_Client Operation Indication Result (sync): session=%p, operation=%p, internal-operation=%p, resultCode=%u, moreResults=%T") void trace_MIClient_IndicationResultSync(void * session, void * operation, void * internalOperation, MI_Result code, const MI_Char * moreResults); OI_EVENT("MI_Client Operation Class Result (sync): session=%p, operation=%p, internal-operation=%p, resultCode=%u, moreResults=%T") @@ -1834,9 +1834,9 @@ void trace_TrackerHashMapRemove(int socket); OI_EVENT("Tracker hash map found (%p, %d)") void trace_TrackerHashMapFind(void* handle, int socket); OI_EVENT("Engine: Client Credentials Verified (%p)") -void trace_ClientCredentialsVerfied(void* handle); +void trace_ClientCredentialsVerified(void* handle); OI_EVENT("Client: Client Credentials Verified") -void trace_ClientCredentialsVerfied2(); +void trace_ClientCredentialsVerified2(); OI_EVENT("(%c)Handle:(%p), ClientAuthState = %d, EngineAuthState = %d") void trace_AuthStates(char type, void* handle, int client, int engine); OI_EVENT("Asking Server to PAM authenticate") @@ -1898,7 +1898,7 @@ void trace_HTTP_GssFunctionNotPresent(const char * msg); OI_EVENT("HTTP: Authorization Malloc Failed:(%s)") void trace_HTTP_AuthMallocFailed(const char * msg); -OI_EVENT("HTTP: Http_Encrypt/Decrpyt invalid arg:(%s %s)") +OI_EVENT("HTTP: Http_Encrypt/Decrypt invalid arg:(%s %s)") void trace_HTTP_CryptInvalidArg(const char * location, const char * msg); OI_EVENT("HTTP: User Authorization failed. (%s)") @@ -1919,8 +1919,8 @@ void trace_HTTP_SendNextAuthReply(); OI_EVENT("HTTP Auth: Input Token Invalid.") void trace_HTTP_InvalidAuthToken(); -OI_EVENT("HTTP Auth: SupplimentaryInfo: (%s).") -void trace_HTTP_SupplimentaryInfo(const char * msg); +OI_EVENT("HTTP Auth: SupplementaryInfo: (%s).") +void trace_HTTP_SupplementaryInfo(const char * msg); OI_EVENT("HTTP Auth: Cannot build response.") void trace_HTTP_CannotBuildAuthResponse(); @@ -2020,13 +2020,13 @@ void trace_SubMgrSubscription_ReleasePostLock(unsigned int threadid, void * self OI_EVENT("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p), operation type (%T) started") void trace_SubscriptionManager_AcquireEnableLock_Start(unsigned int threadid, void * self, const TChar * optype); -OI_EVENT("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p), agggregation context terminated, acquire lock failed") +OI_EVENT("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p), aggregation context terminated, acquire lock failed") void trace_SubscriptionManager_AcquireEnableLock_AlreadyTerminated(unsigned int threadid, void * self); OI_EVENT("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p); ignore disable call since there are still active subscriptions") void trace_SubscriptionManager_AcquireEnableLock_IgnoreDisableCall(unsigned int threadid, void * self); OI_EVENT("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p); cancel all subscriptions") void trace_SubscriptionManager_AcquireEnableLock_CancelAll(unsigned int threadid, void * self); -OI_EVENT("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p); aggregation context active, found new subsription(s), release lock") +OI_EVENT("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p); aggregation context active, found new subscription(s), release lock") void trace_SubscriptionManager_AcquireEnableLock_ReleaseLock(unsigned int threadid, void * self); OI_EVENT("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p), operation type (%T), acquired enablelock") void trace_SubscriptionManager_AcquireEnableLock_Complete(unsigned int threadid, void * self, const TChar * optype); diff --git a/Unix/base/oiomi.h b/Unix/base/oiomi.h index 8e30f2137..50d5ea046 100644 --- a/Unix/base/oiomi.h +++ b/Unix/base/oiomi.h @@ -945,7 +945,7 @@ FILE_EVENT2(20122, trace_MI_SessionConnectFailed_Impl, LOG_ERR, PAL_T("Interacti #else #define trace_MI_InstanceToBatch_Failed(a0, a1) trace_MI_InstanceToBatch_Failed_Impl(0, 0, a0, a1) #endif -FILE_EVENT2(20123, trace_MI_InstanceToBatch_Failed_Impl, LOG_ERR, PAL_T("InstantchToBatch failed in MI session, session %p, result %d"), void *, MI_Result) +FILE_EVENT2(20123, trace_MI_InstanceToBatch_Failed_Impl, LOG_ERR, PAL_T("InstanceToBatch failed in MI session, session %p, result %d"), void *, MI_Result) #if defined(CONFIG_ENABLE_DEBUG) #define trace_SocketConnectorFailed(a0, a1) trace_SocketConnectorFailed_Impl(__FILE__, __LINE__, a0, scs(a1)) #else @@ -1637,11 +1637,11 @@ FILE_EVENT2(30080, trace_InstanceConversionFailed_Impl, LOG_WARNING, PAL_T("inst #endif FILE_EVENT1(30081, trace_InvalidQueryExpression_Impl, LOG_WARNING, PAL_T("invalid query expression: %T"), const TChar *) #if defined(CONFIG_ENABLE_DEBUG) -#define trace_LibraryUnload_DidnotPostResult() trace_LibraryUnload_DidnotPostResult_Impl(__FILE__, __LINE__) +#define trace_LibraryUnload_DidNotPostResult() trace_LibraryUnload_DidNotPostResult_Impl(__FILE__, __LINE__) #else -#define trace_LibraryUnload_DidnotPostResult() trace_LibraryUnload_DidnotPostResult_Impl(0, 0) +#define trace_LibraryUnload_DidNotPostResult() trace_LibraryUnload_DidNotPostResult_Impl(0, 0) #endif -FILE_EVENT0(30082, trace_LibraryUnload_DidnotPostResult_Impl, LOG_WARNING, PAL_T("library unload did not call post result")) +FILE_EVENT0(30082, trace_LibraryUnload_DidNotPostResult_Impl, LOG_WARNING, PAL_T("library unload did not call post result")) #if defined(CONFIG_ENABLE_DEBUG) #define trace_ModuleLoad_FailedPostResult() trace_ModuleLoad_FailedPostResult_Impl(__FILE__, __LINE__) #else @@ -1655,11 +1655,11 @@ FILE_EVENT0(30083, trace_ModuleLoad_FailedPostResult_Impl, LOG_WARNING, PAL_T("m #endif FILE_EVENT0(30084, trace_NoDigestAvailable_Impl, LOG_WARNING, PAL_T("no digest available")) #if defined(CONFIG_ENABLE_DEBUG) -#define trace_ProviderLoad_DidnotPostResult() trace_ProviderLoad_DidnotPostResult_Impl(__FILE__, __LINE__) +#define trace_ProviderLoad_DidNotPostResult() trace_ProviderLoad_DidNotPostResult_Impl(__FILE__, __LINE__) #else -#define trace_ProviderLoad_DidnotPostResult() trace_ProviderLoad_DidnotPostResult_Impl(0, 0) +#define trace_ProviderLoad_DidNotPostResult() trace_ProviderLoad_DidNotPostResult_Impl(0, 0) #endif -FILE_EVENT0(30085, trace_ProviderLoad_DidnotPostResult_Impl, LOG_WARNING, PAL_T("provider load did not call post result")) +FILE_EVENT0(30085, trace_ProviderLoad_DidNotPostResult_Impl, LOG_WARNING, PAL_T("provider load did not call post result")) #if defined(CONFIG_ENABLE_DEBUG) #define trace_QueryValidationFailed(a0) trace_QueryValidationFailed_Impl(__FILE__, __LINE__, tcs(a0)) #else @@ -2963,11 +2963,11 @@ FILE_EVENT6(45031, trace_DispHandleInteractionRequest_Impl, LOG_DEBUG, PAL_T("Di #endif FILE_EVENT6(45032, trace_DispUnsupportedMessage_Impl, LOG_DEBUG, PAL_T("Disp_HandleInteractionRequest: self (%p), interaction(%p), Unsupported msg(%p:%d:%T:%x)"), void *, Interaction *, Message *, MI_Uint32, const TChar *, MI_Uint64) #if defined(CONFIG_ENABLE_DEBUG) -#define trace_DispHandlRequest() trace_DispHandlRequest_Impl(__FILE__, __LINE__) +#define trace_DispHandleRequest() trace_DispHandleRequest_Impl(__FILE__, __LINE__) #else -#define trace_DispHandlRequest() trace_DispHandlRequest_Impl(0, 0) +#define trace_DispHandleRequest() trace_DispHandleRequest_Impl(0, 0) #endif -FILE_EVENT0(45033, trace_DispHandlRequest_Impl, LOG_DEBUG, PAL_T("Disp_HandleRequest")) +FILE_EVENT0(45033, trace_DispHandleRequest_Impl, LOG_DEBUG, PAL_T("Disp_HandleRequest")) #if defined(CONFIG_ENABLE_DEBUG) #define trace_HttpSocketPosting(a0, a1) trace_HttpSocketPosting_Impl(__FILE__, __LINE__, a0, a1) #else @@ -3825,7 +3825,7 @@ FILE_EVENT1(45175, trace_MultipleIndication_InitOfProviderForClass_Impl, LOG_DEB #else #define trace_ProviderInvokeSubscribe_Begin(a0, a1, a2, a3, a4) trace_ProviderInvokeSubscribe_Begin_Impl(0, 0, a0, a1, a2, a3, a4) #endif -FILE_EVENT5(45176, trace_ProviderInvokeSubscribe_Begin_Impl, LOG_DEBUG, PAL_T("_Provider_InvokeSubscribe: Start Thread %x: provider (%p), msg (%p) with tag (%d), subcription (%p)"), unsigned int, void *, void *, MI_Uint32, void*) +FILE_EVENT5(45176, trace_ProviderInvokeSubscribe_Begin_Impl, LOG_DEBUG, PAL_T("_Provider_InvokeSubscribe: Start Thread %x: provider (%p), msg (%p) with tag (%d), subscription (%p)"), unsigned int, void *, void *, MI_Uint32, void*) #if defined(CONFIG_ENABLE_DEBUG) #define trace_ProviderInvokeSubscribe_End(a0, a1, a2) trace_ProviderInvokeSubscribe_End_Impl(__FILE__, __LINE__, a0, a1, a2) #else @@ -4065,7 +4065,7 @@ FILE_EVENT1(45215, trace_ProcessSubscribeResponseEnumerationContext_Success_Impl #else #define trace_WsmanEnum(a0, a1, a2, a3) trace_WsmanEnum_Impl(0, 0, a0, a1, a2, a3) #endif -FILE_EVENT4(45216, trace_WsmanEnum_Impl, LOG_DEBUG, PAL_T("WsmanEnum: %p _ProcessInstanceEnumerationContext: compeleted: %d, totalResponses: %d, totalResponseSize: %d"), void *, MI_Boolean, MI_Uint32, MI_Uint32) +FILE_EVENT4(45216, trace_WsmanEnum_Impl, LOG_DEBUG, PAL_T("WsmanEnum: %p _ProcessInstanceEnumerationContext: completed: %d, totalResponses: %d, totalResponseSize: %d"), void *, MI_Boolean, MI_Uint32, MI_Uint32) #if defined(CONFIG_ENABLE_DEBUG) #define trace_WsmanConnection_PostingMsg(a0, a1, a2, a3, a4, a5, a6) trace_WsmanConnection_PostingMsg_Impl(__FILE__, __LINE__, a0, a1, tcs(a2), a3, a4, a5, a6) #else @@ -4679,11 +4679,11 @@ FILE_EVENT5(45317, trace_MIClient_EnumerateInstance_Impl, LOG_DEBUG, PAL_T("MI_C #endif FILE_EVENT6(45318, trace_MIClient_QueryInstances_Impl, LOG_DEBUG, PAL_T("MI_Client Operation Query Instances: session=%p, operation=%p, internal-operation=%p, namespace=%T, queryDialect=%T, queryExpression=%T"), void *, void *, void *, const MI_Char *, const MI_Char *, const MI_Char *) #if defined(CONFIG_ENABLE_DEBUG) -#define trace_MIClient_OperationInstancResultSync(a0, a1, a2, a3, a4) trace_MIClient_OperationInstancResultSync_Impl(__FILE__, __LINE__, a0, a1, a2, a3, tcs(a4)) +#define trace_MIClient_OperationInstanceResultSync(a0, a1, a2, a3, a4) trace_MIClient_OperationInstanceResultSync_Impl(__FILE__, __LINE__, a0, a1, a2, a3, tcs(a4)) #else -#define trace_MIClient_OperationInstancResultSync(a0, a1, a2, a3, a4) trace_MIClient_OperationInstancResultSync_Impl(0, 0, a0, a1, a2, a3, tcs(a4)) +#define trace_MIClient_OperationInstanceResultSync(a0, a1, a2, a3, a4) trace_MIClient_OperationInstanceResultSync_Impl(0, 0, a0, a1, a2, a3, tcs(a4)) #endif -FILE_EVENT5(45319, trace_MIClient_OperationInstancResultSync_Impl, LOG_DEBUG, PAL_T("MI_Client Operation Instance Result (sync): session=%p, operation=%p, internal-operation=%p, resultCode=%u, moreResults=%T"), void *, void *, void *, MI_Result, const MI_Char *) +FILE_EVENT5(45319, trace_MIClient_OperationInstanceResultSync_Impl, LOG_DEBUG, PAL_T("MI_Client Operation Instance Result (sync): session=%p, operation=%p, internal-operation=%p, resultCode=%u, moreResults=%T"), void *, void *, void *, MI_Result, const MI_Char *) #if defined(CONFIG_ENABLE_DEBUG) #define trace_MIClient_IndicationResultSync(a0, a1, a2, a3, a4) trace_MIClient_IndicationResultSync_Impl(__FILE__, __LINE__, a0, a1, a2, a3, tcs(a4)) #else @@ -4991,17 +4991,17 @@ FILE_EVENT1(45369, trace_TrackerHashMapRemove_Impl, LOG_DEBUG, PAL_T("Tracker ha #endif FILE_EVENT2(45370, trace_TrackerHashMapFind_Impl, LOG_DEBUG, PAL_T("Tracker hash map found (%p, %d)"), void*, int) #if defined(CONFIG_ENABLE_DEBUG) -#define trace_ClientCredentialsVerfied(a0) trace_ClientCredentialsVerfied_Impl(__FILE__, __LINE__, a0) +#define trace_ClientCredentialsVerified(a0) trace_ClientCredentialsVerified_Impl(__FILE__, __LINE__, a0) #else -#define trace_ClientCredentialsVerfied(a0) trace_ClientCredentialsVerfied_Impl(0, 0, a0) +#define trace_ClientCredentialsVerified(a0) trace_ClientCredentialsVerified_Impl(0, 0, a0) #endif -FILE_EVENT1(45371, trace_ClientCredentialsVerfied_Impl, LOG_DEBUG, PAL_T("Engine: Client Credentials Verified (%p)"), void*) +FILE_EVENT1(45371, trace_ClientCredentialsVerified_Impl, LOG_DEBUG, PAL_T("Engine: Client Credentials Verified (%p)"), void*) #if defined(CONFIG_ENABLE_DEBUG) -#define trace_ClientCredentialsVerfied2() trace_ClientCredentialsVerfied2_Impl(__FILE__, __LINE__) +#define trace_ClientCredentialsVerified2() trace_ClientCredentialsVerified2_Impl(__FILE__, __LINE__) #else -#define trace_ClientCredentialsVerfied2() trace_ClientCredentialsVerfied2_Impl(0, 0) +#define trace_ClientCredentialsVerified2() trace_ClientCredentialsVerified2_Impl(0, 0) #endif -FILE_EVENT0(45372, trace_ClientCredentialsVerfied2_Impl, LOG_DEBUG, PAL_T("Client: Client Credentials Verified")) +FILE_EVENT0(45372, trace_ClientCredentialsVerified2_Impl, LOG_DEBUG, PAL_T("Client: Client Credentials Verified")) #if defined(CONFIG_ENABLE_DEBUG) #define trace_AuthStates(a0, a1, a2, a3) trace_AuthStates_Impl(__FILE__, __LINE__, a0, a1, a2, a3) #else @@ -5145,7 +5145,7 @@ FILE_EVENT1(50007, trace_HTTP_AuthMallocFailed_Impl, LOG_DEBUG, PAL_T("HTTP: Aut #else #define trace_HTTP_CryptInvalidArg(a0, a1) trace_HTTP_CryptInvalidArg_Impl(0, 0, scs(a0), scs(a1)) #endif -FILE_EVENT2(50008, trace_HTTP_CryptInvalidArg_Impl, LOG_DEBUG, PAL_T("HTTP: Http_Encrypt/Decrpyt invalid arg:(%s %s)"), const char *, const char *) +FILE_EVENT2(50008, trace_HTTP_CryptInvalidArg_Impl, LOG_DEBUG, PAL_T("HTTP: Http_Encrypt/Decrypt invalid arg:(%s %s)"), const char *, const char *) #if defined(CONFIG_ENABLE_DEBUG) #define trace_HTTP_UserAuthFailed(a0) trace_HTTP_UserAuthFailed_Impl(__FILE__, __LINE__, scs(a0)) #else @@ -5183,11 +5183,11 @@ FILE_EVENT0(50013, trace_HTTP_SendNextAuthReply_Impl, LOG_DEBUG, PAL_T("HTTP: Se #endif FILE_EVENT0(50014, trace_HTTP_InvalidAuthToken_Impl, LOG_DEBUG, PAL_T("HTTP Auth: Input Token Invalid.")) #if defined(CONFIG_ENABLE_DEBUG) -#define trace_HTTP_SupplimentaryInfo(a0) trace_HTTP_SupplimentaryInfo_Impl(__FILE__, __LINE__, scs(a0)) +#define trace_HTTP_SupplementaryInfo(a0) trace_HTTP_SupplementaryInfo_Impl(__FILE__, __LINE__, scs(a0)) #else -#define trace_HTTP_SupplimentaryInfo(a0) trace_HTTP_SupplimentaryInfo_Impl(0, 0, scs(a0)) +#define trace_HTTP_SupplementaryInfo(a0) trace_HTTP_SupplementaryInfo_Impl(0, 0, scs(a0)) #endif -FILE_EVENT1(50015, trace_HTTP_SupplimentaryInfo_Impl, LOG_DEBUG, PAL_T("HTTP Auth: SupplimentaryInfo: (%s)."), const char *) +FILE_EVENT1(50015, trace_HTTP_SupplementaryInfo_Impl, LOG_DEBUG, PAL_T("HTTP Auth: SupplementaryInfo: (%s)."), const char *) #if defined(CONFIG_ENABLE_DEBUG) #define trace_HTTP_CannotBuildAuthResponse() trace_HTTP_CannotBuildAuthResponse_Impl(__FILE__, __LINE__) #else @@ -5457,7 +5457,7 @@ FILE_EVENTD3(55040, trace_SubscriptionManager_AcquireEnableLock_Start_Impl, LOG_ #else #define trace_SubscriptionManager_AcquireEnableLock_AlreadyTerminated(a0, a1) trace_SubscriptionManager_AcquireEnableLock_AlreadyTerminated_Impl(0, 0, a0, a1) #endif -FILE_EVENTD2(55041, trace_SubscriptionManager_AcquireEnableLock_AlreadyTerminated_Impl, LOG_VERBOSE, PAL_T("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p), agggregation context terminated, acquire lock failed"), unsigned int, void *) +FILE_EVENTD2(55041, trace_SubscriptionManager_AcquireEnableLock_AlreadyTerminated_Impl, LOG_VERBOSE, PAL_T("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p), aggregation context terminated, acquire lock failed"), unsigned int, void *) #if defined(CONFIG_ENABLE_DEBUG) #define trace_SubscriptionManager_AcquireEnableLock_IgnoreDisableCall(a0, a1) trace_SubscriptionManager_AcquireEnableLock_IgnoreDisableCall_Impl(__FILE__, __LINE__, a0, a1) #else @@ -5475,7 +5475,7 @@ FILE_EVENTD2(55043, trace_SubscriptionManager_AcquireEnableLock_CancelAll_Impl, #else #define trace_SubscriptionManager_AcquireEnableLock_ReleaseLock(a0, a1) trace_SubscriptionManager_AcquireEnableLock_ReleaseLock_Impl(0, 0, a0, a1) #endif -FILE_EVENTD2(55044, trace_SubscriptionManager_AcquireEnableLock_ReleaseLock_Impl, LOG_VERBOSE, PAL_T("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p); aggregation context active, found new subsription(s), release lock"), unsigned int, void *) +FILE_EVENTD2(55044, trace_SubscriptionManager_AcquireEnableLock_ReleaseLock_Impl, LOG_VERBOSE, PAL_T("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p); aggregation context active, found new subscription(s), release lock"), unsigned int, void *) #if defined(CONFIG_ENABLE_DEBUG) #define trace_SubscriptionManager_AcquireEnableLock_Complete(a0, a1, a2) trace_SubscriptionManager_AcquireEnableLock_Complete_Impl(__FILE__, __LINE__, a0, a1, tcs(a2)) #else diff --git a/Unix/base/oiwinomi.h b/Unix/base/oiwinomi.h index b909bbd9b..4a2aa9dfd 100644 --- a/Unix/base/oiwinomi.h +++ b/Unix/base/oiwinomi.h @@ -784,7 +784,7 @@ FILE_EVENT2(20122, trace_MI_SessionConnectFailed_Impl, LOG_ERR, PAL_T("Interacti #else #define trace_MI_InstanceToBatch_Failed(a0, a1) trace_MI_InstanceToBatch_Failed_Impl(0, 0, a0, a1) #endif -FILE_EVENT2(20123, trace_MI_InstanceToBatch_Failed_Impl, LOG_ERR, PAL_T("InstantchToBatch failed in MI session, session %p, result %d"), void *, MI_Result) +FILE_EVENT2(20123, trace_MI_InstanceToBatch_Failed_Impl, LOG_ERR, PAL_T("InstanceToBatch failed in MI session, session %p, result %d"), void *, MI_Result) #if defined(CONFIG_ENABLE_DEBUG) #define trace_SocketConnectorFailed(a0) trace_SocketConnectorFailed_Impl(__FILE__, __LINE__, scs(a0)) #else @@ -1338,11 +1338,11 @@ FILE_EVENT2(30080, trace_InstanceConversionFailed_Impl, LOG_WARNING, PAL_T("inst #endif FILE_EVENT1(30081, trace_InvalidQueryExpression_Impl, LOG_WARNING, PAL_T("invalid query expression: %T"), const TChar *) #if defined(CONFIG_ENABLE_DEBUG) -#define trace_LibraryUnload_DidnotPostResult() trace_LibraryUnload_DidnotPostResult_Impl(__FILE__, __LINE__) +#define trace_LibraryUnload_DidNotPostResult() trace_LibraryUnload_DidNotPostResult_Impl(__FILE__, __LINE__) #else -#define trace_LibraryUnload_DidnotPostResult() trace_LibraryUnload_DidnotPostResult_Impl(0, 0) +#define trace_LibraryUnload_DidNotPostResult() trace_LibraryUnload_DidNotPostResult_Impl(0, 0) #endif -FILE_EVENT0(30082, trace_LibraryUnload_DidnotPostResult_Impl, LOG_WARNING, PAL_T("library unload did not call post result")) +FILE_EVENT0(30082, trace_LibraryUnload_DidNotPostResult_Impl, LOG_WARNING, PAL_T("library unload did not call post result")) #if defined(CONFIG_ENABLE_DEBUG) #define trace_LostConnectionWithAgent(a0) trace_LostConnectionWithAgent_Impl(__FILE__, __LINE__, a0) #else @@ -1362,11 +1362,11 @@ FILE_EVENT0(30084, trace_ModuleLoad_FailedPostResult_Impl, LOG_WARNING, PAL_T("m #endif FILE_EVENT0(30085, trace_NoDigestAvailable_Impl, LOG_WARNING, PAL_T("no digest available")) #if defined(CONFIG_ENABLE_DEBUG) -#define trace_ProviderLoad_DidnotPostResult() trace_ProviderLoad_DidnotPostResult_Impl(__FILE__, __LINE__) +#define trace_ProviderLoad_DidNotPostResult() trace_ProviderLoad_DidNotPostResult_Impl(__FILE__, __LINE__) #else -#define trace_ProviderLoad_DidnotPostResult() trace_ProviderLoad_DidnotPostResult_Impl(0, 0) +#define trace_ProviderLoad_DidNotPostResult() trace_ProviderLoad_DidNotPostResult_Impl(0, 0) #endif -FILE_EVENT0(30086, trace_ProviderLoad_DidnotPostResult_Impl, LOG_WARNING, PAL_T("provider load did not call post result")) +FILE_EVENT0(30086, trace_ProviderLoad_DidNotPostResult_Impl, LOG_WARNING, PAL_T("provider load did not call post result")) #if defined(CONFIG_ENABLE_DEBUG) #define trace_QueryValidationFailed(a0) trace_QueryValidationFailed_Impl(__FILE__, __LINE__, tcs(a0)) #else @@ -2472,11 +2472,11 @@ FILE_EVENTD6(45030, trace_DispHandleInteractionRequest_Impl, LOG_DEBUG, PAL_T("D #endif FILE_EVENTD6(45031, trace_DispUnsupportedMessage_Impl, LOG_DEBUG, PAL_T("Disp_HandleInteractionRequest: self (%p), interaction(%p), Unsupported msg(%p:%d:%T:%x)"), void *, Interaction *, Message *, MI_Uint32, const TChar *, MI_Uint64) #if defined(CONFIG_ENABLE_DEBUG) -#define trace_DispHandlRequest() trace_DispHandlRequest_Impl(__FILE__, __LINE__) +#define trace_DispHandleRequest() trace_DispHandleRequest_Impl(__FILE__, __LINE__) #else -#define trace_DispHandlRequest() trace_DispHandlRequest_Impl(0, 0) +#define trace_DispHandleRequest() trace_DispHandleRequest_Impl(0, 0) #endif -FILE_EVENTD0(45032, trace_DispHandlRequest_Impl, LOG_DEBUG, PAL_T("Disp_HandleRequest")) +FILE_EVENTD0(45032, trace_DispHandleRequest_Impl, LOG_DEBUG, PAL_T("Disp_HandleRequest")) #if defined(CONFIG_ENABLE_DEBUG) #define trace_HttpSocketPosting(a0, a1) trace_HttpSocketPosting_Impl(__FILE__, __LINE__, a0, a1) #else @@ -3334,7 +3334,7 @@ FILE_EVENTD1(45174, trace_MultipleIndication_InitOfProviderForClass_Impl, LOG_DE #else #define trace_ProviderInvokeSubscribe_Begin(a0, a1, a2, a3, a4) trace_ProviderInvokeSubscribe_Begin_Impl(0, 0, a0, a1, a2, a3, a4) #endif -FILE_EVENTD5(45175, trace_ProviderInvokeSubscribe_Begin_Impl, LOG_DEBUG, PAL_T("_Provider_InvokeSubscribe: Start Thread %x: provider (%p), msg (%p) with tag (%d), subcription (%p)"), unsigned int, void *, void *, MI_Uint32, void*) +FILE_EVENTD5(45175, trace_ProviderInvokeSubscribe_Begin_Impl, LOG_DEBUG, PAL_T("_Provider_InvokeSubscribe: Start Thread %x: provider (%p), msg (%p) with tag (%d), subscription (%p)"), unsigned int, void *, void *, MI_Uint32, void*) #if defined(CONFIG_ENABLE_DEBUG) #define trace_ProviderInvokeSubscribe_End(a0, a1, a2) trace_ProviderInvokeSubscribe_End_Impl(__FILE__, __LINE__, a0, a1, a2) #else @@ -3580,7 +3580,7 @@ FILE_EVENTD1(45215, trace_ProcessSubscribeResponseEnumerationContext_Success_Imp #else #define trace_WsmanEnum(a0, a1, a2, a3) trace_WsmanEnum_Impl(0, 0, a0, a1, a2, a3) #endif -FILE_EVENTD4(45216, trace_WsmanEnum_Impl, LOG_DEBUG, PAL_T("WsmanEnum: %p _ProcessInstanceEnumerationContext: compeleted: %d, totalResponses: %d, totalResponseSize: %d"), void *, MI_Boolean, MI_Uint32, MI_Uint32) +FILE_EVENTD4(45216, trace_WsmanEnum_Impl, LOG_DEBUG, PAL_T("WsmanEnum: %p _ProcessInstanceEnumerationContext: completed: %d, totalResponses: %d, totalResponseSize: %d"), void *, MI_Boolean, MI_Uint32, MI_Uint32) #if defined(CONFIG_ENABLE_DEBUG) #define trace_WsmanConnection_PostingMsg(a0, a1, a2, a3, a4, a5, a6) trace_WsmanConnection_PostingMsg_Impl(__FILE__, __LINE__, a0, a1, tcs(a2), a3, a4, a5, a6) #else @@ -4158,11 +4158,11 @@ FILE_EVENTD5(45311, trace_MIClient_EnumerateInstance_Impl, LOG_DEBUG, PAL_T("MI_ #endif FILE_EVENTD6(45312, trace_MIClient_QueryInstances_Impl, LOG_DEBUG, PAL_T("MI_Client Operation Query Instances: session=%p, operation=%p, internal-operation=%p, namespace=%T, queryDialect=%T, queryExpression=%T"), void *, void *, void *, const MI_Char *, const MI_Char *, const MI_Char *) #if defined(CONFIG_ENABLE_DEBUG) -#define trace_MIClient_OperationInstancResultSync(a0, a1, a2, a3, a4) trace_MIClient_OperationInstancResultSync_Impl(__FILE__, __LINE__, a0, a1, a2, a3, tcs(a4)) +#define trace_MIClient_OperationInstanceResultSync(a0, a1, a2, a3, a4) trace_MIClient_OperationInstanceResultSync_Impl(__FILE__, __LINE__, a0, a1, a2, a3, tcs(a4)) #else -#define trace_MIClient_OperationInstancResultSync(a0, a1, a2, a3, a4) trace_MIClient_OperationInstancResultSync_Impl(0, 0, a0, a1, a2, a3, tcs(a4)) +#define trace_MIClient_OperationInstanceResultSync(a0, a1, a2, a3, a4) trace_MIClient_OperationInstanceResultSync_Impl(0, 0, a0, a1, a2, a3, tcs(a4)) #endif -FILE_EVENTD5(45313, trace_MIClient_OperationInstancResultSync_Impl, LOG_DEBUG, PAL_T("MI_Client Operation Instance Result (sync): session=%p, operation=%p, internal-operation=%p, resultCode=%u, moreResults=%T"), void *, void *, void *, MI_Result, const MI_Char *) +FILE_EVENTD5(45313, trace_MIClient_OperationInstanceResultSync_Impl, LOG_DEBUG, PAL_T("MI_Client Operation Instance Result (sync): session=%p, operation=%p, internal-operation=%p, resultCode=%u, moreResults=%T"), void *, void *, void *, MI_Result, const MI_Char *) #if defined(CONFIG_ENABLE_DEBUG) #define trace_MIClient_IndicationResultSync(a0, a1, a2, a3, a4) trace_MIClient_IndicationResultSync_Impl(__FILE__, __LINE__, a0, a1, a2, a3, tcs(a4)) #else @@ -4666,7 +4666,7 @@ FILE_EVENTD3(55040, trace_SubscriptionManager_AcquireEnableLock_Start_Impl, LOG_ #else #define trace_SubscriptionManager_AcquireEnableLock_AlreadyTerminated(a0, a1) trace_SubscriptionManager_AcquireEnableLock_AlreadyTerminated_Impl(0, 0, a0, a1) #endif -FILE_EVENTD2(55041, trace_SubscriptionManager_AcquireEnableLock_AlreadyTerminated_Impl, LOG_VERBOSE, PAL_T("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p), agggregation context terminated, acquire lock failed"), unsigned int, void *) +FILE_EVENTD2(55041, trace_SubscriptionManager_AcquireEnableLock_AlreadyTerminated_Impl, LOG_VERBOSE, PAL_T("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p), aggregation context terminated, acquire lock failed"), unsigned int, void *) #if defined(CONFIG_ENABLE_DEBUG) #define trace_SubscriptionManager_AcquireEnableLock_IgnoreDisableCall(a0, a1) trace_SubscriptionManager_AcquireEnableLock_IgnoreDisableCall_Impl(__FILE__, __LINE__, a0, a1) #else @@ -4684,7 +4684,7 @@ FILE_EVENTD2(55043, trace_SubscriptionManager_AcquireEnableLock_CancelAll_Impl, #else #define trace_SubscriptionManager_AcquireEnableLock_ReleaseLock(a0, a1) trace_SubscriptionManager_AcquireEnableLock_ReleaseLock_Impl(0, 0, a0, a1) #endif -FILE_EVENTD2(55044, trace_SubscriptionManager_AcquireEnableLock_ReleaseLock_Impl, LOG_VERBOSE, PAL_T("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p); aggregation context active, found new subsription(s), release lock"), unsigned int, void *) +FILE_EVENTD2(55044, trace_SubscriptionManager_AcquireEnableLock_ReleaseLock_Impl, LOG_VERBOSE, PAL_T("SubscriptionManager_AcquireEnableLock: Thread %x: SubscriptionManager (%p); aggregation context active, found new subscription(s), release lock"), unsigned int, void *) #if defined(CONFIG_ENABLE_DEBUG) #define trace_SubscriptionManager_AcquireEnableLock_Complete(a0, a1, a2) trace_SubscriptionManager_AcquireEnableLock_Complete_Impl(__FILE__, __LINE__, a0, a1, tcs(a2)) #else diff --git a/Unix/base/packing.c b/Unix/base/packing.c index dce839dfa..df8742383 100644 --- a/Unix/base/packing.c +++ b/Unix/base/packing.c @@ -468,11 +468,11 @@ MI_Result Instance_Pack( pName = ZT("ReturnValue"); } - /* Pack the propety name */ + /* Pack the property name */ MI_RETURN_ERR(Buf_PackStrLen( buf, pName, NameLen(pName, pd->code))); - /* Pack the propety type */ + /* Pack the property type */ MI_RETURN_ERR(Buf_PackU32(buf, pd->type)); /* Pack the value */ @@ -541,13 +541,13 @@ MI_Result Instance_Unpack( MI_Boolean exists; /* ATTN-B: prevent copying of name by Instance_Add */ - /* Unpack the propety type */ + /* Unpack the property type */ MI_RETURN_ERR(Buf_UnpackU32(buf, &prop_flags)); - /* Unpack the propety name */ + /* Unpack the property name */ MI_RETURN_ERR(Buf_UnpackStr(buf, &name)); - /* Unpack the propety type */ + /* Unpack the property type */ MI_RETURN_ERR(Buf_UnpackU32(buf, &type)); /* Unpack the value */ diff --git a/Unix/base/packing.h b/Unix/base/packing.h index f49ce66e4..f5910abd4 100644 --- a/Unix/base/packing.h +++ b/Unix/base/packing.h @@ -47,7 +47,7 @@ MI_Result Instance_Pack( ** ** Parameters: ** self - shall point to a newly allocated instance. -** buf - buffer form whicn instance will be unpacked. +** buf - buffer form which instance will be unpacked. ** batch - if non-null, use this batch to allocate all elements. ** copy - if false, use pointers into batch (otherwise make copy). ** diff --git a/Unix/base/preexec.h b/Unix/base/preexec.h index 08ed39a2d..fc4dfcb7a 100644 --- a/Unix/base/preexec.h +++ b/Unix/base/preexec.h @@ -14,7 +14,7 @@ ** ** The pre-exec feature allows a user-defined program to be executed ** immediately before invoking an out-of-process provider. Providers may -** use this feature by adding the following line in their provdier +** use this feature by adding the following line in their provider ** registration file: ** ** PREEXEC= @@ -80,7 +80,7 @@ ** ** (2) It is the administrators responsibility to be certain that ** the OMI directory tree is secure. For example, the binary -** and registration directories shoujld only be writable by root. +** and registration directories should only be writable by root. ** ** (3) Execution of pre-exec programs is as secure as loading of ** providers as root. The security is determined by correct diff --git a/Unix/base/process.c b/Unix/base/process.c index 05f5b74bf..03b9785f0 100644 --- a/Unix/base/process.c +++ b/Unix/base/process.c @@ -76,7 +76,7 @@ int Process_StopChild(Process* self_) try_again: if (waitpid(self->pid, &status, 0) == -1) { - // EINTR is common in waitpid() and doesn't necessarily indicate faulure. + // EINTR is common in waitpid() and doesn't necessarily indicate failure. // Give the system 10 times to see if the pid cleanly exits. if (10 < numWaits && errno == EINTR) { diff --git a/Unix/base/strand.c b/Unix/base/strand.c index ec7e34d48..2a7c0147e 100644 --- a/Unix/base/strand.c +++ b/Unix/base/strand.c @@ -783,7 +783,7 @@ MI_Boolean _StrandMethod_Both_CheckFinished( _In_ Strand* self_) return MI_FALSE; return _StrandMethodImp_CheckFinished( &self->base.info ) - && ((!self->infoRight.opened) || _StrandMethodImp_CheckFinished( &self->infoRight )) //check right interation state only if its opeened + && ((!self->infoRight.opened) || _StrandMethodImp_CheckFinished( &self->infoRight )) //check right iteration state only if its opened && !self->base.delayFinish; } @@ -807,8 +807,8 @@ MI_Boolean _StrandMethod_Left_Cancel( _In_ Strand* self_) if( !self->base.canceled ) { - // We pass to the right only if we have not been cancel already becase in that case it has go to the right already - // (cancelations always flow to the right first) + // We pass to the right only if we have not been cancel already because in that case it has go to the right already + // (cancellations always flow to the right first) // Note that we need to check this first as the canceled below may close the interaction with the right side if( self->infoRight.opened && !self->infoRight.thisClosedOther ) { @@ -925,7 +925,7 @@ MI_Boolean _StrandMethod_Right_Cancel( _In_ Strand* self_) if( self->base.info.opened && !self->base.info.thisClosedOther && !self->leftCanceled ) { self->leftCanceled = MI_TRUE; - // We pass to the left even if we have been cancel already becase thet should be the cancelation coming back from the right + // We pass to the left even if we have been cancel already because that should be the cancelation coming back from the right self->base.info.interaction.other->ft->Cancel( self->base.info.interaction.other ); } @@ -3038,7 +3038,7 @@ void Strand_Leave( _In_ Strand* self ) trace_Strand_Leave( self, STRAND_DEBUG_GETNAME(self), self->strandStealedFlag ); - // If there is an encompasing loop, then set this to false so it will bail out + // If there is an encompassing loop, then set this to false so it will bail out if( NULL != self->strandStealedFlag ) { *(self->strandStealedFlag) = MI_TRUE; diff --git a/Unix/base/sunsparc8_atomic.s b/Unix/base/sunsparc8_atomic.s index 772bf8b0d..3ed085b50 100644 --- a/Unix/base/sunsparc8_atomic.s +++ b/Unix/base/sunsparc8_atomic.s @@ -13,14 +13,14 @@ !* THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY !* KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED !* WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -!* MERCHANTABLITY OR NON-INFRINGEMENT. +!* MERCHANTABILITY OR NON-INFRINGEMENT. !* !* See the Apache 2 License for the specific language governing permissions !* and limitations under the License. !* !*============================================================================== -! Provides assembler funcions needed for SUN sparc atomic functions. +! Provides assembler functions needed for SUN sparc atomic functions. ! Date 05-sep-08 .section ".text" diff --git a/Unix/base/timer.c b/Unix/base/timer.c index 05630d5ab..76bae79ca 100644 --- a/Unix/base/timer.c +++ b/Unix/base/timer.c @@ -136,7 +136,7 @@ void Timer_Fire( * of fireTimeoutAt will have already occurred, but the Selector * will have not gotten a chance to detect it yet. That is treated * as the default scenario. This signals that the timeout is treated - * as a manuallly triggered timeout. */ + * as a manually triggered timeout. */ timer->reason = reason; } timer->handler.fireTimeoutAt = currentTimeUsec; diff --git a/Unix/base/user.c b/Unix/base/user.c index 97afc888c..6cf2d042c 100644 --- a/Unix/base/user.c +++ b/Unix/base/user.c @@ -84,7 +84,7 @@ static int _authCallback( const char* password = (const char*)applicationData; int i; - /* If zero (or megative) messages, return now */ + /* If zero (or negative) messages, return now */ if (numMessages <= 0) { @@ -218,7 +218,7 @@ static int _CreateChildProcess( } } - /* perform operation in quesiton */ + /* perform operation in question */ { int r = PamCheckUser(user, password); @@ -240,9 +240,9 @@ MI_INLINE int _TestEINTR() } /* - Reads data from file, retry if was interuptted + Reads data from file, retry if was interrupted Returns: - 'size of the data' readed from the file if success + 'size of the data' read from the file if success '-1' otherwise */ int ReadFile(int fd, void* data, size_t size) @@ -322,7 +322,7 @@ int ValidateUser(const char* user) } /* - Disables authentication calls so 'AuthUser' always retunrs 'ok'; + Disables authentication calls so 'AuthUser' always returns 'ok'; used for unit-test only */ void IgnoreAuthCalls(int flag) diff --git a/Unix/base/user.h b/Unix/base/user.h index 90cf4edde..966eb4da8 100644 --- a/Unix/base/user.h +++ b/Unix/base/user.h @@ -84,7 +84,7 @@ int GetUserGidByUid(uid_t uid, gid_t* gid); /* Retrieves uid/gid from fd if supported by platform Parameters: - fd - socket discritptor (must be connected domain socket fd) + fd - socket descriptor (must be connected domain socket fd) uid [out] user ID gid [out] group ID @@ -123,7 +123,7 @@ int CreateAuthFile(uid_t uid, _In_reads_(size) char* content, size_t size, _Pre_ int FormatLogFileName(uid_t uid, gid_t gid, const char *libraryName, char path[PAL_MAX_PATH_SIZE]); /* - Disables authentication calls so 'AuthUser' always retunrs 'ok'; + Disables authentication calls so 'AuthUser' always returns 'ok'; used for unit-test only Parameters: flag - '1' to ignore atuh; 0 to perform auth calls normally diff --git a/Unix/build.mak b/Unix/build.mak index f6ca6fe73..b61787175 100644 --- a/Unix/build.mak +++ b/Unix/build.mak @@ -27,7 +27,7 @@ export CONFIG_TARGET ##============================================================================== ## ## WORLD -- the 'WORLD" variable indicates that we are building for test -## (./cofigure-world). +## (./configure-world). ## ##============================================================================== diff --git a/Unix/buildtool b/Unix/buildtool index cbe3c6e75..b6afaf8c5 100755 --- a/Unix/buildtool +++ b/Unix/buildtool @@ -700,10 +700,10 @@ if [ "$arg1" = "size" ]; then ;; SUNOS_I86PC_SUNPRO|SUNOS_SPARC_SUNPRO) - # the size utiltiy is not available on solaris unless you install gnu binutils + # the size utility is not available on solaris unless you install gnu binutils # separately - echo "echo \'size not avaliable\'" + echo "echo \'size not available\'" ;; AIX_PPC_IBM|LINUX_PPC_GNU) echo size @@ -715,7 +715,7 @@ if [ "$arg1" = "size" ]; then echo size ;; *) - echo "echo \'Unsuported platform: $platform\'" + echo "echo \'Unsupported platform: $platform\'" exit 1 ;; esac @@ -856,7 +856,7 @@ if [ "$arg1" = "cflags" -o "$arg1" = "cxxflags" ]; then ## display brief message tag for each warning message. r="$r -errtags=yes" - ## use standar pthread funciton declarations + ## use standard pthread function declarations r="$r -D_POSIX_PTHREAD_SEMANTICS" r="$r -D_XOPEN_SOURCE=500" @@ -1678,7 +1678,7 @@ fi ##============================================================================== ## -## 'shmnamelocalprefix' command (determine the prefix for a shmaphore) +## 'shmnamelocalprefix' command (determine the prefix for a semaphore) ## ##============================================================================== @@ -1728,7 +1728,7 @@ fi ##============================================================================== ## -## 'shmnameglobalprefix' command (determine the prefix for a shmaphore) +## 'shmnameglobalprefix' command (determine the prefix for a semaphore) ## ##============================================================================== diff --git a/Unix/cli/cli_c.c b/Unix/cli/cli_c.c index 014e0a5a6..646cd2a37 100644 --- a/Unix/cli/cli_c.c +++ b/Unix/cli/cli_c.c @@ -2472,7 +2472,7 @@ const MI_Char USAGE[] = MI_T( " --hostname H Optional target host name. If not specified, binary protocol on the local machine. \n" " If specified, wsman is used over http or https, as specified by the --encryption flag \n" " --port portnum Port number to use for HTTP or HTTPS.\n" -" --auth A Optional authentication scheme to use for remote acces if hostname specified:\n" +" --auth A Optional authentication scheme to use for remote access if hostname specified:\n" " Basic: username and password as sent to remote host\n" " NegoWithCreds: authorization method is negotiated with the server using the\n" " Simple And Protected Negotiation Mechanism (SPNEGO)\n" @@ -2491,31 +2491,31 @@ const MI_Char USAGE[] = MI_T( " id\n" " Send identify request.\n" " gi NAMESPACE INSTANCENAME\n" -" Peform a CIM [g]et [i]nstance operation.\n" +" Perform a CIM [g]et [i]nstance operation.\n" " ci NAMESPACE NEWINSTANCE\n" -" Peform a CIM [c]reate [i]nstance operation.\n" +" Perform a CIM [c]reate [i]nstance operation.\n" " mi NAMESPACE MODIFIEDINSTANCE\n" -" Peform a CIM [m]odify [i]nstance operation.\n" +" Perform a CIM [m]odify [i]nstance operation.\n" " di NAMESPACE INSTANCENAME\n" -" Peform a CIM [d]elete [i]nstance operation.\n" +" Perform a CIM [d]elete [i]nstance operation.\n" " ei [-shallow] NAMESPACE CLASSNAME\n" -" Peform a CIM [e]numerate [i]nstances operation.\n" +" Perform a CIM [e]numerate [i]nstances operation.\n" " iv NAMESPACE INSTANCENAME METHODNAME PARAMETERS\n" -" Peform a CIM extrinsic method [i]nvocation operation.\n" +" Perform a CIM extrinsic method [i]nvocation operation.\n" " a [-ac -rc -r -rr ] NAMESPACE INSTANCENAME\n" " Perform a CIM [a]ssociator instances operation.\n" " r [-rc -r] NAMESPACE INSTANCENAME (references)\n" " Perform a CIM [r]eference instances operation.\n" " gc NAMESPACE CLASSENAME\n" -" Peform a CIM [g]et [c]lass operation.\n" +" Perform a CIM [g]et [c]lass operation.\n" " enc INSTANCE\n" " Attempt to encode and print the given instance representation.\n" " wql NAMESPACE WQLQUERY\n" -" Peform a WQL query operation.\n" +" Perform a WQL query operation.\n" " cql NAMESPACE CQLQUERY\n" -" Peform a CQL query operation.\n" +" Perform a CQL query operation.\n" " sub NAMESPACE --querylang 'WQL/CQL' --queryexpr=\"select * from Indication_ClassName\"\n" -" Peform a subscribe to indication operation.\n" +" Perform a subscribe to indication operation.\n" "\n" "INSTANCENAME and PARAMETERS format:\n" " { class_name property_name property_value property_name property_value }\n" @@ -2544,7 +2544,7 @@ void MI_MAIN_CALL SignalHandler(int signo) Ftprintf(sout, MI_T("Cancel the operation")); MI_Operation_Cancel(&gop, MI_REASON_SHUTDOWN); - /* Close opeartion will be unresponsive due to */ + /* Close operation will be unresponsive due to */ /* the operation is not get final result yet */ /* need to enable this code after end to end cancel was completed */ /* MI_Operation_Close(&gop); */ diff --git a/Unix/codec/common/micodec.h b/Unix/codec/common/micodec.h index 1d7372610..72d8cc51b 100644 --- a/Unix/codec/common/micodec.h +++ b/Unix/codec/common/micodec.h @@ -202,7 +202,7 @@ MI_DeserializerCallbacks; ** ** MI_DeserializerFT_INTL ** -** Deserialier function table. +** Deserializer function table. ** **============================================================================= */ diff --git a/Unix/codec/mof/codecimpl.c b/Unix/codec/mof/codecimpl.c index 4e85ad046..9dc2ba2b0 100644 --- a/Unix/codec/mof/codecimpl.c +++ b/Unix/codec/mof/codecimpl.c @@ -594,7 +594,7 @@ void MI_MofCodec_Delete( MI_Instance_Delete(self->errorInstance); } { - /* Clean up cached schema(s) since returnned instance(s) */ + /* Clean up cached schema(s) since returned instance(s) */ /* hold one reference to the schema */ ClassesOfInstance* coi = self->coi; if (coi) diff --git a/Unix/codec/mof/codecimpl.h b/Unix/codec/mof/codecimpl.h index 453d32e68..bbecac2d7 100644 --- a/Unix/codec/mof/codecimpl.h +++ b/Unix/codec/mof/codecimpl.h @@ -57,7 +57,7 @@ Following are the designed operation options for the handling mismatch between **============================================================================== ** ** ClassesOfInstance structure contains a temporary copy of the schemas of -** returnning instance array; Upon caller release instance array, the +** returning instance array; Upon caller release instance array, the ** batch object and classes should be released accordingly; ** **============================================================================== diff --git a/Unix/codec/mof/mofserializer.c b/Unix/codec/mof/mofserializer.c index 322bcd8c3..26d4f922c 100644 --- a/Unix/codec/mof/mofserializer.c +++ b/Unix/codec/mof/mofserializer.c @@ -690,7 +690,7 @@ static MI_Result _PutDependentInstances( if (!value.instance) continue; - /* Only put keys for referenes */ + /* Only put keys for references */ RETERR(_PutInstance( out, diff --git a/Unix/codec/mof/parser/buffer.c b/Unix/codec/mof/parser/buffer.c index fbebaee2c..84f414850 100644 --- a/Unix/codec/mof/parser/buffer.c +++ b/Unix/codec/mof/parser/buffer.c @@ -29,7 +29,7 @@ int Buffer_Append(void* mofstate, Buffer* self, const void* data , size_t size) olddata = self->data; capacity = self->size + size; - /* Grow buffer if neceessary */ + /* Grow buffer if necessary */ if (capacity > self->capacity) { size_t r = INITIAL_BUFFER_SIZE; diff --git a/Unix/codec/mof/parser/errorhandler.h b/Unix/codec/mof/parser/errorhandler.h index ff397717f..a310a0384 100644 --- a/Unix/codec/mof/parser/errorhandler.h +++ b/Unix/codec/mof/parser/errorhandler.h @@ -21,14 +21,14 @@ ** ** MOF_ErrorHandler ** Contains callbacks handle errors, including callback of lookup localized -** string, callbcak of reporting error data. +** string, callback of reporting error data. ** **============================================================================== */ #define MSG_SIZE 256 typedef struct _MOF_ErrorHandler { - /* error infomation */ + /* error information */ _Field_size_(MSG_SIZE) MI_Char errormsg[MSG_SIZE]; /* User callback to invoke to look up string */ diff --git a/Unix/codec/mof/parser/mof.qualifiers.h b/Unix/codec/mof/parser/mof.qualifiers.h index c272cab98..cbce978b3 100644 --- a/Unix/codec/mof/parser/mof.qualifiers.h +++ b/Unix/codec/mof/parser/mof.qualifiers.h @@ -145,14 +145,14 @@ L"Qualifier ModelCorrespondence : string[], \n" L" Scope(any);\n" L"\n" L"/*\n" -L"The Nonlocal qualifer has been removed (as an errata) as of CIM 2.3\n" +L"The Nonlocal qualifier has been removed (as an errata) as of CIM 2.3\n" L"For more information see CR1461.\n" L"*/\n" L"Qualifier Nonlocal : string = null, \n" L" Scope(reference);\n" L"\n" L"/*\n" -L"The NonlocalType qualifer has been removed (as an errata) as of CIM 2.3\n" +L"The NonlocalType qualifier has been removed (as an errata) as of CIM 2.3\n" L"For more information see CR1461.\n" L"*/\n" L"Qualifier NonlocalType : string = null, \n" @@ -204,14 +204,14 @@ L" Scope(property, method), \n" L" Flavor(DisableOverride, ToSubclass, Translatable);\n" L"\n" L"/*\n" -L"The Source qualifer has been removed (as an errata) as of CIM 2.3\n" +L"The Source qualifier has been removed (as an errata) as of CIM 2.3\n" L"For more information see CR1461.\n" L"*/\n" L"Qualifier Source : string = null, \n" L" Scope(class, association, indication);\n" L"\n" L"/*\n" -L"The SourceType qualifer has been removed (as an errata) as of CIM 2.3\n" +L"The SourceType qualifier has been removed (as an errata) as of CIM 2.3\n" L"For more information see CR1461.\n" L"*/\n" L"Qualifier SourceType : string = null, \n" @@ -332,7 +332,7 @@ L" Flavor(EnableOverride, Restricted);\n"; /*============================================================================= ** -** Declare global qualifer declarations +** Declare global qualifier declarations ** =============================================================================*/ extern MI_QualifierDecl gQualifiers[]; diff --git a/Unix/codec/mof/parser/mof.y b/Unix/codec/mof/parser/mof.y index 9996a6158..86253d35a 100644 --- a/Unix/codec/mof/parser/mof.y +++ b/Unix/codec/mof/parser/mof.y @@ -507,7 +507,7 @@ qualifier if (InitializerToValue(state, &$2, qd->type, &value) != 0) { yyerrorf(state->errhandler, ID_INVALID_QUALIFIER_INITIALIZER, - "invalid initializer for qualifer: \"%s\"", $1); + "invalid initializer for qualifier: \"%s\"", $1); YYABORT; } @@ -562,7 +562,7 @@ qualifier if (InitializerToValue(state, &$2, qd->type, &value) != 0) { yyerrorf(state->errhandler, ID_INVALID_QUALIFIER_INITIALIZER, - "invalid initializer for qualifer: \"%s\"", $1); + "invalid initializer for qualifier: \"%s\"", $1); YYABORT; } @@ -1244,7 +1244,7 @@ scope flavorExpr : ',' TOK_FLAVOR '(' flavorList ')' { - /* Reject incompatiable ToSubclass and Restricted flavors */ + /* Reject incompatible ToSubclass and Restricted flavors */ if ($4 & MI_FLAG_TOSUBCLASS && $4 & MI_FLAG_RESTRICTED) { yyerrorf(state->errhandler, ID_INCOMPATIBLE_FLAVORS, "incompatible flavors: %s/%s", @@ -1252,7 +1252,7 @@ flavorExpr YYABORT; } - /* Reject incompatiable EnableOverride and DisableOverride flavors */ + /* Reject incompatible EnableOverride and DisableOverride flavors */ if ($4 & MI_FLAG_ENABLEOVERRIDE && $4 & MI_FLAG_DISABLEOVERRIDE) { yyerrorf(state->errhandler, ID_INCOMPATIBLE_FLAVORS, "incompatible flavors: %s/%s", diff --git a/Unix/codec/mof/parser/mofhash.h b/Unix/codec/mof/parser/mofhash.h index 50efafe31..60dde2488 100644 --- a/Unix/codec/mof/parser/mofhash.h +++ b/Unix/codec/mof/parser/mofhash.h @@ -20,9 +20,9 @@ extern "C" { **============================================================================== ** ** String Hash table -** Why? - Parse has to serach list of classes, instance alias already defined +** Why? - Parse has to search list of classes, instance alias already defined ** in the mof buffer to detect re-definition of class and instance alias. -** Linear search will end up with O(N^2) and unaccpetable if processing +** Linear search will end up with O(N^2) and unacceptable if processing ** large number of class/aliases, say 1M. So introduce hashtable here to ** reduce the search time to O(1), while it will take O(N) to build up the ** hashtable. Whenever the search target size is bigger than HASH_THRESHOLD, @@ -36,7 +36,7 @@ extern "C" { #define HASH_TABLE_SIZE 1000003 /* Fallback to hash search beyond this threshold */ #define HASH_THRESHOLD 128 -/* A number used to caculate hash value */ +/* A number used to calculate hash value */ #define HASH_SEED_PRIME_NUMBER 1313038763 /* Defines hash node */ typedef struct _HashNode *HashNodePtr; @@ -47,7 +47,7 @@ typedef struct _HashNode /* another separate array, such as MOF_ClassDeclList */ const MI_Char* source; /* source string of the node */ MI_Uint32 code; /* Another hash code of the string to */ - /* fastern search on collision entry*/ + /* accelerate search on collision entry*/ HashNodePtr next; /* Next node with same hash value */ } HashNode; diff --git a/Unix/codec/mof/parser/moflex.c b/Unix/codec/mof/parser/moflex.c index d60b01503..65d21cfb2 100644 --- a/Unix/codec/mof/parser/moflex.c +++ b/Unix/codec/mof/parser/moflex.c @@ -273,7 +273,7 @@ int mof_parseliteralstring(_Inout_ MOF_State * state) /* Scan until the closing " is found */ for (;;) { - if (mof_eof(mb) || mof_isdoulbequotes(mb->e, mb->cur)) + if (mof_eof(mb) || mof_isdoublequotes(mb->e, mb->cur)) break; bufToAppend = mb->cur; @@ -298,7 +298,7 @@ int mof_parseliteralstring(_Inout_ MOF_State * state) while(mof_neof(mb) && (len < 4)) { c = mof_nextchar(mb); - if (mof_isdoulbequotes(mb->e, mb->cur)) + if (mof_isdoublequotes(mb->e, mb->cur)) { incompletechar = MI_TRUE; break; @@ -395,7 +395,7 @@ int mof_parseliteralstring(_Inout_ MOF_State * state) } n++; - /* Copy listeral string and return */ + /* Copy literal string and return */ { int ret; MOF_StringLen r; @@ -949,7 +949,7 @@ int moflex(MOF_State * state) int cif = closeIncludeFile(state); if (cif == 1) { - /* Poped up valid include file */ + /* Popped up valid include file */ rc = mofskipspace_comment(state); if (rc == 0) { @@ -995,7 +995,7 @@ int moflex(MOF_State * state) } /* Parse literal string */ - if (mof_isdoulbequotes(mb->e, mb->cur)) { + if (mof_isdoublequotes(mb->e, mb->cur)) { return mof_parseliteralstring(state); } diff --git a/Unix/codec/mof/parser/moftoken.h b/Unix/codec/mof/parser/moftoken.h index f50b367b0..b288d2cd5 100644 --- a/Unix/codec/mof/parser/moftoken.h +++ b/Unix/codec/mof/parser/moftoken.h @@ -24,7 +24,7 @@ /* **============================================================================== ** -** Following are defitions of mof tokens +** Following are definitions of mof tokens ** ** True and false ** TRUE [Tt][Rr][Uu][Ee] diff --git a/Unix/codec/mof/parser/mofy.tab.c b/Unix/codec/mof/parser/mofy.tab.c index 64580e388..9554e4d6c 100644 --- a/Unix/codec/mof/parser/mofy.tab.c +++ b/Unix/codec/mof/parser/mofy.tab.c @@ -1250,7 +1250,7 @@ case 25: if (InitializerToValue(state, &yystack.l_mark[0].initializer, qd->type, &value) != 0) { yyerrorf(state->errhandler, ID_INVALID_QUALIFIER_INITIALIZER, - "invalid initializer for qualifer: \"%s\"", yystack.l_mark[-1].string); + "invalid initializer for qualifier: \"%s\"", yystack.l_mark[-1].string); YYABORT; } @@ -1309,7 +1309,7 @@ case 27: if (InitializerToValue(state, &yystack.l_mark[-2].initializer, qd->type, &value) != 0) { yyerrorf(state->errhandler, ID_INVALID_QUALIFIER_INITIALIZER, - "invalid initializer for qualifer: \"%s\"", yystack.l_mark[-3].string); + "invalid initializer for qualifier: \"%s\"", yystack.l_mark[-3].string); YYABORT; } @@ -2120,7 +2120,7 @@ break; case 113: #line 1245 "mof.y" { - /* Reject incompatiable ToSubclass and Restricted flavors */ + /* Reject incompatible ToSubclass and Restricted flavors */ if (yystack.l_mark[-1].flags & MI_FLAG_TOSUBCLASS && yystack.l_mark[-1].flags & MI_FLAG_RESTRICTED) { yyerrorf(state->errhandler, ID_INCOMPATIBLE_FLAVORS, "incompatible flavors: %s/%s", @@ -2128,7 +2128,7 @@ case 113: YYABORT; } - /* Reject incompatiable EnableOverride and DisableOverride flavors */ + /* Reject incompatible EnableOverride and DisableOverride flavors */ if (yystack.l_mark[-1].flags & MI_FLAG_ENABLEOVERRIDE && yystack.l_mark[-1].flags & MI_FLAG_DISABLEOVERRIDE) { yyerrorf(state->errhandler, ID_INCOMPATIBLE_FLAVORS, "incompatible flavors: %s/%s", diff --git a/Unix/codec/mof/parser/state.h b/Unix/codec/mof/parser/state.h index 4f1b05de1..424da70f2 100644 --- a/Unix/codec/mof/parser/state.h +++ b/Unix/codec/mof/parser/state.h @@ -80,7 +80,7 @@ typedef struct _MOF_Buffer /* Current Line no */ MI_Uint32 lineNo; - /* Char postion of current line */ + /* Char position of current line */ MI_Uint32 charPosOfLine; /* Encoding of buffer */ @@ -130,7 +130,7 @@ typedef struct _MOF_YACC_STATE ** ** This structure was used for temporary data exchange purpose. ** (1) FinalizeInstance function might want to know if the classdecl -** of the instance come from input parameter or from deserialzed +** of the instance come from input parameter or from deserialized ** buffer; ** **============================================================================== @@ -148,7 +148,7 @@ typedef struct _MOF_State_InternalState ** ** This structure maintains the static parser state for the current parser ** invocation. It maintains the heap, errors, warnings, instance declarations, -** class declarations, and qulifier declarations. +** class declarations, and qualifier declarations. ** **============================================================================== */ diff --git a/Unix/codec/mof/parser/types.c b/Unix/codec/mof/parser/types.c index 22d07b5fd..b51b403c9 100644 --- a/Unix/codec/mof/parser/types.c +++ b/Unix/codec/mof/parser/types.c @@ -929,7 +929,7 @@ static int _PromoteValue( } default: { - /* For empty array, just create another emptry array and return */ + /* For empty array, just create another empty array and return */ if (p->size == 0) { MI_Uint64A* q; @@ -1028,14 +1028,14 @@ static int _PromoteValue( case MI_INSTANCEA: case MI_REFERENCEA: { - const MI_InstanceA * insta = *(const MI_InstanceA**)value; + const MI_InstanceA * instance = *(const MI_InstanceA**)value; MI_Char *destclassname = destpropertydecl->className; if (destclassname) { *embeddedpropertyError = MI_TRUE; - for (i = 0; i < insta->size; i++) + for (i = 0; i < instance->size; i++) { - if (_IsInstanceOfClass(state, insta->data[i], destclassname) != 0) + if (_IsInstanceOfClass(state, instance->data[i], destclassname) != 0) return -1; } } @@ -3036,9 +3036,9 @@ static int _FindEmbeddedQualifier( ** Next non-restricted inherited qualifiers are appended to this list. ** Finally derived qualifiers are applied to the list. Qualifiers not ** already in the list are appended. Qualifiers already in the list are -** overriden. +** overridden. ** -** Propation is performed using the MI_Qualifier.flavor whose bits may be +** Propagation is performed using the MI_Qualifier.flavor whose bits may be ** masked by these macros. ** ** MI_FLAG_ENABLEOVERRIDE @@ -3217,7 +3217,7 @@ static int _FinalizeClassProperties( if (pos == MOF_NOT_FOUND) { - /* set default flavor to qualifers */ + /* set default flavor to qualifiers */ for (j = 0; j < pd->numQualifiers; j++) { pd->qualifiers[j]->flavor = SetDefaultFlavors(pd->qualifiers[j]->flavor); @@ -3475,7 +3475,7 @@ static int _FinalizeClassMethods( if (pos == MOF_NOT_FOUND) { - /* set default flavor to qualifers */ + /* set default flavor to qualifiers */ for (k = 0; k < md->numQualifiers; k++) { md->qualifiers[k]->flavor = SetDefaultFlavors(md->qualifiers[k]->flavor); @@ -3534,7 +3534,7 @@ static int _FinalizeClassMethods( pdecl->code = Hash(pdecl->name); } - /* set default flavor to qualifers */ + /* set default flavor to qualifiers */ for (k = 0; k < pdecl->numQualifiers; k++) { pdecl->qualifiers[k]->flavor = SetDefaultFlavors(pdecl->qualifiers[k]->flavor); @@ -5074,7 +5074,7 @@ int closeIncludeFile(void *mofstate) MOF_State * state = (MOF_State *)mofstate; if (state->bufTop == 0) return 0; r = MOF_State_PopBuffer(mofstate); - /* return 1 means the poped buffer is valid */ + /* return 1 means the popped buffer is valid */ if (r == 0) return 1; return r; } diff --git a/Unix/codec/mof/parser/types.h b/Unix/codec/mof/parser/types.h index 24e547dcc..211c144f4 100644 --- a/Unix/codec/mof/parser/types.h +++ b/Unix/codec/mof/parser/types.h @@ -452,7 +452,7 @@ typedef struct _MOF_GlobalData ** ** Global data contains resource needed by mof parser, including ** (1) Qualifiers Definition -- -** CIM Stanard Qualifiers +** CIM Standard Qualifiers ** Optional qualifiers ** MSFT qualifiers ** diff --git a/Unix/codec/mof/parser/utility.c b/Unix/codec/mof/parser/utility.c index e8493b56c..86af27e7c 100644 --- a/Unix/codec/mof/parser/utility.c +++ b/Unix/codec/mof/parser/utility.c @@ -277,7 +277,7 @@ MI_Boolean mof_neof(MOF_Buffer * b) ** Utilities of check current char ** =============================================================================*/ -MI_Boolean mof_isdoulbequotes(MOF_Encoding e, void * data) +MI_Boolean mof_isdoublequotes(MOF_Encoding e, void * data) { return mof_getchar(e, data) == '"'; } @@ -654,8 +654,8 @@ MI_Result mof_setupbuffer(void * data, size_t nBytes, Batch *batch, MOF_Buffer * #endif if(b->e.u && (ptrdiff_t)(p) % (sizeof(wchar_t)) != 0) { - /* Buffer is not alighed with sizeof(wchar_t) */ - /* Need to copy input buffer to alighed memory */ + /* Buffer is not aligned with sizeof(wchar_t) */ + /* Need to copy input buffer to aligned memory */ if (batch) { p = (unsigned char*)Batch_Get(batch, nBytes); @@ -1070,7 +1070,7 @@ void mof_fillbuf( MI_Uint32 bbytes = (b->e.u) ? bs * sizeof(wchar_t) : bs * sizeof(char); char *newCur = (char*)b->cur -bbytes; MOF_Buffer temp; - MI_Boolean flaged = MI_FALSE; + MI_Boolean flagged = MI_FALSE; memcpy(&temp, b, sizeof(MOF_Buffer)); temp.cur = newCur; _Analysis_assume_(size > 2); @@ -1083,7 +1083,7 @@ void mof_fillbuf( if (i == bs) { buf[i++] = '^'; - flaged = MI_TRUE; + flagged = MI_TRUE; } if (i < tmax) { @@ -1091,7 +1091,7 @@ void mof_fillbuf( } mof_nextchar(&temp); } - if (!flaged) + if (!flagged) { buf[i++] = '^'; } diff --git a/Unix/codec/mof/parser/utility.h b/Unix/codec/mof/parser/utility.h index e790f8203..d018f1030 100644 --- a/Unix/codec/mof/parser/utility.h +++ b/Unix/codec/mof/parser/utility.h @@ -32,7 +32,7 @@ MI_Boolean mof_isalnum(MOF_Encoding e, void * data); MI_Boolean mof_isunderscore(MOF_Encoding e, void * data); -MI_Boolean mof_isdoulbequotes(MOF_Encoding e, void * data); +MI_Boolean mof_isdoublequotes(MOF_Encoding e, void * data); MI_Boolean mof_isbackslash(MOF_Encoding e, void * data); diff --git a/Unix/codec/mof/strings.h b/Unix/codec/mof/strings.h index 0cc20a3d3..bb6d1a9d4 100644 --- a/Unix/codec/mof/strings.h +++ b/Unix/codec/mof/strings.h @@ -35,7 +35,7 @@ #define STR_ID_DUPLICATE_QUALIFIER "Duplicate qualifier: %T" #define STR_ID_UNDEFINED_QUALIFIER "Undefined qualifier: %T" #define STR_ID_MISSING_QUALIFIER_INITIALIZER "Qualifier is missing initializer: %T" -#define STR_ID_INVALID_QUALIFIER_INITIALIZER "Initializer for qualifer not valid: %T" +#define STR_ID_INVALID_QUALIFIER_INITIALIZER "Initializer for qualifier not valid: %T" #define STR_ID_INVALID_INITIALIZER "Initializer not valid" #define STR_ID_UNDEFINED_CLASS "Undefined class: %T" #define STR_ID_IGNORED_INITIALIZER "Ignored initializer" diff --git a/Unix/common/MI.h b/Unix/common/MI.h index 4a5949d0a..3bcc59d8f 100644 --- a/Unix/common/MI.h +++ b/Unix/common/MI.h @@ -2513,8 +2513,8 @@ typedef void (MI_CALL *MI_ProviderFT_GetInstance)( /** * The server calls EnumerateInstances to enumerate instances of a CIM class - * in the target namespace. Note that the enumeration is not polymoprhic; the - * implementaiton should provide instances of the exact class given by the + * in the target namespace. Note that the enumeration is not polymorphic; the + * implementation should provide instances of the exact class given by the * 'className' input parameter, and should not include instances of any * derived classes. * @@ -2526,13 +2526,13 @@ typedef void (MI_CALL *MI_ProviderFT_GetInstance)( * parameter is an empty set, no properties are included in the response. If * the 'propertySet' input parameter is null, no properties shall be filtered. * - * If the 'keysOnly' input parameter is true, then the implementaiton should + * If the 'keysOnly' input parameter is true, then the implementation should * provide only key properties. * * If not null, the 'filter' input parameter defines a query filter that all * provided instances must match. If the MI_Module.flags field contains * MI_MODULE_FLAG_FILTER_SUPPORT (set by the MI_Main() entry point), this - * filter may be non-null. Otherwise, the 'filter' input paramerter is null. + * filter may be non-null. Otherwise, the 'filter' input parameter is null. * * If EnumerateInstances is successful, the method returns zero or more * instances. @@ -2628,7 +2628,7 @@ typedef void (MI_CALL *MI_ProviderFT_CreateInstance)( * If the propertySet input parameter is not null, the elements of the set * define zero or more property names. Only properties specified in this set * are modified. Properties of the modifiedInstance that are missing from the - * set shall be ingored. If the set is empty, no properties are modified. If + * set shall be ignored. If the set is empty, no properties are modified. If * propertySet is null, the set of properties to be modified consists of those * of modifiedInstance that are not null and whose values are different from * the current values of the instance to be modified. @@ -4929,7 +4929,7 @@ MI_INLINE MI_Result MI_CALL MI_Context_WriteDebug( * This function works if and only if within _Load function * * param: context The context passed to provider - * param: lifecycleContext The lifecyleContext used to generate lifecycle indication(s) + * param: lifecycleContext The lifecycleContext used to generate lifecycle indication(s) * for current class * * return: MI_RESULT_OK if success, otherwise failed @@ -5270,7 +5270,7 @@ typedef struct _MI_Operation MI_Operation; ** Members ** ** ft - This is the function table for unregistering the -** hosted provder from the server. +** hosted provider from the server. ** ** reserved - Used internally and must not be changed. **============================================================================= @@ -5282,7 +5282,7 @@ typedef struct _MI_HostedProvider MI_HostedProvider; ** ** typedef const struct _MI_DestinationOptions MI_DestinationOptions ** -** The object represents a set of destionation options. The options can be +** The object represents a set of destination options. The options can be ** used on a session or for discovering destination capabilities. The object ** can be used multiple times is required. ** @@ -5481,7 +5481,7 @@ typedef void (MI_CALL *MI_OperationCallback_Instance)( ** ** (*MI_OperationCallback_StreamedParameter)() ** -** Registering this async callback is necessary if an outbound paramter is +** Registering this async callback is necessary if an outbound parameter is ** marked as streamed. This callback will be called as streamed parameter data ** is available. Streaming can only happen on array parameters. Call the ** resultAcknowledgement to acknowledge the result. Not doing so will stop @@ -5618,7 +5618,7 @@ typedef struct _MI_SessionCallbacks void *callbackContext; /*========================================================================= - ** CIM Extension callback for recieving logging from the session creation. + ** CIM Extension callback for receiving logging from the session creation. ** All parameters are valid only for the lifetime of the callback. **========================================================================= */ @@ -5746,11 +5746,11 @@ MI_UserCredentials; ** ** enum MI_SubscriptionDeliveryType ** -** Subsciption type. +** Subscription type. ** ** A Pull subscription polls the destination for indications. If the ** subscription can get through the firewall of the destination machine then -** pulling events from the machine is more lifely to work. +** pulling events from the machine is more likely to work. ** ** Push subscriptions has the destination machine push the indication to the ** client machine. This is more efficient as it does not need to keep a @@ -5962,7 +5962,7 @@ typedef MI_Result (MI_CALL *MI_Deserializer_ClassObjectNeeded)( ** ** MI_DeserializerFT ** -** Deserialier function table. +** Deserializer function table. ** **============================================================================= */ @@ -6887,7 +6887,7 @@ MI_INLINE MI_Result MI_Application_NewDestinationOptions( ** ** Creates an MI_OperationOptions object. It represents configuration needed ** to carry out an operation. -** The operaton options must be closed through MI_OperationOptions_Delete. +** The operation options must be closed through MI_OperationOptions_Delete. ** ** application: Handle returned from MI_Application_Initialize. ** options: Resultant options handle for which options can be set @@ -7086,7 +7086,7 @@ MI_INLINE MI_Result MI_HostedProvider_GetApplication( ** MI_Session_Close() ** ** Closes the session and frees up all memory associated with it. If there -** are unfinished operations, those operatons will be cancelled. All +** are unfinished operations, those operations will be cancelled. All ** operations must have their handles closed before the session finishes closing. ** ** This can be called from inside an asynchronous callback only if the callback @@ -7633,7 +7633,7 @@ MI_INLINE void MI_Session_TestConnection( ** ** MI_Operation_GetInstance() ** -** This method is called to get a syncronous result for all operations except +** This method is called to get a synchronous result for all operations except ** subscriptions, where MI_Operation_GetIndication should be used. ** It is an error to call this function if a result callback is registered. ** This method will block until a result is available. If this is an @@ -7666,7 +7666,7 @@ MI_INLINE MI_Result MI_Operation_GetInstance( ** ** MI_Operation_GetIndication() ** -** This method is called to get a syncronous result for a subscription. +** This method is called to get a synchronous result for a subscription. ** It is an error to call this function if a Indication callback is registered. ** This method will block until a result is available. This function should be ** called until a returnCode object is returned. @@ -8155,7 +8155,7 @@ MI_INLINE MI_Result MI_DestinationOptions_GetPacketEncoding( ** By default the data locale of the calling thread is used and this ** method will override with the specified locale. ** Data locale is used to determine string formats for things like -** decimal nunbers in string format and date/time formats. +** decimal numbers in string format and date/time formats. ** ** Parameters ** Option: Valid MI_DestinationOptions created through @@ -10246,7 +10246,7 @@ MI_INLINE MI_Result MI_SubscriptionDeliveryOptions_GetExpirationTime( * To indicate you want the indication events to start delivering from the * oldest possible event that is available use MI_SUBSCRIBE_BOOKMARK_OLDEST. * To start delivering from the latest events only specify MI_SUBSCRIBE_BOOKMARK_NEWEST. - * To start delivering from a previously sent bookmark (if possible) pass in the boookmark + * To start delivering from a previously sent bookmark (if possible) pass in the bookmark * value that was delivered with the last event. * If no bookmark is set then the providers may not deliver bookmarks with the events. */ @@ -10756,7 +10756,7 @@ MI_INLINE MI_Result MI_CALL MI_SubscriptionDeliveryOptions_Clone( * Provider could define a callback function to receive * active lifecycle indication types (being subscribed by client) * - * param: types The comibinations of following flags OR 0, + * param: types The combinations of following flags OR 0, * * MI_LIFECYCLE_INDICATION_CREATE * MI_LIFECYCLE_INDICATION_MODIFY @@ -10773,7 +10773,7 @@ MI_INLINE MI_Result MI_CALL MI_SubscriptionDeliveryOptions_Clone( * For example, if the types = MI_LIFECYCLE_INDICATION_CREATE, then * provider only needs to call MI_LifecycleIndicationContext_PostCreate * since all of the other type of lifecycle indication are not being subscribed, - * thus will be droped. + * thus will be dropped. */ typedef void (MI_CALL *MI_LifecycleIndicationCallback)( _In_ MI_Uint32 types, @@ -10799,12 +10799,12 @@ struct _MI_LifecycleIndicationContextFT MI_Result (MI_CALL *PostModify)( _In_ MI_LifecycleIndicationContext* context, - _In_ const MI_Instance* orginalInstance, + _In_ const MI_Instance* originalInstance, _In_ const MI_Instance* instance); MI_Result (MI_CALL *PostDelete)( _In_ MI_LifecycleIndicationContext* context, - _In_ const MI_Instance* orginalInstance); + _In_ const MI_Instance* originalInstance); MI_Result (MI_CALL *PostRead)( _In_ MI_LifecycleIndicationContext* context, @@ -10914,7 +10914,7 @@ MI_INLINE MI_Result MI_CALL MI_LifecycleIndicationContext_PostCreate( * Providers call this function to raise a CIM_InstModification indication * * param: context The lifecycle context - * param: orginalInstance The instance before modification + * param: originalInstance The instance before modification * param: instance The instance after modification * * return: MI_RESULT_OK if success, otherwise failed @@ -10922,12 +10922,12 @@ MI_INLINE MI_Result MI_CALL MI_LifecycleIndicationContext_PostCreate( */ MI_INLINE MI_Result MI_CALL MI_LifecycleIndicationContext_PostModify( _In_ MI_LifecycleIndicationContext* context, - _In_ const MI_Instance* orginalInstance, + _In_ const MI_Instance* originalInstance, _In_ const MI_Instance* instance) { if (context && context->ft) { - return context->ft->PostModify(context, orginalInstance, instance); + return context->ft->PostModify(context, originalInstance, instance); } else { @@ -10939,18 +10939,18 @@ MI_INLINE MI_Result MI_CALL MI_LifecycleIndicationContext_PostModify( * Providers call this function to raise a CIM_InstDeletion indication * * param: context The lifecycle context - * param: orginalInstance The deleted instance + * param: originalInstance The deleted instance * * return: MI_RESULT_OK if success, otherwise failed * */ MI_INLINE MI_Result MI_CALL MI_LifecycleIndicationContext_PostDelete( _In_ MI_LifecycleIndicationContext* context, - _In_ const MI_Instance* orginalInstance) + _In_ const MI_Instance* originalInstance) { if (context && context->ft) { - return context->ft->PostDelete(context, orginalInstance); + return context->ft->PostDelete(context, originalInstance); } else { @@ -11073,7 +11073,7 @@ MI_INLINE MI_Result MI_CALL MI_LifecycleIndicationContext_PostResult( * * param: context The lifecycle context * param: types The lifecycle indication types; - * the types value is arbitrary comibinations of following + * the types value is arbitrary combinations of following * flags * * MI_LIFECYCLE_INDICATION_CREATE @@ -11085,7 +11085,7 @@ MI_INLINE MI_Result MI_CALL MI_LifecycleIndicationContext_PostResult( * * NOTE: Lifecycle indication subscription may fail if target class(es) does * not support the type; If provider does not call this function, by default, - * it is assumed suporrting MI_LIFECYCLE_INDICATION_ALL. + * it is assumed supporting MI_LIFECYCLE_INDICATION_ALL. * * FOR EXAMPLE: Assume there is an class called MY_Class, and it call this function with * types = MI_LIFECYCLE_INDICATION_CREATE, and then following lifecycle subscription @@ -11115,7 +11115,7 @@ MI_INLINE MI_Result MI_CALL MI_LifecycleIndicationContext_SetSupportedTypes( * * param: context The lifecycle context * param: types The lifecycle indication types; - * the types value is arbitrary comibinations of following + * the types value is arbitrary combinations of following * flags, including 0: * * MI_LIFECYCLE_INDICATION_CREATE @@ -11130,7 +11130,7 @@ MI_INLINE MI_Result MI_CALL MI_LifecycleIndicationContext_SetSupportedTypes( * For example, if the types = MI_LIFECYCLE_INDICATION_CREATE, then * provider only needs to call MI_LifecycleIndicationContext_PostCreate * since all other types lifecycle indication are not being subscribed, - * thus will get droped by server. + * thus will get dropped by server. * * return: MI_RESULT_OK if success, otherwise failed * diff --git a/Unix/common/common.h b/Unix/common/common.h index 0a988a10a..6f6036f1f 100644 --- a/Unix/common/common.h +++ b/Unix/common/common.h @@ -38,7 +38,7 @@ #include "localizestr.h" -// Following will be used to limit the buffere size server can accept from provider host. +// Following will be used to limit the buffer size server can accept from provider host. // This is also used to limit the max size on http transport #define MAX_ENVELOPE_SIZE (250*1024) diff --git a/Unix/configeditor/configeditor.cpp b/Unix/configeditor/configeditor.cpp index f47c771dd..f1482dafb 100644 --- a/Unix/configeditor/configeditor.cpp +++ b/Unix/configeditor/configeditor.cpp @@ -25,8 +25,8 @@ Usage: %s property [OPTIONS]\n\ \n\ OVERVIEW:\n\ This program allows for easy modification to the omiserver.conf\n\ - configuraiton file (and is general enough to be useful to allow\n\ - for editing of other configuraiton files as well.\n\ + configuration file (and is general enough to be useful to allow\n\ + for editing of other configuration files as well.\n\ \n\ This program will read from STDIN and write to STDOUT, which will\n\ allow for multiple properties to be edited via shell piping.\n\ diff --git a/Unix/configure b/Unix/configure index eb536a38a..68bba0fb3 100755 --- a/Unix/configure +++ b/Unix/configure @@ -19,7 +19,7 @@ cd $configuredir ##============================================================================== ## -## Product, Version, and Bilddate information: +## Product, Version, and Builddate information: ## ##============================================================================== @@ -2470,7 +2470,7 @@ fn=$configuredir/GNUmakefile # only do so if the Makefile is not already generated. # # This avoids having "make", while running, have it's GNUmakefile ripped out -# from underneith it. On UNIX/Linux, this works fine ("make" has the prior +# from underneath it. On UNIX/Linux, this works fine ("make" has the prior # GNUmakefile opened), but it felt "cleaner" with one consistent GNUmakefile. if [ "$disable_makefile_gen" != "1" ]; then diff --git a/Unix/deprecated/httpclientcxx/httpclientcxx.cpp b/Unix/deprecated/httpclientcxx/httpclientcxx.cpp index c9000f40e..9e6de6888 100644 --- a/Unix/deprecated/httpclientcxx/httpclientcxx.cpp +++ b/Unix/deprecated/httpclientcxx/httpclientcxx.cpp @@ -94,7 +94,7 @@ static unsigned int ToHexit( stops at the first '?' character after the last slash. The scheme, for example, "http:", and host name are not normalized to lower case - as specified in RFC 3986; neither are path segments mormalized. + as specified in RFC 3986; neither are path segments normalized. This function does not check for correctly-formatted UTF-8 multibyte characters, it simply encodes the characters in the input string character-by-character. @@ -840,7 +840,7 @@ static MI_Uint32 _proc( void* self) { httpclient::IOThread* pThis = (httpclient::IOThread*)self; - // keep runnning until terminated + // keep running until terminated LOGD2((ZT("_proc - Begin. Running selector thread"))); Selector_Run(&pThis->_selector, TIME_NEVER, MI_FALSE); diff --git a/Unix/deprecated/httpclientcxx/httpclientcxx.h b/Unix/deprecated/httpclientcxx/httpclientcxx.h index c0a019d96..c6f89f602 100644 --- a/Unix/deprecated/httpclientcxx/httpclientcxx.h +++ b/Unix/deprecated/httpclientcxx/httpclientcxx.h @@ -166,7 +166,7 @@ class HTTPCLIENT_LINKAGE HttpClient // Parameters: // host - host name (can be ip or dns name) // port - // secure - 'true' if https conneciton required + // secure - 'true' if https connection required // certFile - name of the file containing the client certificate for https, if client authentication is being done // privateKeyFile - name of the file containing the client private key certificate for https Result Connect( @@ -189,7 +189,7 @@ class HTTPCLIENT_LINKAGE HttpClient // blockUntilCompleted - flag to enforce 'sync' mode of operation. // In some cases user does not need async operation and prefers // to have simpler sync way to handle http request/response. - // Library still uses callbacks to deliver repsonse data and status, + // Library still uses callbacks to deliver response data and status, // but 'StartRequest' call blocks until entire communication is completed. // Return // OKAY if operation was started successfully @@ -201,18 +201,18 @@ class HTTPCLIENT_LINKAGE HttpClient const std::vector< unsigned char >& data, bool blockUntilCompleted); - // Cancels ongoing asynchronus http request. + // Cancels ongoing asynchronous http request. // If operation is not completed, library stops waiting // for server's response, calls 'OnStatus' callback with 'CANCELED' // code. - // Library closes connection and frees all resopurces. + // Library closes connection and frees all resources. // this is the last operation that can be performed on given http object . void Cancel(); // Sets timeout for future sessions. // User should call before Connect // Parameters: - // timeoutMS - timeout of the sesison in ms + // timeoutMS - timeout of the session in ms void SetOperationTimeout( int timeoutMS); diff --git a/Unix/deprecated/xmlcxx/tests/test19.xml b/Unix/deprecated/xmlcxx/tests/test19.xml index 7fe20e0c2..4c3e473fa 100644 --- a/Unix/deprecated/xmlcxx/tests/test19.xml +++ b/Unix/deprecated/xmlcxx/tests/test19.xml @@ -1,3 +1,3 @@ - + diff --git a/Unix/deprecated/xmlcxx/tests/test_xmlcxx.cpp b/Unix/deprecated/xmlcxx/tests/test_xmlcxx.cpp index 9f9226f5e..62cd1b571 100644 --- a/Unix/deprecated/xmlcxx/tests/test_xmlcxx.cpp +++ b/Unix/deprecated/xmlcxx/tests/test_xmlcxx.cpp @@ -315,7 +315,7 @@ NitsTestWithSetup(Test10, TestXmlCxxSetup) { XMLReader xml; XMLElement e; - char data[] = ""; + char data[] = ""; xml.SetText(data); diff --git a/Unix/disp/agentmgr.c b/Unix/disp/agentmgr.c index bcb212853..1292414df 100644 --- a/Unix/disp/agentmgr.c +++ b/Unix/disp/agentmgr.c @@ -72,7 +72,7 @@ typedef struct _RequestItem Message* request; // Request received from the left MI_Uint64 originalOperationId; - MI_Uint64 key; // OperationId of the outogoing request; for now RequestItem address (as it was before) + MI_Uint64 key; // OperationId of the outgoing request; for now RequestItem address (as it was before) } RequestItem; @@ -208,7 +208,7 @@ void _AgentElem_Post( _In_ Strand* self_, _In_ Message* msg) // For now ack immediately //TODO eventually multiplexer should take care of flow control here - // For now, we are short circuiting ACK from RequstItem + // For now, we are short circuiting ACK from RequestItem } void _AgentElem_PostControl( _In_ Strand* self_, _In_ Message* msg) @@ -232,7 +232,7 @@ void _AgentElem_Close( _In_ Strand* self_) trace_AgentClosedConnection((int)self->uid); // lost connection to the agent ( within 'CloseAgentItem' call): - // - send error repsonses to all outstanding requests + // - send error responses to all outstanding requests // - remove agent form the list _AgentElem_InitiateClose( self, MI_TRUE ); @@ -278,7 +278,7 @@ static void _AgentElem_CloseAgentItem(Strand* self_); - Post checks if the message is a idle notification, and if it is and there is only one remaining operation (the idle notification one itself) then initiates a close. Otherwise it just post the message to the pertinent operation that is - find using the buildin hash map searching by the operationId field + find using the builtin hash map searching by the operationId field in the message. - Ack does nothing currently as there is not an explicit in-the-wire flow control protocol implemented yet. @@ -290,10 +290,10 @@ static void _AgentElem_CloseAgentItem(Strand* self_); once the interaction is closed on both sides and there are no entries the object is auto-deleted. - Unique features and special Behavour: + Unique features and special Behaviour: - _AgentElem_CloseAgentItem is called at any time is there is an unrecoverable error or the connection has been lost and it will iterate thru the existing - operations/requests sending an appropiate error message to each one. + operations/requests sending an appropriate error message to each one. - _AgentElem_EntryAck is schedule by each entry (RequestItem) when it receives and Ack so that Ack can be simply passed thru to the connection (since we dont have yet a more sophisticated on-the-wire flow control @@ -501,7 +501,7 @@ void _RequestItem_PrepareToFinishOnError( _In_ Strand* self_) Behavior: - Post calls _PrepareMessageForAgent to adapt the message to be send on the wire the uses StrandEntry_PostParentPassthru to post to the parent - using the default many-to-one post implementation that enques the message + using the default many-to-one post implementation that enqueues the message on the AgentElem - Ack checks on the state of finishOnErrorState. On the normal case the ack is just passed thru to the parent by using AGENTELEM_STRANDAUX_ENTRYACK @@ -520,7 +520,7 @@ void _RequestItem_PrepareToFinishOnError( _In_ Strand* self_) Note that the interaction is closed once the final message is received as noted in _RequestItem_ParentPost below - Unique features and special Behavour: + Unique features and special Behaviour: - _RequestItem_PrepareToFinishOnError is scheduled when the parent _AgentElem_CloseAgentItem execute, that is, when for some reason the connection to the agent needs to be closed. In that case it checks @@ -590,7 +590,7 @@ void _IdleRequestItem_ReadyToFinish( _In_ Strand* self_) } /* - Object that implements the especific request needed to receive the Idle notification + Object that implements the specific request needed to receive the Idle notification from the agent. It is attached as one Entries on the one-to-many interface with the agent connection (AgentElem). @@ -907,7 +907,7 @@ static void _AgentElem_CloseAgentItem( Strand* self_ ) StrandMany_BeginIteration( &agent->strand ); - /* send error repsonses to all outstanding requests */ + /* send error responses to all outstanding requests */ while( NULL != (requestItem = (RequestItem*)StrandMany_Iterate( &agent->strand )) ) { if( requestItem->isIdleRequest ) @@ -1036,7 +1036,7 @@ static AgentElem* _CreateAgent( goto failed; } - /* Create/open fiel with permisisons 644 */ + /* Create/open fiel with permissions 644 */ logfd = open(path, O_WRONLY|O_CREAT|O_APPEND, S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH); if (logfd == -1) { diff --git a/Unix/disp/disp.c b/Unix/disp/disp.c index 190cfced8..c8df00539 100644 --- a/Unix/disp/disp.c +++ b/Unix/disp/disp.c @@ -103,7 +103,7 @@ struct _EnumEntry const ZChar* className; EnumEntry* next; // Links the entries that are about to be dispatched // We cannot use list on StrandMany as that one can get modify in the meantime - // as the interactions are being dinamically closed themselves + // as the interactions are being dynamically closed themselves // (that is why that list requires to be in the strand to use it) }; @@ -206,7 +206,7 @@ static void _DispEnumParent_EnumDone( _In_ Strand* self_) /* This object manages a a "Parent" enumeration on the dispatcher level. Enumerations in this context include also Associations and References. - The dispatcher converts that parent enumertion coming from the client + The dispatcher converts that parent enumeration coming from the client into several actual child enumerations that can go to the same or different providers for each of those child enumerations a "EnumEntry" object (see more info below) will be created and attached to this Parent enumeration using the one-to-many @@ -215,7 +215,7 @@ static void _DispEnumParent_EnumDone( _In_ Strand* self_) Behavior: - Post and PostControl are not used yet as no secondary messages after initial request are issued currently - - Cancel is also not implememented as Cancelation e2e is not implemented + - Cancel is also not implemented as Cancelation e2e is not implemented - Shutdown: once all the child enumerations have been issued DISPENUMPARENT_STRANDAUX_ENUMDONE is scheduled on the parent, what in turn set the done flag to true and sends the last response @@ -323,7 +323,7 @@ static void _DispEnumParent_Entry_Post( _In_ StrandMany* self_, _In_ Message* ms } } -// used for enums, associators, references and subcriptions +// used for enums, associators, references and subscriptions static StrandManyInternalFT _DispEnumParent_InternalFT = { NULL, _DispEnumParent_Entry_Deleted, @@ -628,7 +628,7 @@ static MI_Result _HandleGetClassReq( if(MI_RESULT_INVALID_CLASS == r) { /* Checking if the requested class is an extraclass (Class without key property or Class with key property but not part of any - class heirarchy of an implemented class.) + class hierarchy of an implemented class.) Class with valid providerFT is called as an implemented class */ /* In extra classes inheritance tree a namespace node is created only if there is at least one extra class in the namespace. @@ -1698,7 +1698,7 @@ MI_Result Disp_HandleInteractionRequest( default: { - /* Unsupported mesage type */ + /* Unsupported message type */ trace_DispUnsupportedMessage( self, params->interaction, msg, diff --git a/Unix/doc/diagnose-omi-problems.md b/Unix/doc/diagnose-omi-problems.md index d30b7202d..8be7497c2 100644 --- a/Unix/doc/diagnose-omi-problems.md +++ b/Unix/doc/diagnose-omi-problems.md @@ -21,13 +21,13 @@ the problem. See [Common scenarios for OMI problems](#common-scenarios-for-omi-p for additional information that Microsoft may require. - [Minimum OMI version](#minimum-omi-version) -- [Caviats](#caviats) +- [Caveats](#caveats) - [Required information when reporting problems](#required-information-when-reporting-problems) - [Enabling logging in OMI](#enabling-logging-in-omi) - [Log file entries of interest](#log-file-entries-of-interest) - [Common scenarios for OMI problems](#common-scenarios-for-omi-problems) - [Diagnosing memory problems in OMI itself](#diagnosing-memory-problems-in-omi-itself) - - [Diagnosing omiserver or omiengine crashes](#dignosing-omiserver-or-omigngine-crashes) + - [Diagnosing omiserver or omiengine crashes](#diagnosing-omiserver-or-omigngine-crashes) - [Diagnosing OMI Provider Failures](#diagnosing-omi-provider-failures) - [Diagnosing OMI Provider Memory Leaks](#diagnosing-omi-provider-memory-leaks) - [Diagnosing Unexpected OMI Provider aborts](#diagnosing-unexpected-omi-provider-aborts) @@ -50,7 +50,7 @@ jeffcof:~> /opt/omi/bin/omiserver -v jeffcof:~> ``` -## Caviats +## Caveats OMI v1.4.1-0 has some issues logged against it regarding logging: @@ -117,7 +117,7 @@ logging entry in the configuration file, add the following lines to ``` ## -## loglevel -- set the loggiing options for MI server +## loglevel -- set the logging options for MI server ## Valid options are: ERROR, WARNING, INFO, DEBUG, VERBOSE (debug build) ## If commented out, then default value is: WARNING ## @@ -311,7 +311,7 @@ request* message, we receive the namespace and class: Using this information, we can retrieve the provider registration name. In the above message, the namespace is `root/scx` and the class -is `SCX_Agent`. To retrive the provider registration name, replace `/` +is `SCX_Agent`. To retrieve the provider registration name, replace `/` with `-` in the namespace and issue the following `grep` command (substitute `SCX_Agent` with your class and `root-scx` with your namespace): @@ -329,4 +329,4 @@ information: 1. All of the information described in [Required information when reporting problems](#required-information-when-reporting-problems), -2. Provider registration name, retrived as described above. +2. Provider registration name, retrieved as described above. diff --git a/Unix/doc/omi/omi.html b/Unix/doc/omi/omi.html index 122781be7..da19f8e7e 100644 --- a/Unix/doc/omi/omi.html +++ b/Unix/doc/omi/omi.html @@ -2697,7 +2697,7 @@

8.3.8.2 Implementing a lifecycle indication (exper (*self)->context, MI_LIFECYCLE_INDICATION_CREATE); CHECKR_POST_RETURN_VOID(context, r); - /* intialize global data */ + /* initialize global data */ r = _Initialize(context, *self); if (r != MI_RESULT_OK) { diff --git a/Unix/doc/omi/omi.info b/Unix/doc/omi/omi.info index ba7ef0524..6a778f59b 100644 --- a/Unix/doc/omi/omi.info +++ b/Unix/doc/omi/omi.info @@ -2260,7 +2260,7 @@ like the following: (*self)->context, MI_LIFECYCLE_INDICATION_CREATE); CHECKR_POST_RETURN_VOID(context, r); - /* intialize global data */ + /* initialize global data */ r = _Initialize(context, *self); if (r != MI_RESULT_OK) { diff --git a/Unix/doc/omi/omi.texi b/Unix/doc/omi/omi.texi index 7afb7868a..d677fdb79 100644 --- a/Unix/doc/omi/omi.texi +++ b/Unix/doc/omi/omi.texi @@ -2639,7 +2639,7 @@ void MI_CALL XYZ_Process_Load( (*self)->context, MI_LIFECYCLE_INDICATION_CREATE); CHECKR_POST_RETURN_VOID(context, r); - /* intialize global data */ + /* initialize global data */ r = _Initialize(context, *self); if (r != MI_RESULT_OK) { diff --git a/Unix/doc/setup-kerberos-omi.md b/Unix/doc/setup-kerberos-omi.md index 8e70667a8..ee870d547 100644 --- a/Unix/doc/setup-kerberos-omi.md +++ b/Unix/doc/setup-kerberos-omi.md @@ -76,7 +76,7 @@ First, to explain some terms: SPNs (pronounced "spin") are in the form service name/host, or http/myhost.contoso.com@CONTOSO.com. Usually a given user will only be directly aware of their own user. Host and service principals are usually setup - as part of the joining process. Some service principals, such as HTTP/myhost.contolso.com@CONTOSO.com will need to be + as part of the joining process. Some service principals, such as HTTP/myhost.contoso.com@CONTOSO.com will need to be added after the joining process. There are two implementations of Kerberos, which are used by pretty much everybody. The MIT implementation @@ -94,7 +94,7 @@ First, to explain some terms: So a given domain joined host will receive name services from myserver.contoso.com, Kerberos authentication services from `myserver.contoso.com@CONTOSO.com` and user and group information from `ldap/myserver.contoso.com@CONTOSO.COM`, and you can -login with ssh -K to `host/myserver.contols.com@CONTOSO.com`. The client will lookup password and group information via `ldap://_ldap.contoso.com`. +login with ssh -K to `host/myserver.controls.com@CONTOSO.com`. The client will lookup password and group information via `ldap://_ldap.contoso.com`. ** Direct use of the domain controller should be done by your domain administrator.** On the active domain controller, You will need to verify: @@ -243,7 +243,7 @@ Tasks: - Kerberos: Add `/etc/krb5.conf`. We recommend that you keep a master krb5.conf and just copy it to each machine. The contents of `/etc/krb5.conf` are not host sensitive, though they are, of course, unique to the domain. Realmd and - other authconfigure tools depend on at least a minimal `/etc/krb5.conf` in order to function. + other auth configure tools depend on at least a minimal `/etc/krb5.conf` in order to function. - Authconfig will setup the configuration files `/etc/nsswitch`, `/etc/smb.conf`, `/etc/pam.d/*`, `/etc/sssd/sssd.conf`. @@ -701,7 +701,7 @@ TBD - Cause 7: knvo inconsistent issue - you may get the error "Key version number for principal in key table is incorrect", just run these commands to fix this issue: ``` - kdestory(or rm -rf /etc/krb5.keytab) + kdestroy(or rm -rf /etc/krb5.keytab) net ads keytab add HTTP -U Administrator klist -k ``` diff --git a/Unix/doc/setup-ntlm-omi.md b/Unix/doc/setup-ntlm-omi.md index 32bd0ebdc..4070754bb 100644 --- a/Unix/doc/setup-ntlm-omi.md +++ b/Unix/doc/setup-ntlm-omi.md @@ -15,13 +15,13 @@ authenticated via Basic auth. Basic is very simple, but not at all secure, inasmuch as the username and password are transmitted in the clear, with only Base64 encoding which is easly decoded by someone able to see the traffic on the connection. For that reason we only recommend Basic never be used on other than a -secure (https) conneciton. +secure (https) connection. -A more secure method of authentication uses Secure Protected Negotitation protocol (SPNEGO), which enables -negotiation of the security protcol from a selection of options, Currently the only option available with -omi is the *NT Lan Manager protocol, version 2 (NTLMV2)* which is an improvment over Basic auth in two ways. +A more secure method of authentication uses Secure Protected Negotiation protocol (SPNEGO), which enables +negotiation of the security protocol from a selection of options, Currently the only option available with +omi is the *NT Lan Manager protocol, version 2 (NTLMV2)* which is an improvement over Basic auth in two ways. -- The password is hashed using an irreversable algorithm, so the password is more secure than Basic. +- The password is hashed using an irreversible algorithm, so the password is more secure than Basic. - The client and server support encryption of your data over http connections, so SSL certificates are not required. @@ -44,7 +44,7 @@ Both the client and host machine must be set up to use provide NTLM to the gener To do this, the gss and gss-ntlmssp packages must be installed and up to date. The packages required are: - + @@ -138,7 +138,7 @@ that winbind and samba interact. If you are using samba to mount cifs file share modify these instructions. -Winbind is a part of the samba suite. There are a number of good explanations and tutorials avaiable such as +Winbind is a part of the samba suite. There are a number of good explanations and tutorials available such as https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/idmapper.html discussing winbinds role, but in short it provides credential caching from the machines password provider, and idmapping from the Windows SID to and from the UNIX UID. @@ -204,7 +204,7 @@ in the NTLM domain are treated as different from hostname, so a separate entry i It does not use the user name and password directly. The credential is acquired either from winbind or a local credentials file in ~/.omi. -- The client uses the Generic Security Services API (gssapi) to initate a negotiation with the server. Currently this +- The client uses the Generic Security Services API (gssapi) to initiate a negotiation with the server. Currently this negotiation will always end up using NTLM if it succeeds. - The server uses gssapi to accept the negotiation using the credential sent by the client. @@ -223,7 +223,7 @@ So, to validate you need For if the user and password are incorrect, the credentials will not be accepted. -An example of how this can happen is in omicli (a similar thnag can happen in powershell). +An example of how this can happen is in omicli (a similar thing can happen in powershell). On the bash command line: ``` diff --git a/Unix/doc/todo.txt b/Unix/doc/todo.txt index 7d1da5cf7..e1f77d988 100644 --- a/Unix/doc/todo.txt +++ b/Unix/doc/todo.txt @@ -73,7 +73,7 @@ (X) Fixed cimcli bug with argument encoding of arrays of instances. - (X) Added 'server --httptrace' feaature. + (X) Added 'server --httptrace' feature. (X) Fixed bug with crash in stubs.cpp where associators stub crashed in Instance destructor. Fix was in Instance.cpp. @@ -84,7 +84,7 @@ (X) Fixed bug with WS-Management Put: if property appeared in both selector set and in property list, the parser rejected the property - list occurence as a duplicate feature. + list occurrence as a duplicate feature. (X) Fixed WS-Managed put-instance error: the parser was not accepting null properties. For example: diff --git a/Unix/etc/omicli.conf b/Unix/etc/omicli.conf index e98b837fb..fc5866548 100644 --- a/Unix/etc/omicli.conf +++ b/Unix/etc/omicli.conf @@ -36,7 +36,7 @@ #defaultremoteprotocolhandler=MI_REMOTE_WSMAN ## -## loglevel,logpath,logfile -- set the loggiing options for MI client +## loglevel,logpath,logfile -- set the logging options for MI client ## #loglevel = DEBUG #logpath = var/log/ diff --git a/Unix/etc/omiserver.conf b/Unix/etc/omiserver.conf index 526b04a96..1e68594e0 100644 --- a/Unix/etc/omiserver.conf +++ b/Unix/etc/omiserver.conf @@ -11,12 +11,12 @@ #httpsport=PORT ## -## idletimeout -- idle providers unload timeout in seconds (defualt is 90) +## idletimeout -- idle providers unload timeout in seconds (default is 90) ## #idletimeout=TIMEOUT ## -## loglevel -- set the loggiing options for MI server +## loglevel -- set the logging options for MI server ## Valid options are: ERROR, WARNING, INFO, DEBUG, VERBOSE (debug builds only) ## If commented out, then default value is: WARNING ## diff --git a/Unix/gen/Parser.h b/Unix/gen/Parser.h index 1a130b269..3f4e87db7 100644 --- a/Unix/gen/Parser.h +++ b/Unix/gen/Parser.h @@ -98,7 +98,7 @@ class Parser // Instance of C MOF parser. MOF_Parser* m_parser; - // Functor to make map string comparison case insentisive. + // Functor to make map string comparison case insensitive. struct Less { bool operator()(const std::string& x, const std::string& y) const diff --git a/Unix/gen/cprototypes_t.h b/Unix/gen/cprototypes_t.h index a0dca2b5c..1496d4471 100644 --- a/Unix/gen/cprototypes_t.h +++ b/Unix/gen/cprototypes_t.h @@ -1,6 +1,6 @@ //============================================================================== // -// cprotypes.h - define source code tempalte for provider function prototypes. +// cprotypes.h - define source code template for provider function prototypes. // //============================================================================== #ifndef _migen_cprototypes_t_h diff --git a/Unix/gen/gen.cpp b/Unix/gen/gen.cpp index a70df4f33..21926d658 100644 --- a/Unix/gen/gen.cpp +++ b/Unix/gen/gen.cpp @@ -50,7 +50,7 @@ using namespace std; -/* xlc doesn't want to use static inline funciotns inside temaplate functions */ +/* xlc doesn't want to use static inline functions inside template functions */ int _Scasecmp(const MI_Char* s1, const MI_Char* s2) { return Strcasecmp(s1, s2); @@ -186,14 +186,14 @@ void FUNCTION_NEVER_RETURNS err(int id, const char* format, ...) // // errRefPropCount() // -// For assocation class, it must have 2 reference properties count. +// For association class, it must have 2 reference properties count. // Otherwise, call this function to write error message and exits. // //============================================================================== void errRefPropCount(const MI_Char* classname) { err(ID_INSUFFICIENT_REFERENCES, "incorrect references properties count: " - "assocation class %s shall have two references properties", classname); + "association class %s shall have two references properties", classname); } //============================================================================== @@ -415,8 +415,8 @@ static set s_generated; static void GenStatikGenLine(FILE* os) { // Files generated by Statik may be located by searching for files which - // contain the following string. The ampersands are separted into a format - // argument to prevent this file (generator.cpp) from containg that string. + // contain the following string. The ampersands are separated into a format + // argument to prevent this file (generator.cpp) from containing that string. fprintf(os, "/* %cmigen%c */\n", '@', '@'); } @@ -954,7 +954,7 @@ INLINE MI_Uint32 ScalarSizeOf(MI_Uint32 type) // // sub() // -// Substitute all occurences of 'pattern' with 'replacement' within the +// Substitute all occurrences of 'pattern' with 'replacement' within the // 'str' parameter. Return the result. // //============================================================================== @@ -980,7 +980,7 @@ string sub( // // subu() // -// Similiar to sub() but substitutes an unsigned integer. +// Similar to sub() but substitutes an unsigned integer. // //============================================================================== @@ -998,7 +998,7 @@ static string subu( // // subx() // -// Similiar to sub() but substitutes an unsigned integer (as hex string). +// Similar to sub() but substitutes an unsigned integer (as hex string). // //============================================================================== @@ -1016,7 +1016,7 @@ static string subx( // // subd() // -// Substitute all occurences of 'pattern' with the string form of +// Substitute all occurrences of 'pattern' with the string form of // 'replacement' within the 'str' parameter. // //============================================================================== @@ -1058,7 +1058,7 @@ static const MI_QualifierDecl* FindStandardQualifierDecl(const char* name) // // FindPropertyDecl() // -// Find the named property in the given class declarartion. Return a +// Find the named property in the given class declaration. Return a // pointer if found, else return NULL. // //============================================================================== @@ -1172,7 +1172,7 @@ string GetPropertyClassname( // GenProperties() // // This function writes properties for the MOF class currently being -// generated (i.e., it generates fields for the corresponing C structure). +// generated (i.e., it generates fields for the corresponding C structure). // Properties are written in the order they are encountered when // traversing from the root of the inheritance chain to the current class. // A property may be defined more than once in the inheritance chain due @@ -2036,7 +2036,7 @@ void PutCppPropertyAccessor( // // getReturnType // -// returns 'return-type' for funciton declaration; for instances return false +// returns 'return-type' for function declaration; for instances return false // //============================================================================== template< typename ClassDeclType, typename PropertyDeclType> @@ -2063,7 +2063,7 @@ bool getReturnType( // // isPropertyLocal // -// checks if rpoerty is local +// checks if property is local // //============================================================================== template< typename ClassDeclType, typename PropertyDeclType> @@ -2109,7 +2109,7 @@ static bool HasKeys(const MI_ClassDecl* cd) // // GenCppPropertiesAccessors // -// Generate C++ class property accessors funciotns +// Generate C++ class property accessors functions // //============================================================================== template< typename ClassDeclType, typename PropertyDeclType> @@ -2258,7 +2258,7 @@ void GenCppClassDeclaration( } - /// inline funciotns for property access + /// inline functions for property access GenCppPropertiesAccessors( os,cd,alias,numProperties,properties); @@ -2356,7 +2356,7 @@ static void GenCppClassProviderHeaderNewFile( nl(os); // Generate forward typedef for Self structure. - string extraDataMemebers; + string extraDataMembers; if (cd->flags & MI_FLAG_ASSOCIATION) { @@ -2376,22 +2376,22 @@ static void GenCppClassProviderHeaderNewFile( errRefPropCount(cd->name); r = sub(r, "", alias); - r = sub(r, "", extraDataMemebers); + r = sub(r, "", extraDataMembers); puts(os, r); } else if (cd->flags & MI_FLAG_INDICATION) { string r = INDICATION_PROVIDER_CLASS_DECLARATION; - extraDataMemebers = " MI_Context* m_IndicationsContext;\n"; + extraDataMembers = " MI_Context* m_IndicationsContext;\n"; r = sub(r, "", alias); - r = sub(r, "", extraDataMemebers); + r = sub(r, "", extraDataMembers); puts(os, r); } else { string r = INSTANCE_PROVIDER_CLASS_DECLARATION; r = sub(r, "", alias); - r = sub(r, "", extraDataMemebers); + r = sub(r, "", extraDataMembers); puts(os, r); } } @@ -2614,7 +2614,7 @@ static void _PatchLoadSignature( const string& path, vector& data) { - /* special case: patch Load funciton signature */ + /* special case: patch Load function signature */ string old_load = sub(OLD_PROVIDER_LOAD_PROTOTYPES, "", alias); data.push_back(0); @@ -2647,7 +2647,7 @@ static void _PatchLoadSignature( } } -/* Patches old cpp skeletons with load/unload funcitons */ +/* Patches old cpp skeletons with load/unload functions */ static void _PatchLoadUnloadCPP( const string& alias, const string& path, @@ -2801,7 +2801,7 @@ static void GenCppClassSource(const MI_ClassDecl* cd) } - // only if we are updating exisitng one + // only if we are updating existing one if (append) { bool patched = false; @@ -4087,7 +4087,7 @@ static void GenMethodDecl( const string alias = AliasOf(cd->name); - // Generate each parameter declartions. + // Generate each parameter declarations. for (size_t i = 0; i < md->numParameters; i++) { const MI_ParameterDecl* pd = md->parameters[i]; @@ -4107,7 +4107,7 @@ static void GenMethodDecl( GenParameterDecl(parser, os, cd, md, &pd); } - // Generate the parmaeter declaration array. + // Generate the parameter declaration array. { putl(os, "static MI_ParameterDecl MI_CONST* MI_CONST %s_%s_params[] =", alias.c_str(), md->name); @@ -5378,7 +5378,7 @@ static void GenModuleSourceFile() // GenModuleCppSourceFile() // // This function generates the module.cpp source file, which contains the -// Module class definiiton. +// Module class definition. // //============================================================================== @@ -5826,7 +5826,7 @@ int GeneratorMain( if (s_options.dir.size()) Mkdir(s_options.dir.c_str(), 0777); - // Check schema given by -s otpion. + // Check schema given by -s option. if (s_options.schema.size()) { /* Check whether this is a valid C identifier */ @@ -5862,7 +5862,7 @@ int GeneratorMain( // Build the alias table, which maps a MOF classname to an alias name. // Aliases are introduced by command-line classname arguments of the // form =. For each command line argument of this - // form, put an entry in the alias table. Use the lexographical case + // form, put an entry in the alias table. Use the lexicographical case // for the class define in MOF (rather than defined on the command line). for (size_t i = 0; i < localClassNamesArg.size(); i++) { diff --git a/Unix/gen/gen.h b/Unix/gen/gen.h index 3e5de8a6b..99b05c952 100644 --- a/Unix/gen/gen.h +++ b/Unix/gen/gen.h @@ -85,7 +85,7 @@ struct GeneratorOptions // Where ROLE1 and ROLE2 are the role names (reference names) in an // association. For example: // - // [Assocation] + // [Association] // class Link // { // [Key] Gadget REF Left; /* */ @@ -117,7 +117,7 @@ struct GeneratorOptions std::string providerName; // Do not generate the GetInstance provider stub for these classes - // Set MI_PorivderFT.GetInstances to NULL. + // Set MI_ProviderFT.GetInstances to NULL. std::vector noGetInstance; // Entire command line (all arguments); diff --git a/Unix/gen/main.cpp b/Unix/gen/main.cpp index 94470f58e..8d139cc3a 100644 --- a/Unix/gen/main.cpp +++ b/Unix/gen/main.cpp @@ -25,7 +25,7 @@ Usage: %s [OPTIONS] PATH CLASSNAME[=ALIAS] ...\n\ OVERVIEW:\n\ This program generates provider source code from MOF class definitions.\n\ PATH is a file that contains the MOF definitions (or includes them).\n\ - It must include any dependent MOF defintions as well (such as the CIM\n\ + It must include any dependent MOF definitions as well (such as the CIM\n\ schema). The PATH is followed by a list of CLASSNAME arguments, which are\n\ the names of the MOF classes to be generated. Each CLASSNAME argument may\n\ be followed by an optional ALIAS argument (separated by an equal sign).\n\ @@ -462,7 +462,7 @@ static void _GetConfigFileOptions(GeneratorOptions& opts) // // _EncodeStr() // -// Encodes special characters in a string; replaces all 'lookfor wtih replacewith +// Encodes special characters in a string; replaces all 'lookfor with replacewith // //============================================================================== @@ -516,7 +516,7 @@ int MI_MAIN_CALL main(int argc, const char** argv) // Set path of default CIM schema file. schemafile = OMI_GetPath(ID_SCHEMAFILE); - // Get configuraiton file options. + // Get configuration file options. _GetConfigFileOptions(options); // Get command-line options. diff --git a/Unix/http/http.c b/Unix/http/http.c index c2f40ec5f..5438d3c33 100644 --- a/Unix/http/http.c +++ b/Unix/http/http.c @@ -288,7 +288,7 @@ static MI_Result _Sock_ReadAux( if ( res > 0 ) { - /* we are done with accpet */ + /* we are done with accept */ handler->acceptDone = MI_TRUE; return _Sock_ReadAux(handler,buf,buf_size,sizeRead); } @@ -492,7 +492,7 @@ static Http_CallbackResult _ReadHeader( MI_Boolean fullHeaderReceived = MI_FALSE; /* are we done with header? */ - if (handler->recvingState == RECV_STATE_CONTENT) + if (handler->receivingState == RECV_STATE_CONTENT) return PRT_CONTINUE; buf = handler->recvBuffer + handler->receivedSize; @@ -597,7 +597,7 @@ static Http_CallbackResult _ReadHeader( } memcpy( handler->recvPage + 1, data, handler->receivedSize ); - handler->recvingState = RECV_STATE_CONTENT; + handler->receivingState = RECV_STATE_CONTENT; return PRT_CONTINUE; } @@ -610,7 +610,7 @@ static Http_CallbackResult _ReadData( MI_Result r; /* are we in the right state? */ - if (handler->recvingState != RECV_STATE_CONTENT) + if (handler->receivingState != RECV_STATE_CONTENT) return PRT_RETURN_FALSE; buf = ((char*)(handler->recvPage + 1)) + handler->receivedSize; @@ -687,7 +687,7 @@ static Http_CallbackResult _ReadData( handler->recvPage = 0; handler->receivedSize = 0; memset(&handler->recvHeaders, 0, sizeof(handler->recvHeaders)); - handler->recvingState = RECV_STATE_HEADER; + handler->receivingState = RECV_STATE_HEADER; return PRT_CONTINUE; } @@ -1176,7 +1176,7 @@ static MI_Boolean _RequestCallback( } } - /* Close conenction by timeout */ + /* Close connection by timeout */ if (mask & SELECTOR_TIMEOUT) { trace_ConnectionClosed_Timeout(); @@ -1376,7 +1376,7 @@ void _HttpSocket_Aux_NewRequest( _In_ Strand* self_) From there normal Strand logic applies: once the upper layer also closes the interaction the object is deleted. - Unique features and special Behavour: + Unique features and special Behaviour: - When a complete message has been read instead of scheduling a post the auxiliary function HTTPSOCKET_STRANDAUX_NEWREQUEST is scheduled instead. That function takes care of posting using @@ -1453,7 +1453,7 @@ static MI_Boolean _ListenerCallback( return MI_TRUE; } - /* Primary refount -- secondary one is for posting to protocol thread safely */ + /* Primary refcount -- secondary one is for posting to protocol thread safely */ h->refcount = 1; h->http = self; h->pAuthContext = NULL; @@ -1572,12 +1572,12 @@ static MI_Result _New_Http( } if (selector) - { /* attach the exisiting selector */ + { /* attach the existing selector */ self->selector = selector; self->internalSelectorUsed = MI_FALSE; } else - { /* creaet a new selector */ + { /* create a new selector */ /* Initialize the network */ Sock_Start(); @@ -1886,7 +1886,7 @@ MI_Result Http_Delete( if (self->internalSelectorUsed) { /* Release selector; - Note: selector-destory closes all sockets in a list including connector and listener */ + Note: selector-destroy closes all sockets in a list including connector and listener */ Selector_Destroy(self->selector); /* Shutdown the network */ diff --git a/Unix/http/http_private.h b/Unix/http/http_private.h index 319bca139..25ad2530f 100644 --- a/Unix/http/http_private.h +++ b/Unix/http/http_private.h @@ -96,14 +96,14 @@ typedef struct _Http_SR_SocketData { MI_Boolean acceptDone; /* is server/provider is processing request - (to disbale timeout) */ + (to disable timeout) */ MI_Boolean requestIsBeingProcessed; /* receiving data */ char *recvBuffer; size_t recvBufferSize; size_t receivedSize; - Http_RecvState recvingState; + Http_RecvState receivingState; HttpHeaders recvHeaders; Page *recvPage; HttpRequestMsg *request; // request msg with the request page diff --git a/Unix/http/httpauth.c b/Unix/http/httpauth.c index c6a22a497..7940e9faa 100644 --- a/Unix/http/httpauth.c +++ b/Unix/http/httpauth.c @@ -837,7 +837,7 @@ static MI_Boolean _WriteAuthResponse(Http_SR_SocketData * handler, const char *p switch (SSL_get_error(handler->ssl, sent)) { - // These do not happen. We havfe already drained the socket + // These do not happen. We have already drained the socket // before we got here. case SSL_ERROR_WANT_WRITE: @@ -1197,19 +1197,19 @@ static __inline__ void traceSupplementaryInfo(OM_uint32 code) if (code & GSS_S_DUPLICATE_TOKEN) { - trace_HTTP_SupplimentaryInfo("GSS_S_DUPLICATE_TOKEN"); + trace_HTTP_SupplementaryInfo("GSS_S_DUPLICATE_TOKEN"); } if (code & GSS_S_OLD_TOKEN ) { - trace_HTTP_SupplimentaryInfo("GSS_S_OLD_TOKEN"); + trace_HTTP_SupplementaryInfo("GSS_S_OLD_TOKEN"); } if (code & GSS_S_UNSEQ_TOKEN ) { - trace_HTTP_SupplimentaryInfo("GSS_S_UNSEQ_TOKEN"); + trace_HTTP_SupplementaryInfo("GSS_S_UNSEQ_TOKEN"); } if (code & GSS_S_GAP_TOKEN) { - trace_HTTP_SupplimentaryInfo("GSS_S_GAP_TOKEN"); + trace_HTTP_SupplementaryInfo("GSS_S_GAP_TOKEN"); } } @@ -1704,7 +1704,7 @@ static MI_Result _ServerAuthenticateCallback(PamCheckUserResp *msg) handler->recvPage = 0; handler->receivedSize = 0; memset(&handler->recvHeaders, 0, sizeof(handler->recvHeaders)); - handler->recvingState = RECV_STATE_HEADER; + handler->receivingState = RECV_STATE_HEADER; return MI_RESULT_OK; } @@ -2277,7 +2277,7 @@ MI_Result Process_Authorized_Message( #if ENCRYPT_DECRYPT if (!Http_DecryptData(handler, &handler->recvHeaders, &handler->recvPage) ) { - // Failed decrypt. No encryption counts as success. So this is an error in the decrpytion, probably + // Failed decrypt. No encryption counts as success. So this is an error in the decryption, probably // bad credential return MI_RESULT_FAILED; diff --git a/Unix/http/httpclient.c b/Unix/http/httpclient.c index d1c43169a..412745a57 100644 --- a/Unix/http/httpclient.c +++ b/Unix/http/httpclient.c @@ -598,7 +598,7 @@ static Http_CallbackResult _ReadHeader( size_t allocSize = 0; /* are we done with header? */ - if (handler->recvingState != RECV_STATE_HEADER) + if (handler->receivingState != RECV_STATE_HEADER) { return PRT_CONTINUE; } @@ -729,7 +729,7 @@ static Http_CallbackResult _ReadHeader( /* remove consumed header part */ memmove(handler->recvBuffer, data, handler->receivedSize); - handler->recvingState = RECV_STATE_CHUNKHEADER; + handler->receivingState = RECV_STATE_CHUNKHEADER; return PRT_CONTINUE; } @@ -779,7 +779,7 @@ static Http_CallbackResult _ReadHeader( if (handler->receivedSize != 0) memcpy(handler->recvPage + 1, data, handler->receivedSize); - handler->recvingState = RECV_STATE_CONTENT; + handler->receivingState = RECV_STATE_CONTENT; /* Check the authentication. If we need to recycle, send a response to the response. */ @@ -791,13 +791,13 @@ static Http_CallbackResult _ReadHeader( switch (rslt) { case PRT_RETURN_TRUE: - LOGD2((ZT("_ReadHeader - not (yet) authorized. reslt = %d"), rslt)); + LOGD2((ZT("_ReadHeader - not (yet) authorized. result = %d"), rslt)); return rslt; case PRT_RETURN_FALSE: if (!handler->authorizing) { - LOGD2((ZT("_ReadHeader - ACCESS DENIED reslt = %d"), rslt)); + LOGD2((ZT("_ReadHeader - ACCESS DENIED result = %d"), rslt)); r = MI_RESULT_ACCESS_DENIED; goto Error; } @@ -846,7 +846,7 @@ static Http_CallbackResult _ReadData( /* are we in the right state? */ - if (handler->recvingState != RECV_STATE_CONTENT) + if (handler->receivingState != RECV_STATE_CONTENT) { LOGD2((ZT("_ReadData - recv state:skip"))); return PRT_RETURN_FALSE; @@ -910,13 +910,13 @@ static Http_CallbackResult _ReadData( if (!HttpClient_DecryptData(handler, &handler->recvHeaders, &handler->recvPage) ) { - // Failed decrypt. No encryption counts as success. So this is an error in the decrpytion, probably + // Failed decrypt. No encryption counts as success. So this is an error in the decryption, probably // bad credential handler->recvPage = 0; handler->receivedSize = 0; memset(&handler->recvHeaders, 0, sizeof(handler->recvHeaders)); - handler->recvingState = RECV_STATE_HEADER; + handler->receivingState = RECV_STATE_HEADER; goto Error; } else @@ -974,7 +974,7 @@ static Http_CallbackResult _ReadData( handler->recvPage = NULL; handler->receivedSize = 0; memset(&handler->recvHeaders, 0, sizeof(handler->recvHeaders)); - handler->recvingState = RECV_STATE_HEADER; /* TODO: We are needing to send new headers to server, not get headers from them */ + handler->receivingState = RECV_STATE_HEADER; /* TODO: We are needing to send new headers to server, not get headers from them */ LOGD2((ZT("_ReadData - OK exit"))); return PRT_CONTINUE; @@ -997,7 +997,7 @@ static Http_CallbackResult _ReadChunkHeader( MI_Boolean connectionClosed = MI_FALSE; /* are we done with header? */ - if (handler->recvingState != RECV_STATE_CHUNKHEADER) + if (handler->receivingState != RECV_STATE_CHUNKHEADER) return PRT_CONTINUE; buf = handler->recvBuffer + handler->receivedSize; @@ -1084,7 +1084,7 @@ static Http_CallbackResult _ReadChunkHeader( handler->recvPage = 0; handler->receivedSize = 0; memset(&handler->recvHeaders, 0, sizeof(handler->recvHeaders)); - handler->recvingState = RECV_STATE_HEADER; + handler->receivingState = RECV_STATE_HEADER; if (connectionClosed) { @@ -1156,7 +1156,7 @@ static Http_CallbackResult _ReadChunkHeader( } memcpy(handler->recvPage + 1, data, handler->receivedSize); - handler->recvingState = RECV_STATE_CHUNKDATA; + handler->receivingState = RECV_STATE_CHUNKDATA; if (connectionClosed) return PRT_RETURN_FALSE; /* connection closed */ @@ -1172,7 +1172,7 @@ static Http_CallbackResult _ReadChunkData( MI_Result r; /* are we in the right state? */ - if (handler->recvingState != RECV_STATE_CHUNKDATA) + if (handler->receivingState != RECV_STATE_CHUNKDATA) return PRT_RETURN_FALSE; buf = ((char*)(handler->recvPage + 1)) + handler->receivedSize; @@ -1216,7 +1216,7 @@ static Http_CallbackResult _ReadChunkData( handler->recvPage = 0; handler->receivedSize = 0; memset(&handler->recvHeaders, 0, sizeof(handler->recvHeaders)); - handler->recvingState = RECV_STATE_CHUNKHEADER; + handler->receivingState = RECV_STATE_CHUNKHEADER; return PRT_CONTINUE; } @@ -1428,7 +1428,7 @@ static MI_Boolean _RequestCallbackRead( case PRT_RETURN_FALSE: return MI_FALSE; } - if (handler->recvingState == RECV_STATE_CONTENT) + if (handler->receivingState == RECV_STATE_CONTENT) { switch (_ReadData(handler)) { @@ -1438,7 +1438,7 @@ static MI_Boolean _RequestCallbackRead( } } - if (handler->recvingState == RECV_STATE_CHUNKHEADER) + if (handler->receivingState == RECV_STATE_CHUNKHEADER) { switch (_ReadChunkHeader(handler)) { @@ -1447,7 +1447,7 @@ static MI_Boolean _RequestCallbackRead( case PRT_RETURN_FALSE: return MI_FALSE; } } - if (handler->recvingState == RECV_STATE_CHUNKDATA) + if (handler->receivingState == RECV_STATE_CHUNKDATA) { switch (_ReadChunkData(handler)) { @@ -1951,7 +1951,7 @@ static MI_Result _New_Http( self->internalSelectorUsed = MI_FALSE; } else - { /* creaet a new selector */ + { /* create a new selector */ /* Initialize the network */ Sock_Start(); @@ -2591,7 +2591,7 @@ MI_Result _UnpackDestinationOptions( private one is created. host - host address port - port number - secure - flag that indicates if http or https conneciton is required + secure - flag that indicates if http or https connection is required The old interface did not do authorisation. It only used SSL and handled authentication outboard via request and response callbacks diff --git a/Unix/http/httpclient.h b/Unix/http/httpclient.h index de4fc70cf..3ec95a97d 100644 --- a/Unix/http/httpclient.h +++ b/Unix/http/httpclient.h @@ -23,7 +23,7 @@ BEGIN_EXTERNC typedef struct _HttpClient HttpClient; /* array of strings (as declared in mi.h) - This strucutre has layout compatible with MI_StringArray + This structure has layout compatible with MI_StringArray and mi::StringA class This structure is used to send request. Sample of usage: @@ -99,7 +99,7 @@ typedef void (*HttpClientCallbackOnConnect)( /* Notifies user about response from server. First time it provides response headers - and may provide intial part of response content. + and may provide initial part of response content. It may be called several more times to deliver the rest of the content. Parameters: diff --git a/Unix/http/httpclient_private.h b/Unix/http/httpclient_private.h index 2ed01bb23..4c5210699 100644 --- a/Unix/http/httpclient_private.h +++ b/Unix/http/httpclient_private.h @@ -47,7 +47,7 @@ typedef struct _HttpClient_SR_SocketData { __field_ecount(recvBufferSize) char *recvBuffer; size_t recvBufferSize; size_t receivedSize; - Http_RecvState recvingState; + Http_RecvState receivingState; HttpClientHeaderField recvHeaderFields[64]; HttpClientResponseHeader recvHeaders; MI_Sint64 contentLength; @@ -74,7 +74,7 @@ typedef struct _HttpClient_SR_SocketData { /* Authorisation state */ MI_Boolean isAuthorized; // We don't have to do any more authorising MI_Boolean authorizing; // We are in the middle of the authorising process - MI_Boolean encrypting; // All data transfered is being encrypted. + MI_Boolean encrypting; // All data transferred is being encrypted. MI_Boolean readyToSend; // We can send data now. This may occur before the context is fully established depending on GSS_C_PROT_FLAG (if supported) AuthMethod authType; @@ -100,7 +100,7 @@ typedef struct _HttpClient_SR_SocketData { MI_Boolean secure; // This is an SSL connection (https) MI_Boolean isPrivate; // This connection is to be encrypted - MI_Char *errMsg; // Has a error mesisage produced in IsAuthorized or other areas + MI_Char *errMsg; // Has a error message produced in IsAuthorized or other areas // that have interesting information for CIMerror /* For the authorisation loop we need to retain the components of the original message */ diff --git a/Unix/http/httpclientauth.c b/Unix/http/httpclientauth.c index d822d8372..8db6d0939 100644 --- a/Unix/http/httpclientauth.c +++ b/Unix/http/httpclientauth.c @@ -2214,7 +2214,7 @@ HttpClient_NextAuthRequest(_In_ struct _HttpClient_SR_SocketData * self, _In_ co trace_HTTP_AuthComplete(); - self->encrypting = (self->negoFlags & (GSS_C_INTEG_FLAG | GSS_C_CONF_FLAG)) == (GSS_C_CONF_FLAG | GSS_C_INTEG_FLAG); // All data transfered will be encrypted. + self->encrypting = (self->negoFlags & (GSS_C_INTEG_FLAG | GSS_C_CONF_FLAG)) == (GSS_C_CONF_FLAG | GSS_C_INTEG_FLAG); // All data transferred will be encrypted. self->readyToSend = TRUE; self->authorizing = FALSE; self->isAuthorized = TRUE; @@ -2551,7 +2551,7 @@ static char *_BuildInitialGssAuthHeader(_In_ HttpClient_SR_SocketData * self, MI // Figure out the target name - { // Start with the fdqn + { // Start with the fqdn gss_buffer_desc buff = { 0 }; struct addrinfo hints, *info; @@ -2586,7 +2586,7 @@ static char *_BuildInitialGssAuthHeader(_In_ HttpClient_SR_SocketData * self, MI ((MI_Char *) buff.value)[buff.length] = 0; - // 2DO: If we dont have an fdqn we will use the addr + // 2DO: If we dont have an fqdn we will use the addr freeaddrinfo(info); @@ -2651,7 +2651,7 @@ static char *_BuildInitialGssAuthHeader(_In_ HttpClient_SR_SocketData * self, MI ((self->negoFlags & (GSS_C_INTEG_FLAG | GSS_C_CONF_FLAG)) == (GSS_C_INTEG_FLAG | GSS_C_CONF_FLAG)) && (!(self->negoFlags & GSS_C_PROT_READY_FLAG))) { - // We may be in complete, but we are not ready to encrypt so we short cirtuit isAuthorised + // We may be in complete, but we are not ready to encrypt so we short circuit isAuthorised self->authContext = context_hdl; self->targetName = target_name; self->authorizing = TRUE; @@ -2659,7 +2659,7 @@ static char *_BuildInitialGssAuthHeader(_In_ HttpClient_SR_SocketData * self, MI } else { - self->encrypting = (self->negoFlags & (GSS_C_INTEG_FLAG | GSS_C_CONF_FLAG)) == (GSS_C_CONF_FLAG | GSS_C_INTEG_FLAG); // All data transfered will be encrypted. + self->encrypting = (self->negoFlags & (GSS_C_INTEG_FLAG | GSS_C_CONF_FLAG)) == (GSS_C_CONF_FLAG | GSS_C_INTEG_FLAG); // All data transferred will be encrypted. self->readyToSend = TRUE; self->authorizing = FALSE; self->isAuthorized = TRUE; @@ -2867,7 +2867,7 @@ Http_CallbackResult HttpClient_IsAuthorized(_In_ struct _HttpClient_SR_SocketDat switch (pheaders->httpError) { case HTTP_ERROR_CODE_OK: - self->encrypting = (self->negoFlags & (GSS_C_INTEG_FLAG | GSS_C_CONF_FLAG)) == (GSS_C_CONF_FLAG | GSS_C_INTEG_FLAG); // All data transfered will be encrypted. + self->encrypting = (self->negoFlags & (GSS_C_INTEG_FLAG | GSS_C_CONF_FLAG)) == (GSS_C_CONF_FLAG | GSS_C_INTEG_FLAG); // All data transferred will be encrypted. self->readyToSend = TRUE; self->authorizing = FALSE; self->isAuthorized = TRUE; @@ -2921,7 +2921,7 @@ Http_CallbackResult HttpClient_IsAuthorized(_In_ struct _HttpClient_SR_SocketDat self->base.mask &= ~SELECTOR_READ; self->base.mask |= SELECTOR_WRITE; - self->recvingState = RECV_STATE_HEADER; + self->receivingState = RECV_STATE_HEADER; } return r; @@ -2949,7 +2949,7 @@ Http_CallbackResult HttpClient_IsAuthorized(_In_ struct _HttpClient_SR_SocketDat // Force it into read state so we can get the next header self->base.mask &= ~SELECTOR_WRITE; self->base.mask |= SELECTOR_READ; - self->recvingState = RECV_STATE_HEADER; + self->receivingState = RECV_STATE_HEADER; PAL_Free(reply); reply = NULL; @@ -2971,7 +2971,7 @@ Http_CallbackResult HttpClient_IsAuthorized(_In_ struct _HttpClient_SR_SocketDat self->base.mask &= ~SELECTOR_READ; self->base.mask |= SELECTOR_WRITE; - self->recvingState = RECV_STATE_HEADER; + self->receivingState = RECV_STATE_HEADER; } } diff --git a/Unix/http/sessionmap.c b/Unix/http/sessionmap.c index eadaabe50..90682f25d 100644 --- a/Unix/http/sessionmap.c +++ b/Unix/http/sessionmap.c @@ -87,7 +87,7 @@ static void _SessionBucket_Release(HashBucket *b) sessionId - the session id hash - the has value for the session id produced by _SessionId_Hash - NOTE: The caller must aquire a WriteLock. + NOTE: The caller must acquire a WriteLock. */ static SessionBucket* _SessionBucket_New(SessionMap *self, _In_z_ const char* sessionId, size_t hash) { diff --git a/Unix/http/sessionmap.h b/Unix/http/sessionmap.h index b19505fb2..4701f28dc 100644 --- a/Unix/http/sessionmap.h +++ b/Unix/http/sessionmap.h @@ -29,7 +29,7 @@ typedef struct _SessionMap Sets the session cookie for a session id. This function adds the session id to the map if it doesn't already exist. - To clear the session cookie, pass a NULL pointer. Clearning + To clear the session cookie, pass a NULL pointer. Clearing the session cookie does not remove the session from the SessionMap. Returns: diff --git a/Unix/indication/indimgr/cimbase.h b/Unix/indication/indimgr/cimbase.h index f25c74d38..0561b59f9 100644 --- a/Unix/indication/indimgr/cimbase.h +++ b/Unix/indication/indimgr/cimbase.h @@ -52,7 +52,7 @@ typedef struct _CimBaseFT /* **============================================================================== ** -** Represents a base strucutre for filter, hanlder, and subscription. +** Represents a base structure for filter, handler, and subscription. ** **============================================================================== */ diff --git a/Unix/indication/indimgr/filter.c b/Unix/indication/indimgr/filter.c index 2cbf71583..cf05f1bff 100644 --- a/Unix/indication/indimgr/filter.c +++ b/Unix/indication/indimgr/filter.c @@ -52,7 +52,7 @@ MI_Char* CreateFilterIdentifier(_In_ CimBase *self) case FILTER_UNARY_TEMP: /* TODO: get filter ID thread safely */ return GetID(g_FilterTempID++, TEMP_FILTER_ID_PREFIX, self->batch); - case FILTER_UNIARY_CONFIG: + case FILTER_UNARY_CONFIG: /* id is the filter instance's name/instanceid property */ break; case FILTER_COLLECTION_CONFIG: diff --git a/Unix/indication/indimgr/filter.h b/Unix/indication/indimgr/filter.h index 279fdd603..91db5e82d 100644 --- a/Unix/indication/indimgr/filter.h +++ b/Unix/indication/indimgr/filter.h @@ -23,15 +23,15 @@ BEGIN_EXTERNC ** ** Defines filter types. ** -** UNIARY_TEMP filter was created by subscription call. +** UNARY_TEMP filter was created by subscription call. ** -** UNIARY_TEMP & UNIARY_CONFIG filter: indication manager is responsible for +** UNARY_TEMP & UNARY_CONFIG filter: indication manager is responsible for ** paring query string and filter result indication instance; ** ** EVENTSTREAM_TEMP & EVENTSTREAM_CONFIG filter, indication manager just pass ** through the filter instance to provider; pass through the result indication instance; ** -** COLLECTION_CONFIG, it contains a set of UNIARY filters; +** COLLECTION_CONFIG, it contains a set of UNARY filters; ** ** For all *_CONFIG filters, it created by Create Instance operation on ** CIM_IndicationFilter or CIM_IndicationFilterCollection class. @@ -44,8 +44,8 @@ BEGIN_EXTERNC typedef enum _FilterType { FILTER_UNARY_TEMP, /* Temporary */ - FILTER_UNIARY_CONFIG, /* Configued by client: WQL & CQL */ - FILTER_COLLECTION_CONFIG /* Configued by client: Contains a Set of UNIARY filters */ + FILTER_UNARY_CONFIG, /* Configured by client: WQL & CQL */ + FILTER_COLLECTION_CONFIG /* Configured by client: Contains a Set of UNARY filters */ } FilterType; diff --git a/Unix/indication/indimgr/mgr.c b/Unix/indication/indimgr/mgr.c index 1e9626423..248d93f83 100644 --- a/Unix/indication/indimgr/mgr.c +++ b/Unix/indication/indimgr/mgr.c @@ -104,7 +104,7 @@ int IndiMgr_Shutdown(IndicationManager* self) */ /* Get object from list */ -/* Caller need to make sure the approriate lock was taken on the linked list */ +/* Caller need to make sure the appropriate lock was taken on the linked list */ CimBase* _List_FindObjectByID( _In_ CimBase* head, _In_ CimBase* tail, @@ -297,7 +297,7 @@ int IndiMgr_RemoveFilterByName( &self->filterLock); } -/* Find filter from cache, name (case insenstive) is the unique identifier of filter */ +/* Find filter from cache, name (case insensitive) is the unique identifier of filter */ _Use_decl_annotations_ FilterBase* IndiMgr_FindFilterByName( IndicationManager* self, diff --git a/Unix/indication/indimgr/mgrstrand.c b/Unix/indication/indimgr/mgrstrand.c index 1e3fbcaed..76021a212 100644 --- a/Unix/indication/indimgr/mgrstrand.c +++ b/Unix/indication/indimgr/mgrstrand.c @@ -24,7 +24,7 @@ ** (1) called by dispatcher to handle the subscribe/unsubscribe request(s), which ** come from protocol; ** (2) aggregates results messages (subscribe response, unsubscribe response, -** and indication instances) from provider; delivers subsribe response to +** and indication instances) from provider; delivers subscribe response to ** and indication instance(s) to protocol; ** **============================================================================== @@ -37,7 +37,7 @@ typedef struct _SubscribeEntry SubscribeEntry; ** ** This structure stores information of the request sent to the agentMgr; ** -** Upon a subscribe requrest reaches to indication manager, it will send +** Upon a subscribe request reaches to indication manager, it will send ** multi-sub messages to provider due to the subscribe may targets to ** multi-classes. One object of the structure is for one target class. ** @@ -141,7 +141,7 @@ void _SubscribeElem_Ack(_In_ Strand* self_) } /* - * Cancel can be callled due to protocol closed the connection + * Cancel can be called due to protocol closed the connection */ void _SubscribeElem_Cancel( _In_ Strand* self_) { @@ -298,7 +298,7 @@ void _SubscribeElem_NewEntry( return; } - /* calcuate handled class count */ + /* calculate handled class count */ se->nSent ++; se->nHandled ++; @@ -536,7 +536,7 @@ void _SubscribeEntry_Ack( _In_ Strand* self_) } /* - * Cancel can be callled due to the protocol (socket) was closed; + * Cancel can be called due to the protocol (socket) was closed; * Either lost the socket connection to client or server shutdown */ void _SubscribeEntry_Cancel( _In_ Strand* self) diff --git a/Unix/indication/indimgr/subscrip.h b/Unix/indication/indimgr/subscrip.h index ff47b0481..b3af5aeb6 100644 --- a/Unix/indication/indimgr/subscrip.h +++ b/Unix/indication/indimgr/subscrip.h @@ -43,7 +43,7 @@ SubscriptionPersistType; **============================================================================== ** ** Represents a CIM_IndicationSubscription OR CIM_FilterCollectionSubscription -** instance; Both are assocation classes that associate Filter and Listener +** instance; Both are association classes that associate Filter and Listener ** objects. ** **============================================================================== diff --git a/Unix/installbuilder/conf/omiserver.conf b/Unix/installbuilder/conf/omiserver.conf index db94d7d0d..55134946e 100644 --- a/Unix/installbuilder/conf/omiserver.conf +++ b/Unix/installbuilder/conf/omiserver.conf @@ -11,12 +11,12 @@ httpport=0 httpsport=0 ## -## idletimeout -- idle providers unload timeout in seconds (defualt is 90) +## idletimeout -- idle providers unload timeout in seconds (default is 90) ## #idletimeout=TIMEOUT ## -## loglevel -- set the loggiing options for MI server +## loglevel -- set the logging options for MI server ## Valid options are: ERROR, WARNING, INFO, DEBUG, VERBOSE (debug builds only) ## If commented out, then default value is: WARNING ## diff --git a/Unix/installbuilder/datafiles/Base_OMI.data b/Unix/installbuilder/datafiles/Base_OMI.data index af46ef423..cc5f04c0d 100644 --- a/Unix/installbuilder/datafiles/Base_OMI.data +++ b/Unix/installbuilder/datafiles/Base_OMI.data @@ -96,7 +96,7 @@ GetNewPAMConfig_file() { # Check to see if "other" is configured other_conf=`egrep "^[# ]*other[ ]+(auth|account)" ${{PAM_CONF_FILE}}` if [ $? -eq 0 ]; then - # "other" was found - use that (do not write any sort of new PAM configuraton) + # "other" was found - use that (do not write any sort of new PAM configuration) return 0 fi # Use passwd @@ -524,7 +524,7 @@ else WriteSSLconfig "$hostname" "$longhostname" - # When the FQDN is not RFC compliant, openssl fails to generate a cerificate. + # When the FQDN is not RFC compliant, openssl fails to generate a certificate. # We will try a fallback for the FQDN. GenerateKeyCert if [ $? -ne 0 ]; then @@ -563,7 +563,7 @@ chown omi:omi /etc/opt/omi/conf/sockets chmod 700 /etc/opt/omi/conf/sockets -# Fix potential permissons issue on /etc/opt/omi directory +# Fix potential permissions issue on /etc/opt/omi directory chown root:${{ROOT_GROUP_NAME}} /etc/opt/omi %Preuninstall_100 diff --git a/Unix/installbuilder/service_scripts/omid.rhel b/Unix/installbuilder/service_scripts/omid.rhel index 7c3c4b811..628e2fda8 100644 --- a/Unix/installbuilder/service_scripts/omid.rhel +++ b/Unix/installbuilder/service_scripts/omid.rhel @@ -2,7 +2,7 @@ ## # Copyright (c) Microsoft Corporation. All rights reserved. # -# Contains settings for the OMI WS-Management Deamon. +# Contains settings for the OMI WS-Management Daemon. # # @@ -16,7 +16,7 @@ # Description: Microsoft Open Management Infrastructure (OMI) Server ### END INIT INFO -#TEMPLATE_CODEVOV_ENV# +#TEMPLATE_CODECOV_ENV# OMI_HOME=/opt/omi OMI_NAME="Microsoft OMI Server" diff --git a/Unix/installbuilder/service_scripts/omid.sles b/Unix/installbuilder/service_scripts/omid.sles index 3be19d127..850d83653 100644 --- a/Unix/installbuilder/service_scripts/omid.sles +++ b/Unix/installbuilder/service_scripts/omid.sles @@ -2,7 +2,7 @@ ## # Copyright (c) Microsoft Corporation. All rights reserved. # -# Contains settings for the OMI WS-Management Deamon. +# Contains settings for the OMI WS-Management Daemon. # # diff --git a/Unix/installbuilder/service_scripts/omid.sun10 b/Unix/installbuilder/service_scripts/omid.sun10 index bd66cb7af..7e4be836c 100644 --- a/Unix/installbuilder/service_scripts/omid.sun10 +++ b/Unix/installbuilder/service_scripts/omid.sun10 @@ -30,7 +30,7 @@ OMI_LIBDIR=$OMI_HOME/lib LD_LIBRARY_PATH=/usr/local/lib:/usr/sfw/lib:$OMI_LIBDIR export LD_LIBRARY_PATH -#TEMPLATE_CODEVOV_ENV# +#TEMPLATE_CODECOV_ENV# # Settings for the service NAME=omiserver diff --git a/Unix/installbuilder/service_scripts/omid.ulinux b/Unix/installbuilder/service_scripts/omid.ulinux index 69db5d2f4..c46501d5c 100644 --- a/Unix/installbuilder/service_scripts/omid.ulinux +++ b/Unix/installbuilder/service_scripts/omid.ulinux @@ -2,7 +2,7 @@ ## # Copyright (c) Microsoft Corporation. All rights reserved. # -# Contains settings for the OMI WS-Management Deamon. +# Contains settings for the OMI WS-Management Daemon. # # diff --git a/Unix/installbuilder/service_scripts/omid.upstart b/Unix/installbuilder/service_scripts/omid.upstart index 712ba1e40..48577d285 100644 --- a/Unix/installbuilder/service_scripts/omid.upstart +++ b/Unix/installbuilder/service_scripts/omid.upstart @@ -1,7 +1,7 @@ ## ## Copyright (c) Microsoft Corporation. All rights reserved. ## -## Contains settings for the OMI WS-Management Deamon. +## Contains settings for the OMI WS-Management Daemon. ## ## # @@ -22,7 +22,7 @@ start on (starting network-interface INTERFACE=lo or starting networking) stop on (stopping network-interface INTERFACE=lo - or stoppng networking) + or stopping networking) console output diff --git a/Unix/installbuilder/service_scripts/service_control.linux b/Unix/installbuilder/service_scripts/service_control.linux index f9c2c6342..e164e618a 100755 --- a/Unix/installbuilder/service_scripts/service_control.linux +++ b/Unix/installbuilder/service_scripts/service_control.linux @@ -3,7 +3,7 @@ # # Helper functions for omi service control (Linux-specific) # -# This script can be "sourced" (if sourcing with the "functions" qualifer), +# This script can be "sourced" (if sourcing with the "functions" qualifier), # which may be used by the service control scripts. This allows for deeper # control of the process at a low level. # diff --git a/Unix/miapi/Application.c b/Unix/miapi/Application.c index e6aabd7af..677190635 100644 --- a/Unix/miapi/Application.c +++ b/Unix/miapi/Application.c @@ -360,7 +360,7 @@ long Application_Shutdown(_Inout_ ApplicationObject *applicationObject) } } - /*Another thread cleared ActiveBit. That is rather worrisom*/ + /*Another thread cleared ActiveBit. That is rather worrisome*/ return 0; } @@ -706,7 +706,7 @@ MI_EXTERN_C MI_Result Application_SetTestTransport( * handler is NULL it will pick the default for local/remote * destination. * protocolHandler - If specified is the protocol handler string. - * protocolHnadlerApplication - MI_Application for the protocll handler + * protocolHandlerApplication - MI_Application for the protocol handler * exposing the function table to the handler. * * Return code: MI_Result code diff --git a/Unix/miapi/Application.h b/Unix/miapi/Application.h index 1218fd56d..be357a60c 100644 --- a/Unix/miapi/Application.h +++ b/Unix/miapi/Application.h @@ -39,7 +39,7 @@ MI_Result Application_NewGenericHandle( * handler is NULL it will pick the default for local/remote * destination. * protocolHandler - If specified is the protocol handler string. - * protocolHnadlerApplication - MI_Application for the protocll handler + * protocolHandlerApplication - MI_Application for the protocol handler * exposing the function table to the handler. * * Return code: MI_Result code diff --git a/Unix/miapi/ChildList.h b/Unix/miapi/ChildList.h index f319be4f9..c4701ed9d 100644 --- a/Unix/miapi/ChildList.h +++ b/Unix/miapi/ChildList.h @@ -163,7 +163,7 @@ MI_INLINE int ChildList_GetCurrentList(_Inout_ ChildList *list, _Out_cap_post_co ChildListNode *currentNode = list->headNode; (*outboundUsed) = 0; while (currentNode && - ((*outboundUsed) < inboundSize)) //redumbdant check to shut prefast up, it does not know list->childCount is how many items in list + ((*outboundUsed) < inboundSize)) //redundant check to shut prefast up, it does not know list->childCount is how many items in list { outstandingHandles[*outboundUsed].clientHandle = currentNode->clientHandle; outstandingHandles[*outboundUsed].debugHandlePointer = ¤tNode->clientHandle; diff --git a/Unix/miapi/InteractionProtocolHandler.c b/Unix/miapi/InteractionProtocolHandler.c index 78ddb1322..b322e28e3 100644 --- a/Unix/miapi/InteractionProtocolHandler.c +++ b/Unix/miapi/InteractionProtocolHandler.c @@ -587,7 +587,7 @@ static void InteractionProtocolHandler_Operation_Strand_Finish( _In_ Strand* sel over the binary protocol. Behavior: - - Post implementes different behaviour depending on the type of message + - Post implemented different behaviour depending on the type of message being posted * For PostInstanceMsg stores the instance in a cache var, and if there is previous cached instance not yet delivered will deliver that one first @@ -595,7 +595,7 @@ static void InteractionProtocolHandler_Operation_Strand_Finish( _In_ Strand* sel * For PostIndicationMsg always delivers it to the client asynchronously. * For PostResultMsg it will delivered it thru the proper callback and set callingFinalResult to 1 to indicate final result already sent. - Also note that NoOpRsp is another case of inal result. + Also note that NoOpRsp is another case of final result. * PostSchemaMsg is treated the same as PostInstanceMsg with the same cached var mechanism. * SubscribeRes is just acked immediately as nothing is needed there @@ -605,7 +605,7 @@ static void InteractionProtocolHandler_Operation_Strand_Finish( _In_ Strand* sel - Ack does nothing as there are no secondary messages to be sent to the protocol - Post control notified when the connect has succeeded (or failed). If succeeded - the request corresponding to the operartion is send there. + the request corresponding to the operation is send there. - Cancel does nothing at this point. - Close sends the final result if not being sent already (as indicated by callingFinalResult set on Post) diff --git a/Unix/miapi/Operation.c b/Unix/miapi/Operation.c index 9d2a77290..a8a7bb618 100644 --- a/Unix/miapi/Operation.c +++ b/Unix/miapi/Operation.c @@ -32,16 +32,16 @@ typedef enum OPERATION_INSTANCE, OPERATION_CLASS, OPERATION_INDICATION -} OPERATATION_TYPE; +} OPERATION_TYPE; typedef struct _OperationObject OperationObject; struct _OperationObject { - /* Linked list for child session operatons. Includes clients operation handle */ + /* Linked list for child session operations. Includes clients operation handle */ ChildListNode operationNode; /* Type of operation */ - OPERATATION_TYPE operationType; + OPERATION_TYPE operationType; /* Copy of parent session so we can copy it */ MI_Session clientSession; @@ -185,7 +185,7 @@ MI_Result MI_CALL Operation_OperationCallback_PromptUser_Callback( operationObject->ph_promptUserResult_callback(&operationObject->protocolHandlerOperation, response); - /* Relesing twice, once for the reference added in callback and other for reference added in this completion callback */ + /* Releasing twice, once for the reference added in callback and other for reference added in this completion callback */ ThunkHandle_Release(genericHandle->thunkHandle); ThunkHandle_Release(genericHandle->thunkHandle); @@ -219,7 +219,7 @@ void MI_CALL Operation_OperationCallback_PromptUser( { OperationObject *operationObject = (OperationObject *) callbackContext; GenericHandle *genericHandle = &operationObject->operationNode.clientHandle; - MI_OperationCallback_ResponseType autoResonse = operationObject->promptUserModeAckMode == MI_TRUE ? + MI_OperationCallback_ResponseType autoResponse = operationObject->promptUserModeAckMode == MI_TRUE ? MI_OperationCallback_ResponseType_Yes : MI_OperationCallback_ResponseType_No; ThunkHandle *thunkHandle; @@ -246,7 +246,7 @@ void MI_CALL Operation_OperationCallback_PromptUser( TerminateProcess(GetCurrentProcess(), -1); } //Do auto ack based on client's preference - promptUserResult(&operationObject->protocolHandlerOperation, autoResonse); + promptUserResult(&operationObject->protocolHandlerOperation, autoResponse); } else { @@ -261,7 +261,7 @@ void MI_CALL Operation_OperationCallback_PromptUser( { //Do auto ack based on client's preference bExecutePromptUser = MI_FALSE; - promptUserResult(&operationObject->protocolHandlerOperation, autoResonse); + promptUserResult(&operationObject->protocolHandlerOperation, autoResponse); ThunkHandle_Release(thunkHandle); } @@ -287,7 +287,7 @@ void MI_CALL Operation_OperationCallback_PromptUser( } else { - //TODO: Set interal state to BROKEN so MI_Operation_Close will succeed + //TODO: Set internal state to BROKEN so MI_Operation_Close will succeed operationObject->currentState = Broken; } } @@ -330,7 +330,7 @@ MI_Result MI_CALL Operation_OperationCallback_WriteError_Callback(_In_ MI_Operat operationObject->ph_writeErrorResult_callback(&operationObject->protocolHandlerOperation, response); - /* Relesing twice, once for the reference added in callback and other for reference added in this completion callback */ + /* Releasing twice, once for the reference added in callback and other for reference added in this completion callback */ ThunkHandle_Release(genericHandle->thunkHandle); ThunkHandle_Release(genericHandle->thunkHandle); @@ -395,7 +395,7 @@ void MI_CALL Operation_OperationCallback_WriteError( } else { - //TODO: Set interal state to BROKEN so MI_Operation_Close will succeed + //TODO: Set internal state to BROKEN so MI_Operation_Close will succeed operationObject->currentState = Broken; } } @@ -433,7 +433,7 @@ MI_Result MI_CALL Operation_OperationCallback_StreamedParameter_Callback( operationObject->ph_streamedParameterResult_callback(&operationObject->protocolHandlerOperation); - /* Relesing twice, once for the reference added in callback and other for reference added in this completion callback */ + /* Releasing twice, once for the reference added in callback and other for reference added in this completion callback */ ThunkHandle_Release(genericHandle->thunkHandle); ThunkHandle_Release(genericHandle->thunkHandle); @@ -506,7 +506,7 @@ void MI_CALL Operation_OperationCallback_StreamedParameter( } else { - //TODO: Set interal state to BROKEN so MI_Operation_Close needs to succeed + //TODO: Set internal state to BROKEN so MI_Operation_Close needs to succeed operationObject->currentState = Broken; } @@ -555,7 +555,7 @@ void MI_CALL Operation_OperationCallback_WriteMessage( } else { - //TODO: Set interal state to BROKEN so MI_Operation_Close needs to succeed + //TODO: Set internal state to BROKEN so MI_Operation_Close needs to succeed operationObject->currentState = Broken; } @@ -601,7 +601,7 @@ void MI_CALL Operation_OperationCallback_WriteProgress( } else { - //TODO: Set interal state to BROKEN so MI_Operation_Close needs to succeed + //TODO: Set internal state to BROKEN so MI_Operation_Close needs to succeed operationObject->currentState = Broken; } @@ -973,7 +973,7 @@ void MI_CALL Operation_OperationCallback_Instance( } else { - //TODO: Set interal state to BROKEN so MI_Operation_Close needs to succeed + //TODO: Set internal state to BROKEN so MI_Operation_Close needs to succeed //operationObject->currentState = Broken; } if (!manualAck || (impersonationResult != MI_RESULT_OK)) @@ -1063,7 +1063,7 @@ void MI_CALL Operation_OperationCallback_Class( } else { - //TODO: Set interal state to BROKEN so MI_Operation_Close needs to succeed + //TODO: Set internal state to BROKEN so MI_Operation_Close needs to succeed operationObject->currentState = Broken; } @@ -1155,7 +1155,7 @@ void MI_CALL Operation_OperationCallback_Indication( } else { - //TODO: Set interal state to BROKEN so MI_Operation_Close needs to succeed + //TODO: Set internal state to BROKEN so MI_Operation_Close needs to succeed operationObject->currentState = Broken; } @@ -1276,7 +1276,7 @@ MI_Result MI_CALL Operation_Close( } } - /* ack last data if present in case of syncrhonous */ + /* ack last data if present in case of synchronous */ if (tmpResultAcknowledgement) { operationObject->instanceResult = NULL; @@ -1420,7 +1420,7 @@ MI_Result MI_CALL Operation_GetParentSession( * a special error reporting function table that extracts error from the handle. */ void Operation_Execute_SetupFailure( - OPERATATION_TYPE operationType, + OPERATION_TYPE operationType, MI_Result failureCode, _In_opt_ MI_OperationCallbacks *callbacks, _In_opt_ MI_Session *parentSession, @@ -1529,7 +1529,7 @@ void Operation_Execute_SetupFailure( MI_Result Operation_Execute_SetupOperation( _In_ MI_Session *session, MI_Uint32 flags, - OPERATATION_TYPE operationType, + OPERATION_TYPE operationType, _In_opt_ MI_OperationOptions *options, _In_opt_ MI_OperationCallbacks *callbacks, _In_opt_z_ const MI_Char *operationName, @@ -2896,8 +2896,8 @@ MI_Result MI_CALL Operation_GetInstance_Result( operationObject->ph_instance_resultAcknowledgement = NULL; /* Calling ack so clear it out */ operationObject->instanceResult = NULL; /* Ack-ing result so wipe it out */ operationObject->consumedResult = MI_FALSE; /* Reset consumped result as we have not consumed the one we have not got yet */ - operationObject->instanceCallbackReceived = 0; /* Reset the callback receieved as we need to get the next one */ - tmpResultAcknowledgement(&operationObject->protocolHandlerOperation); /* Ack, we can get callback imediately on this thread, unwind and process next imediately */ + operationObject->instanceCallbackReceived = 0; /* Reset the callback received as we need to get the next one */ + tmpResultAcknowledgement(&operationObject->protocolHandlerOperation); /* Ack, we can get callback immediately on this thread, unwind and process next immediately */ /* Now we are ready to get more results */ } @@ -2945,7 +2945,7 @@ MI_Result MI_CALL Operation_GetInstance_Result( ThunkHandle_Release(thunkHandle); } - trace_MIClient_OperationInstancResultSync(operationObject->clientSessionPtr, operationObject->clientOperationPtr, operationObject, operationObject->resultCode, operationObject->moreResults?MI_T("TRUE"):MI_T("FALSE")); + trace_MIClient_OperationInstanceResultSync(operationObject->clientSessionPtr, operationObject->clientOperationPtr, operationObject, operationObject->resultCode, operationObject->moreResults?MI_T("TRUE"):MI_T("FALSE")); } else { @@ -3078,8 +3078,8 @@ MI_Result MI_CALL Operation_GetIndication_Result( operationObject->bookmark = NULL; operationObject->machineID = NULL; operationObject->consumedResult = MI_FALSE; /* Reset consumped result as we have not consumed the one we have not got yet */ - operationObject->instanceCallbackReceived = 0; /* Reset the callback receieved as we need to get the next one */ - tmpResultAcknowledgement(&operationObject->protocolHandlerOperation); /* Ack, we can get callback imediately on this thread, unwind and process next imediately */ + operationObject->instanceCallbackReceived = 0; /* Reset the callback received as we need to get the next one */ + tmpResultAcknowledgement(&operationObject->protocolHandlerOperation); /* Ack, we can get callback immediately on this thread, unwind and process next immediately */ /* Now we are ready to get more results */ } @@ -3179,7 +3179,7 @@ MI_Result MI_CALL Operation_GetClass_Result( _Outptr_opt_result_maybenull_z_ const MI_Char **errorMessage, _Outptr_opt_result_maybenull_ const MI_Instance **completionDetails) { - /* valudate parameters */ + /* validate parameters */ if ((operation == NULL) || (classResult == NULL)) { if (result) @@ -3250,8 +3250,8 @@ MI_Result MI_CALL Operation_GetClass_Result( operationObject->ph_instance_resultAcknowledgement = NULL; /* Calling ack so clear it out */ operationObject->classResult = NULL; /* Ack-ing result so wipe it out */ operationObject->consumedResult = MI_FALSE; /* Reset consumped result as we have not consumed the one we have not got yet */ - operationObject->instanceCallbackReceived = 0; /* Reset the callback receieved as we need to get the next one */ - tmpResultAcknowledgement(&operationObject->protocolHandlerOperation); /* Ack, we can get callback imediately on this thread, unwind and process next imediately */ + operationObject->instanceCallbackReceived = 0; /* Reset the callback received as we need to get the next one */ + tmpResultAcknowledgement(&operationObject->protocolHandlerOperation); /* Ack, we can get callback immediately on this thread, unwind and process next immediately */ /* Now we are ready to get more results */ } diff --git a/Unix/miapi/ProtocolHandlerCache.c b/Unix/miapi/ProtocolHandlerCache.c index c43438872..886cf23f4 100644 --- a/Unix/miapi/ProtocolHandlerCache.c +++ b/Unix/miapi/ProtocolHandlerCache.c @@ -207,7 +207,7 @@ MI_Result ProtocolHandlerCache_CreateAllProtocolEntries(_Inout_ ProtocolHandlerC if (ret == MI_RESULT_OK) { - /* Handler staticly compiled in ones now */ + /* Handler statically compiled in ones now */ for (staticHandlerLoop = 0; staticHandlerLoop != sizeof(g_staticallyLoadedProtocolHandlers)/sizeof(g_staticallyLoadedProtocolHandlers[0]); staticHandlerLoop++) { ProtocolHandlerCacheItem *item; @@ -346,7 +346,7 @@ MI_EXTERN_C MI_Result ProtocolHandlerCache_DeInitialize(_Inout_ ProtocolHandlerC return MI_RESULT_OK; } -/* LOCK MUST ALREADY BE AQUIRED */ +/* LOCK MUST ALREADY BE ACQUIRED */ _Success_(return == MI_RESULT_OK) MI_Result ProtocolHandlerCache_FindProtocolHandler(_Inout_ ProtocolHandlerCache *cache, _In_z_ const MI_Char *name, _Outptr_ ProtocolHandlerCacheItem **cacheItem) { diff --git a/Unix/miapi/SafeHandle.c b/Unix/miapi/SafeHandle.c index 095defac2..d1fdcf021 100644 --- a/Unix/miapi/SafeHandle.c +++ b/Unix/miapi/SafeHandle.c @@ -62,7 +62,7 @@ void ThunkHandleManager_DeInitialize(_Inout_ ThunkHandleManager *manager) */ void ThunkHandleManager_RecycleHandle(_Inout_ ThunkHandle *thunkHandle) { - /* Invlidate this handle by bumping the thunk handle version */ + /* Invalidate this handle by bumping the thunk handle version */ Atomic_Inc(&thunkHandle->version); /* Add thunk handle to free list */ @@ -83,7 +83,7 @@ MI_Result ThunkHandleManager_GetHandle(_Inout_ ThunkHandleManager *manager, _Out *thunkHandle = (ThunkHandle*) SList_PopAtomic(&manager->freeList); if (*thunkHandle == NULL) { - /* Not there, allocate a new one using alligned memory */ + /* Not there, allocate a new one using aligned memory */ *thunkHandle = (ThunkHandle *) _aligned_malloc(sizeof(ThunkHandle), MEMORY_ALLOCATION_ALIGNMENT); if (*thunkHandle) { @@ -149,7 +149,7 @@ _Check_return_ int ThunkHandle_AddRef(_Inout_ ThunkHandle *thunkHandle) _Check_return_ int ThunkHandle_AddRef_ForCompletionCallback(_Inout_ ThunkHandle *thunkHandle) { ptrdiff_t n; - /* Checking for atleast one reference before increasing the refcount, irrespective of acitve bit set or not */ + /* Checking for atleast one reference before increasing the refcount, irrespective of active bit set or not */ for (n = thunkHandle->refcount; n & (~ActiveBit); n = thunkHandle->refcount) { if (Atomic_CompareAndSwap(&thunkHandle->refcount, n, n + 1) == n) diff --git a/Unix/miapi/SafeHandle.h b/Unix/miapi/SafeHandle.h index 4f60a160f..6cd0a36c1 100644 --- a/Unix/miapi/SafeHandle.h +++ b/Unix/miapi/SafeHandle.h @@ -40,7 +40,7 @@ struct _ThunkHandle void *object; /* When allocated, object points to real session/operation/etc */ } u; - /* Handle version number. When accessing handle this is comapred with generic handle version to make sure it matches */ + /* Handle version number. When accessing handle this is compared with generic handle version to make sure it matches */ volatile ptrdiff_t version; ThunkHandleManager *handleManager; /* So we know where this object goes when freed */ diff --git a/Unix/miapi/Session.c b/Unix/miapi/Session.c index e6f74184d..65620e2a1 100644 --- a/Unix/miapi/Session.c +++ b/Unix/miapi/Session.c @@ -801,7 +801,7 @@ MI_Result Session_AccessCheck(_In_ MI_Session *session, _In_opt_z_ const MI_Char trace_MIEnter(__FUNCTION__, session); - /* NOTE: Access check may be called from Operat_Cancel or Operation_Close after the + /* NOTE: Access check may be called from Operation_Cancel or Operation_Close after the * session has been closed. Therefore do thunk and ignore Active bit on handle. */ ThunkHandle_FromGeneric_ForCompletionCallback((GenericHandle*)session, &sessionThunk); diff --git a/Unix/micxx/instance.h b/Unix/micxx/instance.h index 115e26ce4..dca511667 100644 --- a/Unix/micxx/instance.h +++ b/Unix/micxx/instance.h @@ -61,7 +61,7 @@ class MICXX_LINKAGE Instance return GetHeader(m_instance)->u.s.m_disableCopyOnWrite ? false : true; } - // Forces a copy-on-write operation (if refrence count is not 1). After + // Forces a copy-on-write operation (if reference count is not 1). After // calling this function, the instance will have a pointer to its own // copy of MI_Instance whose reference count is 1. void __forceCopyOnWrite() diff --git a/Unix/mof/buffer.c b/Unix/mof/buffer.c index fb10ca620..14efab19f 100644 --- a/Unix/mof/buffer.c +++ b/Unix/mof/buffer.c @@ -40,7 +40,7 @@ int Buffer_Append(Buffer* self, const void* data , size_t size) capacity = self->size + size; - /* Grow buffer if neceessary */ + /* Grow buffer if necessary */ if (capacity > self->capacity) { size_t r = 16; diff --git a/Unix/mof/mof.l b/Unix/mof/mof.l index 96e6e2358..76d5a136f 100644 --- a/Unix/mof/mof.l +++ b/Unix/mof/mof.l @@ -343,7 +343,7 @@ whiteSpaceChar [ \r\n\t\b\f] } \/\* { - /* C-sytle comments */ + /* C-style comments */ int c; int prev; @@ -725,7 +725,7 @@ int openIncludeFile(const char* path_) if ((path = findIncludeFile(path_)) == NULL) { yyerrorf(ID_FAILED_TO_FIND_INCLUDE_FILE, - "failed to find inlude file: \"%s\"", path_); + "failed to find include file: \"%s\"", path_); return -1; } diff --git a/Unix/mof/mof.y b/Unix/mof/mof.y index 0807846ed..2c6f8b54f 100644 --- a/Unix/mof/mof.y +++ b/Unix/mof/mof.y @@ -639,7 +639,7 @@ qualifier if (InitializerToValue(&$2, qd->type, &value) != 0) { yyerrorf(ID_INVALID_QUALIFIER_INITIALIZER, - "invalid initializer for qualifer: \"%s\"", $1); + "invalid initializer for qualifier: \"%s\"", $1); YYABORT; } @@ -694,7 +694,7 @@ qualifier if (InitializerToValue(&$2, qd->type, &value) != 0) { yyerrorf(ID_INVALID_QUALIFIER_INITIALIZER, - "invalid initializer for qualifer: \"%s\"", $1); + "invalid initializer for qualifier: \"%s\"", $1); YYABORT; } @@ -1899,7 +1899,7 @@ scope flavorExpr : ',' TOK_FLAVOR '(' flavorList ')' { - /* Reject incompatiable ToSubclass and Restricted flavors */ + /* Reject incompatible ToSubclass and Restricted flavors */ if ($4 & MI_FLAG_TOSUBCLASS && $4 & MI_FLAG_RESTRICTED) { yyerrorf(ID_INCOMPATIBLE_FLAVORS, "incompatible flavors: %s/%s", @@ -1907,7 +1907,7 @@ flavorExpr YYABORT; } - /* Reject incompatiable EnableOverride and DisableOverride flavors */ + /* Reject incompatible EnableOverride and DisableOverride flavors */ if ($4 & MI_FLAG_ENABLEOVERRIDE && $4 & MI_FLAG_DISABLEOVERRIDE) { yyerrorf(ID_INCOMPATIBLE_FLAVORS, "incompatible flavors: %s/%s", diff --git a/Unix/mof/moflexinc.c b/Unix/mof/moflexinc.c index 81b0512bd..3ac1b7749 100644 --- a/Unix/mof/moflexinc.c +++ b/Unix/mof/moflexinc.c @@ -1218,7 +1218,7 @@ case 41: YY_RULE_SETUP #line 345 "mof.l" { - /* C-sytle comments */ + /* C-style comments */ int c; int prev; @@ -2565,7 +2565,7 @@ int openIncludeFile(const char* path_) if ((path = findIncludeFile(path_)) == NULL) { yyerrorf(ID_FAILED_TO_FIND_INCLUDE_FILE, - "failed to find inlude file: \"%s\"", path_); + "failed to find include file: \"%s\"", path_); return -1; } diff --git a/Unix/mof/mofyaccinc.c b/Unix/mof/mofyaccinc.c index a6aac5dc9..52af251f6 100644 --- a/Unix/mof/mofyaccinc.c +++ b/Unix/mof/mofyaccinc.c @@ -1511,7 +1511,7 @@ case 32: if (InitializerToValue(&yystack.l_mark[0].initializer, qd->type, &value) != 0) { yyerrorf(ID_INVALID_QUALIFIER_INITIALIZER, - "invalid initializer for qualifer: \"%s\"", yystack.l_mark[-1].string); + "invalid initializer for qualifier: \"%s\"", yystack.l_mark[-1].string); YYABORT; } @@ -1570,7 +1570,7 @@ case 34: if (InitializerToValue(&yystack.l_mark[-2].initializer, qd->type, &value) != 0) { yyerrorf(ID_INVALID_QUALIFIER_INITIALIZER, - "invalid initializer for qualifer: \"%s\"", yystack.l_mark[-3].string); + "invalid initializer for qualifier: \"%s\"", yystack.l_mark[-3].string); YYABORT; } @@ -2937,7 +2937,7 @@ break; case 143: #line 1901 "mof.y" { - /* Reject incompatiable ToSubclass and Restricted flavors */ + /* Reject incompatible ToSubclass and Restricted flavors */ if (yystack.l_mark[-1].flags & MI_FLAG_TOSUBCLASS && yystack.l_mark[-1].flags & MI_FLAG_RESTRICTED) { yyerrorf(ID_INCOMPATIBLE_FLAVORS, "incompatible flavors: %s/%s", @@ -2945,7 +2945,7 @@ case 143: YYABORT; } - /* Reject incompatiable EnableOverride and DisableOverride flavors */ + /* Reject incompatible EnableOverride and DisableOverride flavors */ if (yystack.l_mark[-1].flags & MI_FLAG_ENABLEOVERRIDE && yystack.l_mark[-1].flags & MI_FLAG_DISABLEOVERRIDE) { yyerrorf(ID_INCOMPATIBLE_FLAVORS, "incompatible flavors: %s/%s", diff --git a/Unix/mof/state.h b/Unix/mof/state.h index f1f12c808..8fda53cbc 100644 --- a/Unix/mof/state.h +++ b/Unix/mof/state.h @@ -23,7 +23,7 @@ ** ** This structure maintains the static parser state for the current parser ** invocation. It maintains the heap, errors, warnings, class declarations, -** and qulifier declarations. +** and qualifier declarations. ** **============================================================================== */ diff --git a/Unix/mof/types.c b/Unix/mof/types.c index dcc502b97..4c7738abe 100644 --- a/Unix/mof/types.c +++ b/Unix/mof/types.c @@ -260,7 +260,7 @@ static int _StrToDatetime(const char* str, MI_Datetime* result) means use the local time zone. In this implementation, this is only useful for the year, month, and day fields, because the asterisk fields are returned as 0, which is a valid hour, - minute, second, micorosecond and time zone ("+***" becomes + minute, second, microsecond and time zone ("+***" becomes "+000", which is UTC). If support for repetitive times in these fields is needed, perhaps the non time zone fields in MI_DateTime::u.timestamp can be made signed @@ -2648,7 +2648,7 @@ MI_Boolean Identical(const void* v1, const void* v2, MI_Type type) ** Next non-restricted inherited qualifiers are appended to this list. ** Finally derived qualifiers are applied to the list. Qualifiers not ** already in the list are appended. Qualifiers already in the list are -** overriden. +** overridden. ** ** Propagation is performed using the MI_Qualifier.flavor whose bits may be ** masked by these macros. diff --git a/Unix/nits/base/Switch.cpp b/Unix/nits/base/Switch.cpp index bbce39bd0..d49021528 100644 --- a/Unix/nits/base/Switch.cpp +++ b/Unix/nits/base/Switch.cpp @@ -799,7 +799,7 @@ void Test::ContinueProcessingAfterBody() } } - // if we are marked for rerunnning entire tree under this node, dont run fault injection here + // if we are marked for rerunning entire tree under this node, dont run fault injection here // in that case run it at the end after running all cleanups if(!m_markedForRerunInFaultSimulation) { @@ -1163,7 +1163,7 @@ NITS_EXPORT void NITS_CALL NitsSetup_NewInterfaceTest(TestSystem::Switch &test) prevParent->m_sameLayerContinuation = currentParent; } - // this helps with multiple inheritance; if some other fixture already put the prevLayerContiuationLink into current parent, that is sufficient; the second link is not required + // this helps with multiple inheritance; if some other fixture already put the prevLayerContinuationLink into current parent, that is sufficient; the second link is not required if(currentParent->m_prevLayerContinuation == 0) { currentParent->m_prevLayerContinuation = &test; diff --git a/Unix/nits/base/nits.h b/Unix/nits/base/nits.h index a7a734497..c580fd8ca 100644 --- a/Unix/nits/base/nits.h +++ b/Unix/nits/base/nits.h @@ -1205,7 +1205,7 @@ NITS_EXPORT void NITS_CALL NitsTestCreate( _In_ void (NITS_CALL *body)(Switch &), bool deleteMeAfterRun = false); -/* Only test code in nits process can call this to get parameter passed to the nits commandline */ +/* Only test code in nits process can call this to get parameter passed to the nits command-line */ NITS_EXPORT const PAL_Char *NITS_CALL NitsTestGetParam(_In_z_ const PAL_Char *paramName); /* Only test code in nits process can call this to enable faultsim for all tests from this point */ @@ -2292,8 +2292,8 @@ void Crash_##name(TypeOfFixture(name) *_NitsContext) { TestSystem::Switch *curre // TODO:Get the following syntax to work -// plan is to use the current fixture syntax and define a function with three lables for setup/body/cleanup and -// have all the setup/body/cleanup fixtures call into that function which will go to a specific lable depending on +// plan is to use the current fixture syntax and define a function with three labels for setup/body/cleanup and +// have all the setup/body/cleanup fixtures call into that function which will go to a specific label depending on // who is calling it /* NitsTestGroup(foo) diff --git a/Unix/nits/injector/injector.cpp b/Unix/nits/injector/injector.cpp index 83b985859..408c12698 100644 --- a/Unix/nits/injector/injector.cpp +++ b/Unix/nits/injector/injector.cpp @@ -487,10 +487,10 @@ unsigned long InjectorSetup() Tcscat(nameSignal, 128, convertedStr); Tcscat(nameWait, 128, convertedStr); - /* The semaphre signalled by the product to us. */ + /* The semaphore signalled by the product to us. */ g_signalSemaphoreInitialized = (0 == NamedSem_Open_Injected(&g_signalSemaphore, SEM_USER_ACCESS_ALLOW_ALL, 0, nameSignal, NAMEDSEM_FLAG_CREATE, NitsReservedCallSite())); - /* The product waits on this semaphre to continue execution. */ + /* The product waits on this semaphore to continue execution. */ g_waitSemaphoreInitialized = (0 == NamedSem_Open_Injected(&g_waitSemaphore, SEM_USER_ACCESS_ALLOW_ALL, 0, nameWait, NAMEDSEM_FLAG_CREATE, NitsReservedCallSite())); Tcscat(nameLock, 128, convertedStr); diff --git a/Unix/oi/gen_c/cmdline/main.c b/Unix/oi/gen_c/cmdline/main.c index 3f1390df2..f52ebb6b8 100644 --- a/Unix/oi/gen_c/cmdline/main.c +++ b/Unix/oi/gen_c/cmdline/main.c @@ -37,7 +37,7 @@ int main(int argc, char** argv) static const char HELP[] = "\ Open Instrumentation Generator \n\ \n\ -The Open Istrumentation allows developers to \n\ +The Open Instrumentation allows developers to \n\ - define event schemas by defining C function signatures\n\ - annotate the signatures with formatting strings\n\ \n\ diff --git a/Unix/oi/gen_c/common/OIParser.c b/Unix/oi/gen_c/common/OIParser.c index 7eef47ab1..d3ad42bd7 100644 --- a/Unix/oi/gen_c/common/OIParser.c +++ b/Unix/oi/gen_c/common/OIParser.c @@ -174,7 +174,7 @@ static int _StartsWith(_In_z_ char * line, _In_z_ char * str) return 0; } -/* Strip away paranthesis ( ); modifies string in-place */ +/* Strip away parentheses ( ); modifies string in-place */ static char * _GetArgsAsString(_In_z_ char * line) { char * pos; @@ -410,7 +410,7 @@ static MI_Boolean _ParseOIDefault(_In_z_ char * line, _In_ OIDefaults * defaults ignore = Strtok(line, "()", &next_token); if(!ignore) { - OIERROR1("Expected OI_SETDEFAULT(X(Y)) but found no paranthesis characters at all! %s", line); + OIERROR1("Expected OI_SETDEFAULT(X(Y)) but found no parentheses characters at all! %s", line); return MI_FALSE; } @@ -621,7 +621,7 @@ static MI_Boolean _ParseFunctionDecl(_In_z_ char * line, _In_ OIDefaults * defau line2 = _Trim(line); if (_StartsWith(line2, "void") == 0) { - OIERROR1("Trace declaration function didnt start with void! [%s]", line2); + OIERROR1("Trace declaration function didn't start with void! [%s]", line2); goto error; } @@ -629,7 +629,7 @@ static MI_Boolean _ParseFunctionDecl(_In_z_ char * line, _In_ OIDefaults * defau pos = strchr(line2, '('); if (!pos) { - OIERROR1("Trace declaration function didnt have a name! [%s] Expected void func(...);", line2); + OIERROR1("Trace declaration function didn't have a name! [%s] Expected void func(...);", line2); goto error; } diff --git a/Unix/oi/sample/Frog.h b/Unix/oi/sample/Frog.h index 4dbe18463..e44857e19 100644 --- a/Unix/oi/sample/Frog.h +++ b/Unix/oi/sample/Frog.h @@ -18,7 +18,7 @@ void Frog_Jump(int number); void Frog_EatFlys(int number); void Frog_Dive(int depth, int time); -// These are the Open Instrtumentation callouts from the Frog +// These are the Open Instrumentation callouts from the Frog OI_SETDEFAULT(LEVEL(3)) diff --git a/Unix/omireg/omireg.cpp b/Unix/omireg/omireg.cpp index 6ac37ef85..d9359e78b 100644 --- a/Unix/omireg/omireg.cpp +++ b/Unix/omireg/omireg.cpp @@ -392,12 +392,12 @@ static void GenClassLine( else if (!rcd2) rcd2 = rcd; else - err(PAL_T("invalid assocation class: %T, which has more than two reference properties"), tcs(cd->name)); + err(PAL_T("invalid association class: %T, which has more than two reference properties"), tcs(cd->name)); } } if (!rcd2) - err(PAL_T("invalid assocation class: %T, which has less than two reference properties"), tcs(cd->name)); + err(PAL_T("invalid association class: %T, which has less than two reference properties"), tcs(cd->name)); Fprintf(os, "{"); PrintClassPath(os, rcd1); @@ -584,7 +584,7 @@ static void GenRegFile( else { // Noting down all non implemented classes which are not a super class. - // With this all the classes present in a provider either implemented or not implemeted will be listed in .reg file. + // With this all the classes present in a provider either implemented or not implemented will be listed in .reg file. // EXTRACLASS=class1:class2:class3 // Checking if the class is a super class of any other class (implemented or not-implemented) diff --git a/Unix/omiutils/omiutils.h b/Unix/omiutils/omiutils.h index e9b9faef5..c8f30c223 100644 --- a/Unix/omiutils/omiutils.h +++ b/Unix/omiutils/omiutils.h @@ -58,9 +58,9 @@ MI_Result MI_CALL Instance_New( _In_opt_z_ const MI_Char *namespaceName, /* Not needed if parentClass is passed in */ _In_opt_z_ const MI_Char *serverName, /* Not needed if parentClass is passed in */ _In_z_ const MI_Char *className, - MI_Uint32 numberClassQualifiers, /* number of extra class qualifiers you want to create. Allowes us to pre-create array of correct size */ - MI_Uint32 numberProperties, /* number of extra properties you want to create. Allowes us to pre-create array of correct size */ - MI_Uint32 numberMethods, /* number of extra methods you want to create. Allowes us to pre-create array of correct size */ + MI_Uint32 numberClassQualifiers, /* number of extra class qualifiers you want to create. Allows us to pre-create array of correct size */ + MI_Uint32 numberProperties, /* number of extra properties you want to create. Allows us to pre-create array of correct size */ + MI_Uint32 numberMethods, /* number of extra methods you want to create. Allows us to pre-create array of correct size */ _Out_ MI_Class **newClass /* Object that is ready to receive new qualifiers/properties/methods */ ); @@ -74,7 +74,7 @@ MI_Result MI_CALL Instance_New( MI_Value value, /* Value of qualifier */ MI_Uint32 flavors); /* Flavor of qualifier */ - /* Array verion of RCClass_AddClassQualifier. Pass in how many items there are and it returns a qualifier index to be used to add each + /* Array version of RCClass_AddClassQualifier. Pass in how many items there are and it returns a qualifier index to be used to add each * item in tern. */ MI_Result RCClass_AddClassQualifierArray( diff --git a/Unix/pal/alloc.c b/Unix/pal/alloc.c index 468b1d19e..c862b61b7 100644 --- a/Unix/pal/alloc.c +++ b/Unix/pal/alloc.c @@ -177,7 +177,7 @@ static void* _Alloc( /* Check that this function created a valid block */ assert(_GetSize(p) == size); - /* Update statistics and add block to glboal list */ + /* Update statistics and add block to global list */ pthread_mutex_lock(&_mutex); { _stats.usage += size; diff --git a/Unix/pal/hashmap.h b/Unix/pal/hashmap.h index 2cc95f131..07f96534f 100644 --- a/Unix/pal/hashmap.h +++ b/Unix/pal/hashmap.h @@ -33,7 +33,7 @@ typedef struct _HashMap /* User-defined hash function */ HashMapHashProc hash; - /* User-defined euqal function (returns non-zeroif equal) */ + /* User-defined equal function (returns non-zeroif equal) */ HashMapEqualProc equal; /* User-defined function to release a hash bucket */ diff --git a/Unix/pal/intlstr.rc.inc b/Unix/pal/intlstr.rc.inc index 9ca0f3872..5ee5f7469 100644 --- a/Unix/pal/intlstr.rc.inc +++ b/Unix/pal/intlstr.rc.inc @@ -15,7 +15,7 @@ ** THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ** KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED ** WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -** MERCHANTABLITY OR NON-INFRINGEMENT. +** MERCHANTABILITY OR NON-INFRINGEMENT. ** ** See the Apache 2 License for the specific language governing permissions ** and limitations under the License. diff --git a/Unix/pal/intlstr.xgettext.inc b/Unix/pal/intlstr.xgettext.inc index 21768d8ee..ba02a5d17 100644 --- a/Unix/pal/intlstr.xgettext.inc +++ b/Unix/pal/intlstr.xgettext.inc @@ -15,7 +15,7 @@ ** THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ** KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED ** WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -** MERCHANTABLITY OR NON-INFRINGEMENT. +** MERCHANTABILITY OR NON-INFRINGEMENT. ** ** See the Apache 2 License for the specific language governing permissions ** and limitations under the License. diff --git a/Unix/pal/memory.h b/Unix/pal/memory.h index d8c84927b..4f7589483 100644 --- a/Unix/pal/memory.h +++ b/Unix/pal/memory.h @@ -16,7 +16,7 @@ PAL_BEGIN_EXTERNC /* Defining FASTER macro disables malloc injection to reduce overhead for manual performance benchmarking. - It is not defined durring normal builds. + It is not defined during normal builds. */ #if !defined(FASTER) && !defined(USE_ALLOCATOR) diff --git a/Unix/pal/strings.c b/Unix/pal/strings.c index fe5cb2028..0e1b4a67e 100644 --- a/Unix/pal/strings.c +++ b/Unix/pal/strings.c @@ -101,7 +101,7 @@ void TcsFromUInt64(_Pre_writable_size_(64) PAL_Char buf[64], PAL_Uint64 value, _ // The following defines string literals for the numbers 0 through 63. The // first character is the length of the string. The subsequent characters -// are the string literal iteslf. +// are the string literal itself. static const char* _numberStrings[] = { "\0010", diff --git a/Unix/pal/strings.h b/Unix/pal/strings.h index d311cba9f..e21928f84 100644 --- a/Unix/pal/strings.h +++ b/Unix/pal/strings.h @@ -12,7 +12,7 @@ ** ** strings.h: ** -** This file defines string-manipluation functions. For each string +** This file defines string-manipulation functions. For each string ** operation, there are three implementations: ** ** - Single-character - char diff --git a/Unix/protocol/header.h b/Unix/protocol/header.h index c521a6fe2..bb78ff294 100644 --- a/Unix/protocol/header.h +++ b/Unix/protocol/header.h @@ -36,7 +36,7 @@ BEGIN_EXTERNC typedef struct _HeaderBase { - /* Magic number (can be used to detect endianess of request) */ + /* Magic number (can be used to detect endianness of request) */ MI_Uint32 magic; /* Version number of protocol */ @@ -60,7 +60,7 @@ typedef struct _Header { HeaderBase base; - /* folowed by */ + /* followed by */ Header_BatchInfoItem batchInfo[PROTOCOL_HEADER_MAX_PAGES]; } Header; diff --git a/Unix/protocol/protocol.c b/Unix/protocol/protocol.c index b4991b4fc..94a7f670f 100644 --- a/Unix/protocol/protocol.c +++ b/Unix/protocol/protocol.c @@ -458,7 +458,7 @@ void _ProtocolSocket_Aux_ConnectEvent( _In_ Strand* self_) the auxiliary function PROTOCOLSOCKET_STRANDAUX_CONNECTEVENT which in turn disables that flag allowing the object to be deleted. - Unique features and special Behavour: + Unique features and special Behaviour: - When a complete message has been read instead of scheduling a post the auxiliary function PROTOCOLSOCKET_STRANDAUX_POSTMSG is scheduled instead. That function takes care of opening the interaction @@ -734,7 +734,7 @@ static MI_Boolean _SendAuthResponse( Return: "TRUE" if connection should stay open; "FALSE" if auth failed - and conneciton should be closed immediately + and connection should be closed immediately */ static MI_Boolean _ProcessAuthMessageWaitingConnectRequestFileData( ProtocolSocket* handler, @@ -885,7 +885,7 @@ static MI_Boolean _ProcessAuthMessageWaitingConnectRequest( if (!_SendAuthResponse(handler, MI_RESULT_IN_PROGRESS, handler->authData->path, binMsg->forwardSock, INVALID_ID, INVALID_ID)) return MI_FALSE; - /* Auth posponed */ + /* Auth postponed */ handler->clientAuthState = PRT_AUTH_WAIT_CONNECTION_REQUEST_WITH_FILE_DATA; *keepConnection = MI_TRUE; @@ -907,7 +907,7 @@ static MI_Boolean _ProcessAuthMessageWaitingConnectRequest( Return: "TRUE" if connection should stay open; "FALSE" if auth failed - and conneciton should be closed immediately + and connection should be closed immediately */ static MI_Boolean _ProcessAuthMessage( ProtocolSocket* handler, @@ -961,7 +961,7 @@ static MI_Boolean _ProcessAuthMessage( if (binMsg->result == MI_RESULT_OK) { handler->clientAuthState = PRT_AUTH_OK; - trace_ClientCredentialsVerfied2(); + trace_ClientCredentialsVerified2(); if( Atomic_Swap(&handler->connectEventSent, 1) == 0 ) { @@ -1258,7 +1258,7 @@ static MI_Boolean _ProcessCreateAgentMsg( return MI_FALSE; } - /* Create/open file with permisisons 644 */ + /* Create/open file with permissions 644 */ logfd = open(path, O_WRONLY|O_CREAT|O_APPEND, S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH); if (logfd == INVALID_SOCK) { @@ -1880,7 +1880,7 @@ static MI_Result _CreateConnector( Parameters: handler - pointer to received data Returns: - it returns result if 'callback' with the followinf meaning: + it returns result if 'callback' with the following meaning: MI_TRUE - to continue normal operations MI_FALSE - to close connection */ @@ -2084,7 +2084,7 @@ static Protocol_CallbackResult _ProcessReceivedMessage( newHandler->clientAuthState = PRT_AUTH_OK; newHandler->authInfo.uid = binMsg->uid; newHandler->authInfo.gid = binMsg->gid; - trace_ClientCredentialsVerfied(newHandler); + trace_ClientCredentialsVerified(newHandler); } ProtocolSocketAndBase *socketAndBase = _ProtocolSocketTrackerGetElement(handler->base.sock); @@ -2140,7 +2140,7 @@ static Protocol_CallbackResult _ProcessReceivedMessage( { //disable receiving anything else until this message is ack'ed handler->base.mask &= ~SELECTOR_READ; - // We cannot use Strand_SchedulePost becase we have to do + // We cannot use Strand_SchedulePost because we have to do // special treatment here (leave the strand in post) // We can use otherMsg to store this though Message_AddRef( msg ); // since the actual message use can be delayed @@ -2580,7 +2580,7 @@ static MI_Result _ProtocolBase_Init( return MI_RESULT_INVALID_PARAMETER; if (selector) - { /* attach the exisiting selector */ + { /* attach the existing selector */ self->selector = selector; self->internal_selector_used = MI_FALSE; } @@ -2848,7 +2848,7 @@ MI_Result ProtocolSocketAndBase_New_Connector( { // this will call _RequestCallback which will schedule a CloseOther, // but that is not going delete the object (since it is not even truly opened), - // so do it explicitely + // so do it explicitly Sock_Close(connector); ProtocolSocketAndBase_Delete(self); return MI_RESULT_FAILED; @@ -2883,7 +2883,7 @@ MI_Result ProtocolSocketAndBase_New_Connector( callbackData - Returns: - 'OK' if succefful, error otherwise + 'OK' if successful, error otherwise */ MI_Result _ProtocolSocketAndBase_New_From_Socket( _Out_ ProtocolSocketAndBase** selfOut, @@ -2978,7 +2978,7 @@ MI_Result _ProtocolBase_Finish( if (self->internal_selector_used) { /* Release selector; - Note: selector-destory closes all sockects in a list including connector and listener */ + Note: selector-destroy closes all sockets in a list including connector and listener */ Selector_Destroy(self->selector); /* Shutdown the network */ diff --git a/Unix/protocol/protocol.h b/Unix/protocol/protocol.h index d2b7f62e6..d26dc2235 100644 --- a/Unix/protocol/protocol.h +++ b/Unix/protocol/protocol.h @@ -26,7 +26,7 @@ BEGIN_EXTERNC typedef enum _Protocol_AuthState { - /* authentication failed (intentionaly takes value '0')*/ + /* authentication failed (intentionally takes value '0')*/ PRT_AUTH_FAILED, /* listener (server) waits for connect request */ @@ -105,7 +105,7 @@ typedef struct _ProtocolSocket Protocol_AuthState clientAuthState; /* Engine auth state */ Protocol_AuthState engineAuthState; - /* server side - auhtenticated user's ids */ + /* server side - authenticated user's ids */ AuthInfo authInfo; Protocol_AuthData* authData; @@ -113,7 +113,7 @@ typedef struct _ProtocolSocket MI_Boolean isConnected; volatile ptrdiff_t connectEventSent; - volatile ptrdiff_t refCount; //used by socket listner for lifetimemanagement + volatile ptrdiff_t refCount; //used by socket listener for lifetimemanagement MI_Boolean closeOtherScheduled; /* Whether socket is permanent */ @@ -146,15 +146,15 @@ MI_Result ProtocolBase_New_Listener( self - [out] protocol object selector - [opt] selector to use for socket monitoring locator - server's address (typically domain socket file name) - callback - function that protocol calls to inform about new messsages + callback - function that protocol calls to inform about new messages callbackData - - eventCallback - function that protocl calls to inform about socket states + eventCallback - function that protocol calls to inform about socket states connected/disconnected user, password [opt] - credentials for explicit auth. If NULL, implicit authentication is used Returns: - 'OK' if succefful, error otherwise + 'OK' if successful, error otherwise */ MI_Result ProtocolSocketAndBase_New_Connector( _Out_ ProtocolSocketAndBase** selfOut, diff --git a/Unix/protocol/protocolenum/protocolenum.cpp b/Unix/protocol/protocolenum/protocolenum.cpp index 4a134e43a..2d4362576 100644 --- a/Unix/protocol/protocolenum/protocolenum.cpp +++ b/Unix/protocol/protocolenum/protocolenum.cpp @@ -61,7 +61,7 @@ static void _Client_PostControl( _In_ Strand* self, _In_ Message* msg) if( eventMsg->success ) { - // Create enuemrate request: + // Create enumerate request: EnumerateInstancesReq* req ; { diff --git a/Unix/provmgr/LifecycleContext.c b/Unix/provmgr/LifecycleContext.c index 6d6722722..be700dbe8 100644 --- a/Unix/provmgr/LifecycleContext.c +++ b/Unix/provmgr/LifecycleContext.c @@ -636,7 +636,7 @@ MI_Uint32 LifeContext_ConvertSupportedType( case SUBSCRIP_TARGET_LIFECYCLE_ALL: miType = MI_LIFECYCLE_INDICATION_ALL; break; - /* Fallthorugh intentional */ + /* Fallthrough intentional */ case SUBSCRIP_TARGET_UNSUPPORTED: case SUBSCRIP_TARGET_DEFAULT: default: diff --git a/Unix/provmgr/SubMgr.c b/Unix/provmgr/SubMgr.c index 83898cae9..d3641608e 100644 --- a/Unix/provmgr/SubMgr.c +++ b/Unix/provmgr/SubMgr.c @@ -379,7 +379,7 @@ SubscriptionTargetType SubMgrSubscription_GetSupportedTypes( } _Use_decl_annotations_ -void SubMgrSubscription_AcuquirePostLock(SubMgrSubscription* self) +void SubMgrSubscription_AcquirePostLock(SubMgrSubscription* self) { RecursiveLock_Acquire(&self->postlock); diff --git a/Unix/provmgr/SubMgr.h b/Unix/provmgr/SubMgr.h index 04510af7a..a33cd6c87 100644 --- a/Unix/provmgr/SubMgr.h +++ b/Unix/provmgr/SubMgr.h @@ -129,7 +129,7 @@ typedef struct _SubscriptionManager */ LifecycleContext* lifecycleCtx; - /* Prointer to provider + /* Pointer to provider */ Provider* provider; @@ -354,7 +354,7 @@ MI_Result SubMgrSubscription_SetState( SubscriptionTargetType SubMgrSubscription_GetSupportedTypes( _In_ SubMgrSubscription* subscription ); -void SubMgrSubscription_AcuquirePostLock( +void SubMgrSubscription_AcquirePostLock( _In_ SubMgrSubscription* self); void SubMgrSubscription_ReleasePostLock( diff --git a/Unix/provmgr/SubscriptionContext.c b/Unix/provmgr/SubscriptionContext.c index 5bc943e21..4824403dc 100644 --- a/Unix/provmgr/SubscriptionContext.c +++ b/Unix/provmgr/SubscriptionContext.c @@ -63,7 +63,7 @@ void SubscrContext_Close( { if (subCtx) { - /* SubsriptionContext was allocated from the SubscribeReq Batch, + /* SubscriptionContext was allocated from the SubscribeReq Batch, * so it will be freed when the message's batch is freed. */ subCtx->subscription = NULL; Context_Close(&subCtx->baseCtx); diff --git a/Unix/provmgr/context.c b/Unix/provmgr/context.c index 6329f47c8..c07894035 100644 --- a/Unix/provmgr/context.c +++ b/Unix/provmgr/context.c @@ -292,7 +292,7 @@ static MI_Result _ProcessResult( if (cimError) { InstanceToBatch(cimError, NULL, NULL, resp->base.batch, &resp->packedInstancePtr, &resp->packedInstanceSize); - /* If the serialization fails we should just send the original error back. Seems bad to overrite it with this error */ + /* If the serialization fails we should just send the original error back. Seems bad to overwrite it with this error */ resp->cimErrorClassName = Batch_Tcsdup(resp->base.batch, cimError->classDecl->name); } @@ -501,7 +501,7 @@ static MI_Result MI_CALL _PostResult( Context* self = (Context*)self_; /* Suppress MI_RESULT_NOT_SUPPORTED errors for operations which involve - * multiple provdiders. For example, suppose the operation is handled by + * multiple providers. For example, suppose the operation is handled by * providers A, B, and C. If providers A and B post MI_RESULT_OK but * provider C posts MI_RESULT_NOT_SUPPORTED, we must translate this error * to a MI_RESULT_OK to prevent the client from receiving it. The client @@ -804,7 +804,7 @@ MI_Result _SubscrContext_PostIndication( * a known filter. */ if (MI_RESULT_OK == result && isMatch) { - SubMgrSubscription_AcuquirePostLock(subscription); + SubMgrSubscription_AcquirePostLock(subscription); if ( MI_FALSE == SubMgrSubscription_CancelStarted(subscription) ) result = _PostIndicationToCallback((Context*)context, indication, bookmark); else @@ -864,7 +864,7 @@ MI_Result _SubscrContext_ProcessResult( trace_SubscrContext_ProcessResult_InvalidState(UintThreadID(), subCtx, subscription, subscription->state); } - SubMgrSubscription_AcuquirePostLock(subscription); + SubMgrSubscription_AcquirePostLock(subscription); r = SubscrContext_SendFinalResultMsg( subCtx, result, errorMessage, cimError ); SubMgrSubscription_ReleasePostLock(subscription); @@ -1733,7 +1733,7 @@ static void _Context_Ack( _In_ Strand* self_) // al management done by strand implementation except broadcasting cond var - // wake up Context_PostMessageLeft if appropiate + // wake up Context_PostMessageLeft if appropriate // (no point on waking up Context_PostMessageLeft if CONTEXT_STRANDAUX_TRYPOSTLEFT is scheduled to run after us) if( CONTEXT_POSTLEFT_POSTING == Atomic_CompareAndSwap( &self->tryingToPostLeft, (ptrdiff_t)CONTEXT_POSTLEFT_POSTING, (ptrdiff_t)(CONTEXT_POSTLEFT_POSTING|CONTEXT_POSTLEFT_SCHEDULED)) ) { @@ -1775,7 +1775,7 @@ static void _Context_Aux_TryPostLeft( _In_ Strand* self_ ) if( !self->strand.info.thisAckPending ) { - if (!self->strand.info.thisClosedOther) // TODO: Is this correct, or is it indiciative of a different problem? + if (!self->strand.info.thisClosedOther) // TODO: Is this correct, or is it indicative of a different problem? { /* Only post the message if this Context has not "closed" * the connection. Another thread may have done so on the diff --git a/Unix/provmgr/nioproc.c b/Unix/provmgr/nioproc.c index b7e9de0c9..261b7c538 100644 --- a/Unix/provmgr/nioproc.c +++ b/Unix/provmgr/nioproc.c @@ -26,7 +26,7 @@ static RequestItem* RequestList_RemoveItem(_Inout_ RequestList* list); static MI_Result RequestList_RemoveSpecificItem(_Inout_ RequestList* list, _In_ RequestItem* item); // -// A proc running from a spawned thread to unsuscribe the indication opertion(s) +// A proc running from a spawned thread to unsubscribe the indication operation(s) // PAL_Uint32 THREAD_API noniothread_proc(void* p); @@ -369,7 +369,7 @@ MI_Result Schedule_SubscribeRequest( } // -// A proc running from a spawned thread to unsuscribe the indication provider +// A proc running from a spawned thread to unsubscribe the indication provider // PAL_Uint32 THREAD_API noniothread_proc(void* p) { diff --git a/Unix/provmgr/provmgr.c b/Unix/provmgr/provmgr.c index 7ea6eff14..d085ced67 100644 --- a/Unix/provmgr/provmgr.c +++ b/Unix/provmgr/provmgr.c @@ -38,7 +38,7 @@ /* **============================================================================= ** -** Local defintions +** Local definitions ** **============================================================================= */ @@ -138,7 +138,7 @@ static Library* MI_CALL _OpenLibraryInternal( } } - /* Allocate new libray object */ + /* Allocate new library object */ p = (Library*)PAL_Calloc(1, sizeof(Library)); if (!p) @@ -423,7 +423,7 @@ static Provider* MI_CALL _OpenProviderInternal( if (ctx.magic != 0xFFFFFFFF) { - trace_ProviderLoad_DidnotPostResult(); + trace_ProviderLoad_DidNotPostResult(); } if (MI_RESULT_OK != r) @@ -775,7 +775,7 @@ void Provider_InvokeSubscribe( SubscriptionList_AddSubscription( &subMgr->subscrList, subscription ); /* - * Upon SubscriptionContext was initialized successfull, + * Upon SubscriptionContext was initialized successful, * it hold one refcount of msg, which will be released * inside _Context_Destory; * @@ -790,7 +790,7 @@ void Provider_InvokeSubscribe( * */ SubMgrSubscription_Addref( subscription ); - SubMgrSubscription_AcuquirePostLock( subscription ); + SubMgrSubscription_AcquirePostLock( subscription ); /* Alert indication setup */ if (SUBSCRIP_TARGET_DEFAULT == msg->targetType ) @@ -818,7 +818,7 @@ void Provider_InvokeSubscribe( SubMgrSubscription_SetState(subscription, SubscriptionState_Subscribed); /* - * Invoke Subscribe with dummpy context + * Invoke Subscribe with dumpy context * provider cannot postinstance or indication to this context */ { @@ -884,7 +884,7 @@ void Provider_InvokeSubscribe( } /* - * Now release lock to allow Disable/other subscribe reqeuest to conitune + * Now release lock to allow Disable/other subscribe request to continue */ if ( MI_TRUE == locked ) SubMgr_ReleaseEnableLock( subMgr ); @@ -1090,7 +1090,7 @@ static MI_Result _HandleGetInstanceReq( &ctx->base, msg->nameSpace, className, - NULL, /* propertSet */ + NULL, /* propertySet */ MI_FALSE, /* keysOnly */ NULL); /* filter */ } @@ -1545,7 +1545,7 @@ static MI_Result _HandleInvokeReq( if (msg->instanceParams) { - /* paramters (if any) */ + /* parameters (if any) */ r = _Instance_InitConvert_FromBatch( msg->base.base.batch, (const MI_ClassDecl*)md, @@ -1914,7 +1914,7 @@ static void _UnloadAllProviders( if (p->refCounter != 0) { - /* Error condition - unloading active rpovider! */ + /* Error condition - unloading active provider! */ trace_UnloadingActiveProvider( tcs(p->classDecl->name), (int)p->refCounter); trace_UnloadingActiveProviderWithLib( @@ -1982,7 +1982,7 @@ static void _UnloadAllLibrariesInternal( if (ctx.magic != 0xFFFFFFFF) { - trace_LibraryUnload_DidnotPostResult(); + trace_LibraryUnload_DidNotPostResult(); } if (MI_RESULT_OK != r) @@ -2056,7 +2056,7 @@ static MI_Boolean _TimeoutCallback( } else { - /* disbale timeout, since no more idle providers */ + /* disable timeout, since no more idle providers */ handler->fireTimeoutAt = TIME_NEVER; } @@ -2074,7 +2074,7 @@ static MI_Boolean _TimeoutCallback( /* **============================================================================= ** -** Public defintions +** Public definitions ** **============================================================================= */ diff --git a/Unix/provmgr/provmgr.h b/Unix/provmgr/provmgr.h index 2962abd25..b7550c2ee 100644 --- a/Unix/provmgr/provmgr.h +++ b/Unix/provmgr/provmgr.h @@ -100,7 +100,7 @@ void ProvMgr_OpenCallback( } /* MI_ServerFT is preceded directly by one of these. Providers may - * inerally case backwards to find this structure but they should verify + * internally case backwards to find this structure but they should verify * the magic number. */ typedef struct _ProvMgrFT diff --git a/Unix/provreg/provreg.c b/Unix/provreg/provreg.c index eccb052cb..a830ef600 100644 --- a/Unix/provreg/provreg.c +++ b/Unix/provreg/provreg.c @@ -192,7 +192,7 @@ ProvRegNamespaceNode* _FindOrCreateNamespace( /* ********************************************************* */ /* *** tree operations *** */ /* ********************************************************* */ -ProvRegClassInheritanceNode* _GetNextTreeNodeLimittedBy( +ProvRegClassInheritanceNode* _GetNextTreeNodeLimitedBy( ProvRegClassInheritanceNode* item, ProvRegClassInheritanceNode* subtreeRoot) { @@ -220,7 +220,7 @@ ProvRegClassInheritanceNode* _GetNextTreeNodeLimittedBy( ProvRegClassInheritanceNode* _GetNextTreeNode( ProvRegClassInheritanceNode* item) { - return _GetNextTreeNodeLimittedBy(item,0); + return _GetNextTreeNodeLimitedBy(item,0); } ProvRegClassInheritanceNode* _FindClassNodeInTreeByChar( @@ -694,7 +694,7 @@ static int _AddEntryForExtraClass( return 0; } -/* Initialize ProvReg strucutre from given directory */ +/* Initialize ProvReg structure from given directory */ _Use_decl_annotations_ MI_Result ProvReg_Init(ProvReg* self, const char* directory) { @@ -875,7 +875,7 @@ MI_Result ProvReg_Init(ProvReg* self, const char* directory) return r; } -/* Initialize ProvReg strucutre from omiregister directory */ +/* Initialize ProvReg structure from omiregister directory */ _Use_decl_annotations_ MI_Result ProvReg_Init2(ProvReg* self) { @@ -1012,7 +1012,7 @@ MI_Result ProvReg_NextClass( if (pos->deep) { - pos->current = _GetNextTreeNodeLimittedBy(pos->current,pos->start); + pos->current = _GetNextTreeNodeLimitedBy(pos->current,pos->start); } else { diff --git a/Unix/provreg/provreg.h b/Unix/provreg/provreg.h index bae16be54..eb1b05908 100644 --- a/Unix/provreg/provreg.h +++ b/Unix/provreg/provreg.h @@ -119,12 +119,12 @@ typedef struct _ProvReg } ProvReg; -/* Initialize ProvReg strucutre from given directory */ +/* Initialize ProvReg structure from given directory */ MI_Result ProvReg_Init( _Inout_ ProvReg* self, _In_z_ const char* directory); -/* Initialize ProvReg strucutre from omiregister directory */ +/* Initialize ProvReg structure from omiregister directory */ MI_Result ProvReg_Init2( _Inout_ ProvReg* self); diff --git a/Unix/provreg/regfile.c b/Unix/provreg/regfile.c index c466acf41..5aa7ac236 100644 --- a/Unix/provreg/regfile.c +++ b/Unix/provreg/regfile.c @@ -46,7 +46,7 @@ static int _ParseIdentifier(_Inout_ CharPtr* pOut, _Out_ CharPtr* start, _Out_ C return 0; } -// Parase class path of the form "CLASS1:CLASS2:CLASS3" +// Parse class path of the form "CLASS1:CLASS2:CLASS3" _Return_type_success_(return == 0) static int _ParseClassPath(_Inout_ CharPtr* pOut, _Out_ CharPtr* start, _Out_ CharPtr* end) { diff --git a/Unix/samples/Providers/Demo-i2/X_SmallNumber_Class_Provider.cpp b/Unix/samples/Providers/Demo-i2/X_SmallNumber_Class_Provider.cpp index 481757f62..d00cf6baa 100644 --- a/Unix/samples/Providers/Demo-i2/X_SmallNumber_Class_Provider.cpp +++ b/Unix/samples/Providers/Demo-i2/X_SmallNumber_Class_Provider.cpp @@ -50,7 +50,7 @@ static MI_Result _CreateThread( /* closes thread handle and frees related system resources; optionally, may wait for thread to complete */ -static MI_Result _CloseThreadHanlde( +static MI_Result _CloseThreadHandle( ThreadID self, MI_Boolean wait ) { @@ -183,8 +183,8 @@ static void* MI_CALL _Enumerate( void* param) _CreateThread( _EnumerateEven, ctx, &(t[0])); _CreateThread( _EnumerateOdd, ctx, &(t[1])); - _CloseThreadHanlde( t[0], MI_TRUE ); - _CloseThreadHanlde( t[1], MI_TRUE ); + _CloseThreadHandle( t[0], MI_TRUE ); + _CloseThreadHandle( t[1], MI_TRUE ); ctx->Post(MI_RESULT_OK); @@ -208,7 +208,7 @@ void X_SmallNumber_Class_Provider::EnumerateInstances( ThreadID t; if ( MI_RESULT_OK == _CreateThread( _Enumerate, new Context(context), &t) ) { - _CloseThreadHanlde( t, MI_FALSE ); + _CloseThreadHandle( t, MI_FALSE ); } else { @@ -282,7 +282,7 @@ void X_SmallNumber_Class_Provider::DeleteInstance( const String& nameSpace, const X_SmallNumber_Class& instance_ref) { - /* For unit-test suppport - allow to delete instance with number < 10 */ + /* For unit-test support - allow to delete instance with number < 10 */ if ( instance_ref.Number_value() >= 10 ) { context.Post(MI_RESULT_NOT_FOUND); diff --git a/Unix/samples/Providers/Demo-i2/schema.mof b/Unix/samples/Providers/Demo-i2/schema.mof index 4b0b2d131..b2ba8aa36 100644 --- a/Unix/samples/Providers/Demo-i2/schema.mof +++ b/Unix/samples/Providers/Demo-i2/schema.mof @@ -91,7 +91,7 @@ class X_NumberWorld : X_ManagedElement string ns; /* used for testing only - terminates process by - calliung 'exit(1)' */ + calling 'exit(1)' */ [static] uint32 Terminate(); diff --git a/Unix/samples/Providers/Fan/common/common.c b/Unix/samples/Providers/Fan/common/common.c index 1b1f5a960..5e9a1f561 100644 --- a/Unix/samples/Providers/Fan/common/common.c +++ b/Unix/samples/Providers/Fan/common/common.c @@ -92,7 +92,7 @@ Fan fans[] = "ABC_Fan", "linux-22", "FAN:3", /* InstallDate */ - "CHASIS FAN", /* ElementName */ + "CHASSIS FAN", /* ElementName */ MI_TRUE, /* VariableSpeed */ 20000, /* DesiredSpeed */ { 2 }, 1, /* OperatingStatus */ @@ -105,7 +105,7 @@ Fan fans[] = "ABC_Fan", "linux-22", "FAN:4", /* InstallDate */ - "CHASIS FAN", /* ElementName */ + "CHASSIS FAN", /* ElementName */ MI_TRUE, /* VariableSpeed */ 20000, /* DesiredSpeed */ { 2 }, 1, /* OperatingStatus */ diff --git a/Unix/samples/Providers/Indication/Alert/XYZ_DiskFault.c b/Unix/samples/Providers/Indication/Alert/XYZ_DiskFault.c index 979c77a88..96cbc6f99 100644 --- a/Unix/samples/Providers/Indication/Alert/XYZ_DiskFault.c +++ b/Unix/samples/Providers/Indication/Alert/XYZ_DiskFault.c @@ -33,7 +33,7 @@ MI_Uint32 MI_CALL TriggerIndication( CHECKR_POST_RETURN(context, r); /* set properties of indication */ - r = XYZ_DiskFault_Set_detailmessage( &fault, MI_T("Disk fault messsage") ); + r = XYZ_DiskFault_Set_detailmessage( &fault, MI_T("Disk fault message") ); CHECKR_POST_RETURN(context, r); XYZ_DiskFault_Set_SequenceNumber( &fault, ++(self->self.seqid)); @@ -75,7 +75,7 @@ void MI_CALL XYZ_DiskFault_EnableIndications( const MI_Char* className) { /* TODO: store indicationsContext for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the indicationsContext, and terminate all active subscriptions to current class, MI_Context_PostResult diff --git a/Unix/samples/Providers/Indication/Lifecycle/XYZ_ComputerSystem.c b/Unix/samples/Providers/Indication/Lifecycle/XYZ_ComputerSystem.c index b5e088ec2..1ad61c8c8 100644 --- a/Unix/samples/Providers/Indication/Lifecycle/XYZ_ComputerSystem.c +++ b/Unix/samples/Providers/Indication/Lifecycle/XYZ_ComputerSystem.c @@ -35,7 +35,7 @@ struct _LifecycleIndicationItem methodcall; struct _Modify { - MI_Instance* orginalInstance; + MI_Instance* originalInstance; } modify; } @@ -153,7 +153,7 @@ MI_INLINE LifecycleIndicationItem* LifecycleIndicationItem_New( switch(lifecycleIndicationType) { case MI_LIFECYCLE_INDICATION_MODIFY: - temp->u.modify.orginalInstance = clonedOriginalInstance; + temp->u.modify.originalInstance = clonedOriginalInstance; break; case MI_LIFECYCLE_INDICATION_METHODCALL: temp->u.methodcall.methodName = clonedMethodName; @@ -180,8 +180,8 @@ MI_INLINE void LifecycleIndicationItem_Free( switch(item->type) { case MI_LIFECYCLE_INDICATION_MODIFY: - if (item->u.modify.orginalInstance) - MI_Instance_Delete(item->u.modify.orginalInstance); + if (item->u.modify.originalInstance) + MI_Instance_Delete(item->u.modify.originalInstance); break; case MI_LIFECYCLE_INDICATION_METHODCALL: if (item->u.methodcall.parameter) @@ -216,7 +216,7 @@ typedef struct _LifecycleIndicationItemList LifecycleIndicationItemList; /* - * Initlize list + * Initialize list */ MI_INLINE void LifecycleIndicationItemList_Init( _Out_ LifecycleIndicationItemList* self) @@ -365,7 +365,7 @@ MI_Uint32 THREAD_API lifecycleindicationproc(void* param) MI_LifecycleIndicationContext_PostRead(self->context, item->instance); break; case MI_LIFECYCLE_INDICATION_MODIFY: - MI_LifecycleIndicationContext_PostModify(self->context, item->u.modify.orginalInstance, item->instance); + MI_LifecycleIndicationContext_PostModify(self->context, item->u.modify.originalInstance, item->instance); break; case MI_LIFECYCLE_INDICATION_METHODCALL: if (item->u.methodcall.precall) @@ -388,7 +388,7 @@ MI_Uint32 THREAD_API lifecycleindicationproc(void* param) item = LifecycleIndicationItemList_Remove(list); } - /* wait for semophore, either provider is being unloaded or new lifecycle item scheduled */ + /* wait for semaphore, either provider is being unloaded or new lifecycle item scheduled */ Sem_Wait(&self->list.sem); } @@ -480,7 +480,7 @@ void MI_CALL XYZ_ComputerSystem_Load( (*self)->context, MI_LIFECYCLE_INDICATION_ALL); CHECKR_POST_RETURN_VOID(context, r); - /* intialize global data */ + /* initialize global data */ r = _Initialize(context, *self); if (r != MI_RESULT_OK) { diff --git a/Unix/samples/Providers/Indication/Lifecycle/XYZ_Process.c b/Unix/samples/Providers/Indication/Lifecycle/XYZ_Process.c index aa8042c1b..684aed18e 100644 --- a/Unix/samples/Providers/Indication/Lifecycle/XYZ_Process.c +++ b/Unix/samples/Providers/Indication/Lifecycle/XYZ_Process.c @@ -247,7 +247,7 @@ void MI_CALL XYZ_Process_Load( (*self)->context, MI_LIFECYCLE_INDICATION_CREATE); CHECKR_POST_RETURN_VOID(context, r); - /* intialize global data */ + /* initialize global data */ r = _Initialize(context, *self); if (r != MI_RESULT_OK) { diff --git a/Unix/samples/Providers/Indication/Lifecycle2/ABC_ProcessCreation.c b/Unix/samples/Providers/Indication/Lifecycle2/ABC_ProcessCreation.c index 1f408c879..679e2f0ff 100644 --- a/Unix/samples/Providers/Indication/Lifecycle2/ABC_ProcessCreation.c +++ b/Unix/samples/Providers/Indication/Lifecycle2/ABC_ProcessCreation.c @@ -85,7 +85,7 @@ void MI_CALL ABC_ProcessCreation_EnableIndications( const MI_Char* className) { /* TODO: store indicationsContext for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the indicationsContext, and terminate all active subscriptions to current class, MI_Context_PostResult diff --git a/Unix/samples/Providers/Indication/Lifecycle2/ReadMe.txt b/Unix/samples/Providers/Indication/Lifecycle2/ReadMe.txt index 9e2f54e5b..005f695d4 100644 --- a/Unix/samples/Providers/Indication/Lifecycle2/ReadMe.txt +++ b/Unix/samples/Providers/Indication/Lifecycle2/ReadMe.txt @@ -1,3 +1,3 @@ This sample provider shows how to implement lifecycle indication by defining -an indication class derives from standard lifecyle base class, i.e., implement +an indication class derives from standard lifecycle base class, i.e., implement an alert indication class diff --git a/Unix/samples/Providers/Network/schema/CIM_AccountManagementService.mof b/Unix/samples/Providers/Network/schema/CIM_AccountManagementService.mof index e892e7948..b35069c3f 100644 --- a/Unix/samples/Providers/Network/schema/CIM_AccountManagementService.mof +++ b/Unix/samples/Providers/Network/schema/CIM_AccountManagementService.mof @@ -4,7 +4,7 @@ Description ( "CIM_AccountManagementService creates, manages, and if " "necessary destroys Accounts on behalf of other " - "SecuritySerices." )] + "SecurityServices." )] class CIM_AccountManagementService : CIM_IdentityManagementService { diff --git a/Unix/samples/Providers/Network/schema/CIM_AccountSettingData.mof b/Unix/samples/Providers/Network/schema/CIM_AccountSettingData.mof index 3c9e3c43d..cc5e52013 100644 --- a/Unix/samples/Providers/Network/schema/CIM_AccountSettingData.mof +++ b/Unix/samples/Providers/Network/schema/CIM_AccountSettingData.mof @@ -8,7 +8,7 @@ "this class may be used to constrain the properties of " "instances of CIM_Accountcreated using the service. When " "associated with an instance of CIM_Account, this class may be " - "used to manage the configuration of the CIM_Acount instance." )] + "used to manage the configuration of the CIM_Account instance." )] class CIM_AccountSettingData : CIM_SettingData { [Description ( diff --git a/Unix/samples/Providers/Network/schema/CIM_ComputerSystem.mof b/Unix/samples/Providers/Network/schema/CIM_ComputerSystem.mof index 65b6fcbf0..a5e5e052b 100644 --- a/Unix/samples/Providers/Network/schema/CIM_ComputerSystem.mof +++ b/Unix/samples/Providers/Network/schema/CIM_ComputerSystem.mof @@ -134,7 +134,7 @@ class CIM_ComputerSystem : CIM_System { "An enumerated array describing the power management " "capabilities of the ComputerSystem. The use of this " "property has been deprecated. Instead, the Power " - "Capabilites property in an associated PowerManagement " + "Capabilities property in an associated PowerManagement " "Capabilities class should be used." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7" }, Values { "Unknown", "Not Supported", "Disabled", "Enabled", diff --git a/Unix/samples/Providers/Network/schema/CIM_ConcreteJob.mof b/Unix/samples/Providers/Network/schema/CIM_ConcreteJob.mof index b641ed6e9..ebd70b493 100644 --- a/Unix/samples/Providers/Network/schema/CIM_ConcreteJob.mof +++ b/Unix/samples/Providers/Network/schema/CIM_ConcreteJob.mof @@ -188,9 +188,9 @@ class CIM_ConcreteJob : CIM_Job { "If JobState is \"Completed\" and Operational Status is " "\"Completed\" then no instance of CIM_Error is returned. \n" "If JobState is \"Exception\" then GetErrors may return " - "intances of CIM_Error related to the execution of the " + "instances of CIM_Error related to the execution of the " "procedure or method invoked by the job.\n" - "If Operatational Status is not \"OK\" or \"Completed\"then " + "If Operational Status is not \"OK\" or \"Completed\"then " "GetErrors may return CIM_Error instances related to the " "running of the job." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", diff --git a/Unix/samples/Providers/Network/schema/CIM_EnabledLogicalElementCapabilities.mof b/Unix/samples/Providers/Network/schema/CIM_EnabledLogicalElementCapabilities.mof index 70f6e153a..472d3fd36 100644 --- a/Unix/samples/Providers/Network/schema/CIM_EnabledLogicalElementCapabilities.mof +++ b/Unix/samples/Providers/Network/schema/CIM_EnabledLogicalElementCapabilities.mof @@ -3,7 +3,7 @@ UMLPackagePath ( "CIM::Core::Capabilities" ), Description ( "EnabledLogicalElementCapabilities describes the capabilities " - "supported for changing the state of the assciated " + "supported for changing the state of the associated " "EnabledLogicalElement." )] class CIM_EnabledLogicalElementCapabilities : CIM_Capabilities { @@ -37,8 +37,8 @@ class CIM_EnabledLogicalElementCapabilities : CIM_Capabilities { [Description ( "This string expresses the restrictions on " - "ElementName.The mask is expressed as a regular " - "expression.See DMTF standard ABNF with the Management " + "ElementName. The mask is expressed as a regular " + "expression. See DMTF standard ABNF with the Management " "Profile Specification Usage Guide, appendix C for the " "regular expression syntax permitted. \n" "Since the ElementNameMask can describe the maximum " diff --git a/Unix/samples/Providers/Network/schema/CIM_EthernetPortAllocationSettingData.mof b/Unix/samples/Providers/Network/schema/CIM_EthernetPortAllocationSettingData.mof index dc3637693..8bc8be210 100644 --- a/Unix/samples/Providers/Network/schema/CIM_EthernetPortAllocationSettingData.mof +++ b/Unix/samples/Providers/Network/schema/CIM_EthernetPortAllocationSettingData.mof @@ -96,7 +96,7 @@ class CIM_EthernetPortAllocationSettingData : CIM_ResourceAllocationSettingData [Description ( "The GroupID is an identifier that refers to the VLAN " "associated with the VSI specified in the VDP TLV as " - "definded in IEEE 802.1Qbg." )] + "defined in IEEE 802.1Qbg." )] uint32 GroupID; [Description ( @@ -150,7 +150,7 @@ class CIM_EthernetPortAllocationSettingData : CIM_ResourceAllocationSettingData boolean Promiscuous; [Description ( - "This property specifes the upper bounds or maximum " + "This property specifies the upper bounds or maximum " "amount of receive bandwidth allowed through this port. " "The value of the ReceiveBandwidthLimit property is " "expressed in the unit specified by the value of the " diff --git a/Unix/samples/Providers/Network/schema/CIM_IPProtocolEndpoint.mof b/Unix/samples/Providers/Network/schema/CIM_IPProtocolEndpoint.mof index a5516cf25..dc1be8b4a 100644 --- a/Unix/samples/Providers/Network/schema/CIM_IPProtocolEndpoint.mof +++ b/Unix/samples/Providers/Network/schema/CIM_IPProtocolEndpoint.mof @@ -79,7 +79,7 @@ class CIM_IPProtocolEndpoint : CIM_ProtocolEndpoint { "A value of 7 \"DHCPv6\" shall indicate the values were " "assigned using DHCPv6. See RFC 3315. \n" "A value of 8 \"IPv6 AutoConfig\" shall indicate the " - "values were assinged using the IPv6 AutoConfig Protocol. " + "values were assigned using the IPv6 AutoConfig Protocol. " "See RFC 4862. \n" "A value of 9 \"Stateless\" shall indicate Stateless " "values were assigned. \n" @@ -94,7 +94,7 @@ class CIM_IPProtocolEndpoint : CIM_ProtocolEndpoint { uint16 AddressOrigin = 0; [Description ( - "IPv6AddressType indentified the type of address found in " + "IPv6AddressType identified the type of address found in " "the IPv6Address property. The values of this property " "shall be interpreted according to RFC4291, Section 2.4" ), ValueMap { "2", "3", "4", "5", "6", "7", "8", "..", diff --git a/Unix/samples/Providers/Network/schema/CIM_LogicalDevice.mof b/Unix/samples/Providers/Network/schema/CIM_LogicalDevice.mof index a5be2dbc6..8d651a093 100644 --- a/Unix/samples/Providers/Network/schema/CIM_LogicalDevice.mof +++ b/Unix/samples/Providers/Network/schema/CIM_LogicalDevice.mof @@ -51,7 +51,7 @@ class CIM_LogicalDevice : CIM_EnabledLogicalElement { "The use of this property has been deprecated. Instead, " "the existence of an associated " "PowerManagementCapabilities class (associated using the " - "ElementCapabilities relationhip) indicates that power " + "ElementCapabilities relationship) indicates that power " "management is supported." )] boolean PowerManagementSupported; @@ -60,7 +60,7 @@ class CIM_LogicalDevice : CIM_EnabledLogicalElement { Description ( "An enumerated array describing the power management " "capabilities of the Device. The use of this property has " - "been deprecated. Instead, the PowerCapabilites property " + "been deprecated. Instead, the PowerCapabilities property " "in an associated PowerManagementCapabilities class " "should be used." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7" }, @@ -205,7 +205,7 @@ class CIM_LogicalDevice : CIM_EnabledLogicalElement { "property can be used to provide further information. For " "example, a Device\'s primary Availability may be \"Off " "line\" (value=8), but it may also be in a low power " - "state (AdditonalAvailability value=14), or the Device " + "state (AdditionalAvailability value=14), or the Device " "could be running Diagnostics (AdditionalAvailability " "value=5, \"In Test\")." ), ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", diff --git a/Unix/samples/Providers/Network/schema/CIM_ManagedSystemElement.mof b/Unix/samples/Providers/Network/schema/CIM_ManagedSystemElement.mof index 54af04f42..1480fe037 100644 --- a/Unix/samples/Providers/Network/schema/CIM_ManagedSystemElement.mof +++ b/Unix/samples/Providers/Network/schema/CIM_ManagedSystemElement.mof @@ -263,7 +263,7 @@ class CIM_ManagedSystemElement : CIM_ManagedElement { "OperatingStatus consists of one of the following values: " "Unknown, Not Available, In Service, Starting, Stopping, " "Stopped, Aborted, Dormant, Completed, Migrating, " - "Emmigrating, Immigrating, Snapshotting. Shutting Down, " + "Emigrating, Immigrating, Snapshotting. Shutting Down, " "In Test \n" "A Null return indicates the implementation (provider) " "does not implement this property. \n" diff --git a/Unix/samples/Providers/Network/schema/CIM_NetworkPolicyCondition.mof b/Unix/samples/Providers/Network/schema/CIM_NetworkPolicyCondition.mof index b4ace4396..0d6608d9d 100644 --- a/Unix/samples/Providers/Network/schema/CIM_NetworkPolicyCondition.mof +++ b/Unix/samples/Providers/Network/schema/CIM_NetworkPolicyCondition.mof @@ -56,7 +56,7 @@ class CIM_NetworkPolicyCondition : CIM_Policy { "DestinationPortRange: identifies a range of receiving ports\n" "HTTPURL: identifies the URL under a HTTP request.\n" "HTTPContent: identifies the Content-Type field under the " - "HTPP request\n" + "HTTP request\n" "HTTPCookieName: identifies a cookie name under the HTTP request\n" "HTTPCookieValue: identifies a cookie value under the " "HTTP request\n" diff --git a/Unix/samples/Providers/Network/schema/CIM_PhysicalComputerSystemView.mof b/Unix/samples/Providers/Network/schema/CIM_PhysicalComputerSystemView.mof index fcada76a0..ad7c387f4 100644 --- a/Unix/samples/Providers/Network/schema/CIM_PhysicalComputerSystemView.mof +++ b/Unix/samples/Providers/Network/schema/CIM_PhysicalComputerSystemView.mof @@ -583,7 +583,7 @@ class CIM_PhysicalComputerSystemView : CIM_View { [Description ( "EnabledState of the current or last running operating " - "system on this physcial computer system." ), + "system on this physical computer system." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11..32767", "32768..65535" }, Values { "Unknown", "Other", "Enabled", "Disabled", @@ -735,7 +735,7 @@ class CIM_PhysicalComputerSystemView : CIM_View { "Failed", "DMTF Reserved", "Vendor Reserved" }] uint32 ClearLog( [In, Description ( - "Idenfier for the log that is requested to be cleared." + "Identifier for the log that is requested to be cleared." ), ModelCorrespondence { "CIM_RecordLog.InstanceID", "CIM_PhysicalComputerSystemView.LogInstanceID" }] diff --git a/Unix/samples/Providers/Network/schema/CIM_ProtocolEndpoint.mof b/Unix/samples/Providers/Network/schema/CIM_ProtocolEndpoint.mof index e448e4b2b..9724826f9 100644 --- a/Unix/samples/Providers/Network/schema/CIM_ProtocolEndpoint.mof +++ b/Unix/samples/Providers/Network/schema/CIM_ProtocolEndpoint.mof @@ -192,7 +192,7 @@ class CIM_ProtocolEndpoint : CIM_ServiceAccessPoint { "GR303 IDT", "ISUP", "Proprietary Wireless MAC Layer", "Proprietary Wireless Downstream", "Proprietary Wireless Upstream", "HIPERLAN Type 2", - "Proprietary Broadband Wireless Access Point to Mulipoint", + "Proprietary Broadband Wireless Access Point to Multipoint", "SONET Overhead Channel", "Digital Wrapper Overhead Channel", "ATM Adaptation Layer 2", "Radio MAC", "ATM Radio", diff --git a/Unix/samples/Providers/Network/schema/CIM_SecurityService.mof b/Unix/samples/Providers/Network/schema/CIM_SecurityService.mof index 3c70e5929..e130d1f05 100644 --- a/Unix/samples/Providers/Network/schema/CIM_SecurityService.mof +++ b/Unix/samples/Providers/Network/schema/CIM_SecurityService.mof @@ -6,7 +6,7 @@ // ================================================================== [Abstract, Version ( "2.6.0" ), UMLPackagePath ( "CIM::User::SecurityServices" ), - Description ( "A service providing security functionaity." )] + Description ( "A service providing security functionality." )] class CIM_SecurityService : CIM_Service { diff --git a/Unix/samples/Providers/Network/schema/CIM_Service.mof b/Unix/samples/Providers/Network/schema/CIM_Service.mof index 183f65584..f610ac55d 100644 --- a/Unix/samples/Providers/Network/schema/CIM_Service.mof +++ b/Unix/samples/Providers/Network/schema/CIM_Service.mof @@ -13,7 +13,7 @@ Description ( "A Service is a LogicalElement that represents the availability " "of functionality that can be managed. This functionality may " - "be provided by a seperately modeled entity such as a " + "be provided by a separately modeled entity such as a " "LogicalDevice or a SoftwareFeature, or both. The modeled " "Service typically provides only functionality required for " "management of itself or the elements it affects." )] diff --git a/Unix/samples/Providers/Network/schema/CIM_VLAN.mof b/Unix/samples/Providers/Network/schema/CIM_VLAN.mof index 1378f446e..01257fdaa 100644 --- a/Unix/samples/Providers/Network/schema/CIM_VLAN.mof +++ b/Unix/samples/Providers/Network/schema/CIM_VLAN.mof @@ -19,7 +19,7 @@ "textual name of the VLAN, if there is one. Otherwise, " "synthesize a textual name, e.g., VLAN 0003. (Consider leading " "zero fill, as shown, to ensure that if the textual VLAN names " - "are extracted and presented by a management applictions, the " + "are extracted and presented by a management applications, the " "VLAN names will sort in the expected order.) The numeric part " "of the name should be at least four digits wide since 802.1Q " "specifies 4095 VLANs. \n" diff --git a/Unix/samples/Providers/Network/schema/CIM_VirtualEthernetSwitchSettingData.mof b/Unix/samples/Providers/Network/schema/CIM_VirtualEthernetSwitchSettingData.mof index c4e27cd73..ecf7c30a8 100644 --- a/Unix/samples/Providers/Network/schema/CIM_VirtualEthernetSwitchSettingData.mof +++ b/Unix/samples/Providers/Network/schema/CIM_VirtualEthernetSwitchSettingData.mof @@ -17,7 +17,7 @@ class CIM_VirtualEthernetSwitchSettingData : CIM_VirtualSystemSettingData { "are currently associated with the Ethernet bridge for " "the purpose of the allocation of Ethernet connections " "between a virtual system and an Ethernet bridge Each " - "non-Null value of the AssoicatedResourcePool property " + "non-Null value of the AssociatedResourcePool property " "shall conform to the production " "WBEM_URI_UntypedInstancePath as defined in DSP0207" )] string AssociatedResourcePool[]; @@ -28,7 +28,7 @@ class CIM_VirtualEthernetSwitchSettingData : CIM_VirtualSystemSettingData { "MAC Address Learning, as defined in the IEEE 802.1D " "standard or in a VLAN-aware bridge this property " "specifies the number of MAC,VID pairs learned by the " - "bridge to support learning as definded in the IEEE " + "bridge to support learning as defined in the IEEE " "802.1Q standard." )] uint32 MaxNumMACAddress; diff --git a/Unix/samples/Providers/Network/schema/CIM_VirtualSystemSettingData.mof b/Unix/samples/Providers/Network/schema/CIM_VirtualSystemSettingData.mof index 16cbe4b1e..89e2b440e 100644 --- a/Unix/samples/Providers/Network/schema/CIM_VirtualSystemSettingData.mof +++ b/Unix/samples/Providers/Network/schema/CIM_VirtualSystemSettingData.mof @@ -32,7 +32,7 @@ class CIM_VirtualSystemSettingData : CIM_SettingData { "ports. \n" "On create requests VirtualSystemIdentifier may contain " "implementation specific rules (like simple patterns or " - "regular expresssion) that may be interpreted by the " + "regular expression) that may be interpreted by the " "implementation when assigning a VirtualSystemIdentifier." )] string VirtualSystemIdentifier; @@ -180,7 +180,7 @@ class CIM_VirtualSystemSettingData : CIM_SettingData { "Action to take for the virtual system when the software " "executed by the virtual system fails. Failures in this " "case means a failure that is detectable by the host " - "platform, such as a non-interuptable wait state " + "platform, such as a non-interruptible wait state " "condition." ), ValueMap { "2", "3", "4", ".." }, Values { "None", "Restart", "Revert to snapshot", @@ -188,7 +188,7 @@ class CIM_VirtualSystemSettingData : CIM_SettingData { uint16 AutomaticRecoveryAction; [Description ( - "Filepath of a file where recovery relateded information " + "Filepath of a file where recovery related information " "of the virtual system is stored.Format shall be URI " "based on RFC 2079." )] string RecoveryFile; diff --git a/Unix/samples/Providers/Network/schema/MSFT_AuthenticationAuthorizationAccounting.mof b/Unix/samples/Providers/Network/schema/MSFT_AuthenticationAuthorizationAccounting.mof index 9a75032ef..ef57f5da6 100644 --- a/Unix/samples/Providers/Network/schema/MSFT_AuthenticationAuthorizationAccounting.mof +++ b/Unix/samples/Providers/Network/schema/MSFT_AuthenticationAuthorizationAccounting.mof @@ -17,7 +17,7 @@ class MSFT_AuthenticationAuthorizationAccounting string Server; [Description ( - "An enumeration indicating the the login defaul group " + "An enumeration indicating the the login default group " ), ValueMap { "1", "2", "3"}, Values { "Other", "tacacs+", "radius"} @@ -25,8 +25,8 @@ class MSFT_AuthenticationAuthorizationAccounting uint16 LoginDefaultGroup; [Description ( - "A string that describes a login defaul group when a well " - "defined value is not available login defaul group has the " + "A string that describes a login default group when a well " + "defined value is not available login default group has the " "value \"Other\"." ), ModelCorrespondence { "MSFT_AuthenticationAuthorizationAccounting.LoginDefaultGroup" }] diff --git a/Unix/samples/Providers/Network/schema/MSFT_BGPBestpathConfiguration.mof b/Unix/samples/Providers/Network/schema/MSFT_BGPBestpathConfiguration.mof index 79f16e180..f62c73a82 100644 --- a/Unix/samples/Providers/Network/schema/MSFT_BGPBestpathConfiguration.mof +++ b/Unix/samples/Providers/Network/schema/MSFT_BGPBestpathConfiguration.mof @@ -5,7 +5,7 @@ Version ( "0.70" )] class MSFT_BGPBestpathConfiguration:CIM_SettingData { -boolean IsAlwaysCopareMed; +boolean IsAlwaysCompareMed; boolean ISAsPathMultiplePathRelax; boolean ISCompareRouteId; boolean IsCostCommunityIgnore; diff --git a/Unix/samples/Providers/Network/schema/MSFT_Feature.mof b/Unix/samples/Providers/Network/schema/MSFT_Feature.mof index ef6e33df8..eca17a624 100644 --- a/Unix/samples/Providers/Network/schema/MSFT_Feature.mof +++ b/Unix/samples/Providers/Network/schema/MSFT_Feature.mof @@ -38,7 +38,7 @@ class MSFT_Feature: CIM_LogicalElement [Description ( - "An enumeration indicating the avalible feature. " + "An enumeration indicating the available feature. " ), ValueMap { "1", "2", "3", "4", "5", "6", "7", "8" }, Values { "Other", "ssh", "tacacs+", "BGP", "InterFaceVLAN", "LACP", "DHCP", "LLDP" } diff --git a/Unix/samples/Providers/Network/schema/MSFT_LinkAggregationAssociation.mof b/Unix/samples/Providers/Network/schema/MSFT_LinkAggregationAssociation.mof index e9f1ae37b..db504bdc4 100644 --- a/Unix/samples/Providers/Network/schema/MSFT_LinkAggregationAssociation.mof +++ b/Unix/samples/Providers/Network/schema/MSFT_LinkAggregationAssociation.mof @@ -16,7 +16,7 @@ class MSFT_LinkAggregationAssociation CIM_EthernetPort REF LinkAggregation; [Key, - Description ( "A member Ehternet Switch port")] + Description ( "A member Ethernet Switch port")] CIM_EthernetPort REF EthernetPorts; diff --git a/Unix/samples/Providers/Network/schema/MSFT_Neighbor.mof b/Unix/samples/Providers/Network/schema/MSFT_Neighbor.mof index abde628f1..42e0fc07b 100644 --- a/Unix/samples/Providers/Network/schema/MSFT_Neighbor.mof +++ b/Unix/samples/Providers/Network/schema/MSFT_Neighbor.mof @@ -11,6 +11,6 @@ String Password; [Description (""), ValueMap { "1", "2", "3"}, Values {"Unencrypted", "ThreeDes", "CiscoType7" }] -uint32 KeyEncriptionMethod; +uint32 KeyEncryptionMethod; }; diff --git a/Unix/samples/Providers/Network/schema/MSFT_NeighborTemplate.mof b/Unix/samples/Providers/Network/schema/MSFT_NeighborTemplate.mof index 5117a3300..cbcbeb790 100644 --- a/Unix/samples/Providers/Network/schema/MSFT_NeighborTemplate.mof +++ b/Unix/samples/Providers/Network/schema/MSFT_NeighborTemplate.mof @@ -12,6 +12,6 @@ String Password; [Description (""), ValueMap { "1", "2", "3"}, Values {"Unencrypted", "ThreeDes", "CiscoType7" }] -uint32 KeyEncriptionMethod; +uint32 KeyEncryptionMethod; }; diff --git a/Unix/samples/Providers/Network/schema/MSFT_SwitchService.mof b/Unix/samples/Providers/Network/schema/MSFT_SwitchService.mof index 55a5992ab..dcb800b21 100644 --- a/Unix/samples/Providers/Network/schema/MSFT_SwitchService.mof +++ b/Unix/samples/Providers/Network/schema/MSFT_SwitchService.mof @@ -7,7 +7,7 @@ class MSFT_SwitchService : CIM_Service { [Description ( - "Defines and assigns a protcol endpoint subclass to a physical or virtual port or interface," + "Defines and assigns a protocol endpoint subclass to a physical or virtual port or interface," "for example an instance of CIM_EthernetPort or MSFT_Subinterface\n" "Input that is not completely specified may be filled out " "with default values." ), @@ -16,7 +16,7 @@ class MSFT_SwitchService : CIM_Service "Method Reserved", "Vendor Specific" }] uint32 New_ProtocolEndpoint( [Description ( - "Reference to the targeted interface. This should be an instance of CIM_EhternetPort" + "Reference to the targeted interface. This should be an instance of CIM_EthernetPort" "or and instance of logical interface such as MSFT_SubInterface" )] CIM_EnabledLogicalElement REF TargetInterface, @@ -57,7 +57,7 @@ class MSFT_SwitchService : CIM_Service CIM_ConcreteJob REF Job); [Description ( - "removes a protcol endpoint subclass from a physical or virtual port or interface," + "removes a protocol endpoint subclass from a physical or virtual port or interface," "for example an instance of CIM_EthernetPort or MSFT_Subinterface\n" ), ValueMap { "0", "4096", diff --git a/Unix/samples/Providers/Network/schema/qualifiers.mof b/Unix/samples/Providers/Network/schema/qualifiers.mof index cf9724c15..39f16524c 100644 --- a/Unix/samples/Providers/Network/schema/qualifiers.mof +++ b/Unix/samples/Providers/Network/schema/qualifiers.mof @@ -124,14 +124,14 @@ Qualifier ModelCorrespondence : string[], Scope(any); /* -The Nonlocal qualifer has been removed (as an errata) as of CIM 2.3 +The Nonlocal qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier Nonlocal : string = null, Scope(reference); /* -The NonlocalType qualifer has been removed (as an errata) as of CIM 2.3 +The NonlocalType qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier NonlocalType : string = null, @@ -183,14 +183,14 @@ Qualifier Schema : string = null, Flavor(DisableOverride, ToSubclass, Translatable); /* -The Source qualifer has been removed (as an errata) as of CIM 2.3 +The Source qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier Source : string = null, Scope(class, association, indication); /* -The SourceType qualifer has been removed (as an errata) as of CIM 2.3 +The SourceType qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier SourceType : string = null, diff --git a/Unix/samples/Providers/PersonProvider/MSFT_Person.c b/Unix/samples/Providers/PersonProvider/MSFT_Person.c index eb72c0049..fa7b00f1c 100644 --- a/Unix/samples/Providers/PersonProvider/MSFT_Person.c +++ b/Unix/samples/Providers/PersonProvider/MSFT_Person.c @@ -380,7 +380,7 @@ void MI_CALL MSFT_Person_Invoke_TestAllTypes( MSFT_Person_TestAllTypes_Set_MIReturn(&out, MI_T("100")); MSFT_Person_TestAllTypes_Post(&out, context); - /* extra tests for auto-generated funcitons */ + /* extra tests for auto-generated functions */ clone = 0; r = MSFT_Person_TestAllTypes_Clone( &out, &clone ); diff --git a/Unix/samples/Providers/PersonProvider/TestEmbeddedOperations.c b/Unix/samples/Providers/PersonProvider/TestEmbeddedOperations.c index 430c57210..de4ad2eca 100644 --- a/Unix/samples/Providers/PersonProvider/TestEmbeddedOperations.c +++ b/Unix/samples/Providers/PersonProvider/TestEmbeddedOperations.c @@ -157,7 +157,7 @@ void MI_CALL TestEmbeddedOperations_Invoke_TestEmbedded( // testObjectSingle - not set // OUTPUT - // objectsArray - 2 instances of MSFT_Animal iwth the same keys and species "test" + // objectsArray - 2 instances of MSFT_Animal with the same keys and species "test" // objectSingle - the same // testObjectsArray - last 2 objects of input // testObjectSingle - key is a sum of input objects diff --git a/Unix/samples/Providers/TestClass_AllDMTFArrays/TestClass_AllDMTFArrays.cpp b/Unix/samples/Providers/TestClass_AllDMTFArrays/TestClass_AllDMTFArrays.cpp index 94bcc5485..2986c2a57 100644 --- a/Unix/samples/Providers/TestClass_AllDMTFArrays/TestClass_AllDMTFArrays.cpp +++ b/Unix/samples/Providers/TestClass_AllDMTFArrays/TestClass_AllDMTFArrays.cpp @@ -438,7 +438,7 @@ void MI_CALL TestClass_AllDMTFArrays_EnumerateInstances( if(result != MI_RESULT_OK) { //MI_PostResult(context, result); - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); } } @@ -466,7 +466,7 @@ void MI_CALL TestClass_AllDMTFArrays_GetInstance( if(result != MI_RESULT_OK) { - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); } MI_PostResult(context, result); @@ -520,7 +520,7 @@ void MI_CALL TestClass_AllDMTFArrays_CreateInstance( if(result != MI_RESULT_OK) { - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); } MI_PostResult(context, result); @@ -585,7 +585,7 @@ void MI_CALL TestClass_AllDMTFArrays_ModifyInstance( if((result = MI_Instance_GetElementAt(&(modifiedInstance->__instance), i, &name, &val, &type, &flags)) != MI_RESULT_OK) { //MI_PostResult(context, result); - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot get element of instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not get element of instance")); } if((flags & MI_FLAG_NULL) == 0) @@ -596,7 +596,7 @@ void MI_CALL TestClass_AllDMTFArrays_ModifyInstance( if((result = MI_Instance_SetElement( (MI_Instance *) &(test->__instance), (MI_Char *) name, (MI_Value *) &val, (MI_Type) type, (MI_Uint32) validFlags)) != MI_RESULT_OK) { //MI_PostResult(context, result); - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot set element of instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not set element of instance")); } } } @@ -661,7 +661,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetReal32Array( TestClass_AllDMTFArrays_GetReal32Array_Destruct(&real32Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -701,7 +701,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetReal32Array( TestClass_AllDMTFArrays_SetReal32Array_Destruct(&real32Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -735,7 +735,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetReal64Array( TestClass_AllDMTFArrays_GetReal64Array_Destruct(&real64Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -775,7 +775,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetReal64Array( TestClass_AllDMTFArrays_SetReal64Array_Destruct(&real64Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -809,7 +809,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetChar16Array( TestClass_AllDMTFArrays_GetChar16Array_Destruct(&char16Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -849,7 +849,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetChar16Array( TestClass_AllDMTFArrays_SetChar16Array_Destruct(&char16Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -883,7 +883,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetStringArray( TestClass_AllDMTFArrays_GetStringArray_Destruct(&stringArray); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -923,7 +923,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetStringArray( TestClass_AllDMTFArrays_SetStringArray_Destruct(&stringArray); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -957,7 +957,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetDateTimeArray( TestClass_AllDMTFArrays_GetDateTimeArray_Destruct(&datetimeArray); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -997,7 +997,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetdatetimeArray( TestClass_AllDMTFArrays_SetdatetimeArray_Destruct(&dateArray); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1031,7 +1031,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetReferenceArray( TestClass_AllDMTFArrays_GetReferenceArray_Destruct(&refArray); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1071,7 +1071,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetReferenceArray( TestClass_AllDMTFArrays_SetReferenceArray_Destruct(&refArray); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1107,7 +1107,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetBooleanArray( TestClass_AllDMTFArrays_GetBooleanArray_Destruct(&boolArray); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1147,7 +1147,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetBooleanArray( TestClass_AllDMTFArrays_SetBooleanArray_Destruct(&boolArray); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1181,7 +1181,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetUint8Array( TestClass_AllDMTFArrays_GetUint8Array_Destruct(&uint8Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1222,7 +1222,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetUint8Array( TestClass_AllDMTFArrays_SetUint8Array_Destruct(&uint8Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1258,7 +1258,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetSint8Array( TestClass_AllDMTFArrays_GetSint8Array_Destruct(&sint8Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1299,7 +1299,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetSint8Array( TestClass_AllDMTFArrays_SetSint8Array_Destruct(&sint8Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1333,7 +1333,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetUint16Array( TestClass_AllDMTFArrays_GetUint16Array_Destruct(&uint16Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1374,7 +1374,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetUint16Array( TestClass_AllDMTFArrays_SetUint16Array_Destruct(&uint16Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1408,7 +1408,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetSint16Array( TestClass_AllDMTFArrays_GetSint16Array_Destruct(&sint16Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1448,7 +1448,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetSint16Array( TestClass_AllDMTFArrays_SetSint16Array_Destruct(&sint16Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1482,7 +1482,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetUint32Array( TestClass_AllDMTFArrays_GetUint32Array_Destruct(&uint32Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1522,7 +1522,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetUint32Array( TestClass_AllDMTFArrays_SetUint32Array_Destruct(&uint32Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1556,7 +1556,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetSint32Array( TestClass_AllDMTFArrays_GetSint32Array_Destruct(&sint32Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1596,7 +1596,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetSint32Array( TestClass_AllDMTFArrays_SetSint32Array_Destruct(&sint32Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1630,7 +1630,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetUint64Array( TestClass_AllDMTFArrays_GetUint64Array_Destruct(&uint64Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1670,7 +1670,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetUint64Array( TestClass_AllDMTFArrays_SetUint64Array_Destruct(&uint64Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1704,7 +1704,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetSint64Array( TestClass_AllDMTFArrays_GetSint64Array_Destruct(&sint64Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1744,7 +1744,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetSint64Array( TestClass_AllDMTFArrays_SetSint64Array_Destruct(&sint64Array); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1778,7 +1778,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetEmbeddedInstanceArray( TestClass_AllDMTFArrays_GetEmbeddedInstanceArray_Destruct(&embInstanceArray); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1818,7 +1818,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetEmbeddedInstanceArray( TestClass_AllDMTFArrays_SetEmbeddedInstanceArray_Destruct(&embInstanceArray); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1852,7 +1852,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_GetEmbeddedObjectArray( TestClass_AllDMTFArrays_GetEmbeddedObjectArray_Destruct(&embObjectArray); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } @@ -1892,7 +1892,7 @@ void MI_CALL TestClass_AllDMTFArrays_Invoke_SetEmbeddedObjectArray( TestClass_AllDMTFArrays_SetEmbeddedObjectArray_Destruct(&embObjectArray); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); MI_PostResult(context, result); } diff --git a/Unix/samples/Providers/TestClass_AllDMTFTypes/InstanceProvider_Properties.mof b/Unix/samples/Providers/TestClass_AllDMTFTypes/InstanceProvider_Properties.mof index d6a4cfe27..4f27e46d1 100644 --- a/Unix/samples/Providers/TestClass_AllDMTFTypes/InstanceProvider_Properties.mof +++ b/Unix/samples/Providers/TestClass_AllDMTFTypes/InstanceProvider_Properties.mof @@ -128,7 +128,7 @@ class TestClass_AllDMTFValues : TestClass_ALLDMTFTYPES REAL64 a_REAL64[] = {3.1415, 3.2628631489, 3.14E-12}; //chAR16 a_char16[]= {'C', NULL}; chAR16 a_char16[]= {'C', 'x'}; - string a_string[] = {"Testing a string can be a long one with spaces and chracters like \\ and \' and \n and \" and & ", "A SHORT string"}; + string a_string[] = {"Testing a string can be a long one with spaces and characters like \\ and \' and \n and \" and & ", "A SHORT string"}; datetime a_DATETIME[] = {"20100101233450.000000+000", "20100101233450.000000+800"} ; /* Embedded Instance array diff --git a/Unix/samples/Providers/TestClass_AllDMTFTypes/TestClass_AllDMTFTypes.cpp b/Unix/samples/Providers/TestClass_AllDMTFTypes/TestClass_AllDMTFTypes.cpp index eaa05c1e4..6ee9644e0 100644 --- a/Unix/samples/Providers/TestClass_AllDMTFTypes/TestClass_AllDMTFTypes.cpp +++ b/Unix/samples/Providers/TestClass_AllDMTFTypes/TestClass_AllDMTFTypes.cpp @@ -123,7 +123,7 @@ void CreateInstances(MI_Context* context, unsigned int number) TestClass_ForEmbedded_Destruct(&embeddedInstance); MI_Instance* dynamicInstance; - MI_Context_NewDynamicInstance(context, MI_T("DyanamicClass"), 0, &dynamicInstance); + MI_Context_NewDynamicInstance(context, MI_T("DynamicClass"), 0, &dynamicInstance); MI_Value val; val.uint32 = 100; @@ -547,7 +547,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_GetUint8Value( TestClass_AllDMTFTypes_GetUint8Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -585,7 +585,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_SetUint8Value( TestClass_AllDMTFTypes_SetUint8Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -624,7 +624,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_GetSint8Value( TestClass_AllDMTFTypes_GetSint8Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -662,7 +662,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_SetSint8Value( TestClass_AllDMTFTypes_SetSint8Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -701,7 +701,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_GetUint16Value( TestClass_AllDMTFTypes_GetUint16Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -739,7 +739,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_SetUint16Value( TestClass_AllDMTFTypes_SetUint16Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -778,7 +778,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_GetSint16Value( TestClass_AllDMTFTypes_GetSint16Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -814,7 +814,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_SetSint16Value( result = TestClass_AllDMTFTypes_SetSint16Value_Post(&temp, context); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -853,7 +853,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_GetUint32Value( TestClass_AllDMTFTypes_GetUint32Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -891,7 +891,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_SetUint32Value( TestClass_AllDMTFTypes_SetUint32Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -930,7 +930,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_GetSint32Value( TestClass_AllDMTFTypes_GetSint32Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -990,7 +990,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_SetSint32Value( result = TestClass_AllDMTFTypes_SetSint32Value_Post(&temp, context); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); TestClass_AllDMTFTypes_SetSint32Value_Destruct(&temp); @@ -1031,7 +1031,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_GetUint64Value( TestClass_AllDMTFTypes_GetUint64Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -1069,7 +1069,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_SetUint64Value( TestClass_AllDMTFTypes_SetUint64Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -1108,7 +1108,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_GetSint64Value( TestClass_AllDMTFTypes_GetSint64Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -1146,7 +1146,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_SetSint64Value( TestClass_AllDMTFTypes_SetSint64Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -1185,28 +1185,28 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_GetStringCustomOption( result = TestClass_AllDMTFTypes_GetStringCustomOption_Construct(&methodResult, context); if(result != MI_RESULT_OK) { - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot construct instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not construct instance")); } result = TestClass_AllDMTFTypes_GetStringCustomOption_Set_MIReturn(&methodResult, 0); if(result != MI_RESULT_OK) { TestClass_AllDMTFTypes_GetStringCustomOption_Destruct(&methodResult); - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot set return value")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not set return value")); } result = TestClass_AllDMTFTypes_GetStringCustomOption_Set_optionValue(&methodResult, customOptionValue.string); if(result != MI_RESULT_OK) { TestClass_AllDMTFTypes_GetStringCustomOption_Destruct(&methodResult); - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot set option value")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not set option value")); } result = MI_PostInstance(context, &(methodResult.__instance)); if(result != MI_RESULT_OK) { TestClass_AllDMTFTypes_GetStringCustomOption_Destruct(&methodResult); - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); } MI_PostResult(context, MI_RESULT_OK); @@ -1242,7 +1242,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_GetEmbeddedObjectValue( TestClass_AllDMTFTypes_GetEmbeddedObjectValue_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -1278,7 +1278,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_SetEmbeddedObjectValue( TestClass_AllDMTFTypes_SetEmbeddedObjectValue_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -1316,7 +1316,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_GetEmbeddedInstanceValue( TestClass_AllDMTFTypes_GetEmbeddedInstanceValue_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -1352,7 +1352,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_SetEmbeddedInstanceValue( TestClass_AllDMTFTypes_SetEmbeddedInstanceValue_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -1390,7 +1390,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_GetReferenceValue( TestClass_AllDMTFTypes_GetReferenceValue_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -1426,7 +1426,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_SetReferenceValue( TestClass_AllDMTFTypes_SetReferenceValue_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -1464,7 +1464,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_GetOctetUint8Value( TestClass_AllDMTFTypes_GetOctetUint8Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } @@ -1500,7 +1500,7 @@ void MI_CALL TestClass_AllDMTFTypes_Invoke_SetOctetUint8Value( TestClass_AllDMTFTypes_SetOctetUint8Value_Destruct(&temp); if(result != MI_RESULT_OK) - POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Couldnot post instance")); + POST_ERROR(context, result, MI_RESULT_TYPE_MI, MI_T("Could not post instance")); break; } diff --git a/Unix/samples/Providers/TestClass_ComplexGraphs/ComplexGraph.mof b/Unix/samples/Providers/TestClass_ComplexGraphs/ComplexGraph.mof index df53ce6ca..99093de7e 100644 --- a/Unix/samples/Providers/TestClass_ComplexGraphs/ComplexGraph.mof +++ b/Unix/samples/Providers/TestClass_ComplexGraphs/ComplexGraph.mof @@ -23,13 +23,13 @@ Qualifier EmbeddedObject : boolean = false, Scope(property, method, parameter), Flavor(DisableOverride, ToSubclass); -[Description ("Root class for the inheritnace hierarchy" ), Indication, Structure] +[Description ("Root class for the inheritance hierarchy" ), Indication, Structure] class Root { uint32 Uint32Property; }; -[Description ("Class outside of the inheritnace hierarchy" ), Indication, Structure] +[Description ("Class outside of the inheritance hierarchy" ), Indication, Structure] class Separate { boolean BooleanProperty; diff --git a/Unix/samples/Providers/TestClass_ComplexGraphs/schema.c b/Unix/samples/Providers/TestClass_ComplexGraphs/schema.c index e80727c2c..61f8a2f48 100644 --- a/Unix/samples/Providers/TestClass_ComplexGraphs/schema.c +++ b/Unix/samples/Providers/TestClass_ComplexGraphs/schema.c @@ -284,7 +284,7 @@ static MI_PropertyDecl MI_CONST* MI_CONST Root_props[] = &Root_Uint32Property_prop, }; -static MI_CONST MI_Char* Root_Description_qual_value = MI_T("Root class for the inheritnace hierarchy"); +static MI_CONST MI_Char* Root_Description_qual_value = MI_T("Root class for the inheritance hierarchy"); static MI_CONST MI_Qualifier Root_Description_qual = { @@ -371,7 +371,7 @@ static MI_PropertyDecl MI_CONST* MI_CONST Separate_props[] = &Separate_BooleanProperty_prop, }; -static MI_CONST MI_Char* Separate_Description_qual_value = MI_T("Class outside of the inheritnace hierarchy"); +static MI_CONST MI_Char* Separate_Description_qual_value = MI_T("Class outside of the inheritance hierarchy"); static MI_CONST MI_Qualifier Separate_Description_qual = { diff --git a/Unix/samples/Providers/Test_AssociationProvider/Test_PhysicalDisk.cpp b/Unix/samples/Providers/Test_AssociationProvider/Test_PhysicalDisk.cpp index 398e17e3b..0bb56d645 100644 --- a/Unix/samples/Providers/Test_AssociationProvider/Test_PhysicalDisk.cpp +++ b/Unix/samples/Providers/Test_AssociationProvider/Test_PhysicalDisk.cpp @@ -190,7 +190,7 @@ void MI_CALL Test_PhysicalDisk_ModifyInstance( { instanceFound = MI_TRUE; - // check each proprty here for modification + // check each property here for modification MI_Uint32 numProperties = 0; result = MI_Instance_GetElementCount(&modifiedInstance->__instance, &numProperties); diff --git a/Unix/samples/Providers/Test_AssociationProvider/Test_VirtualDisk.cpp b/Unix/samples/Providers/Test_AssociationProvider/Test_VirtualDisk.cpp index 9274043ca..45e65ab68 100644 --- a/Unix/samples/Providers/Test_AssociationProvider/Test_VirtualDisk.cpp +++ b/Unix/samples/Providers/Test_AssociationProvider/Test_VirtualDisk.cpp @@ -181,7 +181,7 @@ void MI_CALL Test_VirtualDisk_ModifyInstance( { instanceFound = MI_TRUE; - // check each proprty here for modification + // check each property here for modification MI_Uint32 numProperties = 0; result = MI_Instance_GetElementCount(&modifiedInstance->__instance, &numProperties); diff --git a/Unix/samples/Providers/Test_Indication/L_IndicationC1.c b/Unix/samples/Providers/Test_Indication/L_IndicationC1.c index 7a9bef6b0..5e0adddbf 100644 --- a/Unix/samples/Providers/Test_Indication/L_IndicationC1.c +++ b/Unix/samples/Providers/Test_Indication/L_IndicationC1.c @@ -90,7 +90,7 @@ void MI_CALL L_IndicationC1_EnableIndications( const MI_Char* className) { /* TODO: store indicationsContext for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the indicationsContext, and terminate all active subscriptions to current class, MI_Context_PostResult @@ -123,7 +123,7 @@ void MI_CALL L_IndicationC1_Subscribe( void** subscriptionSelf) { /* TODO: store the context for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the context, and Unsubscribe function will not be invoked then, MI_Context_PostResult diff --git a/Unix/samples/Providers/Test_Indication/L_IndicationC2.c b/Unix/samples/Providers/Test_Indication/L_IndicationC2.c index 9f40ea4b8..e08654a58 100644 --- a/Unix/samples/Providers/Test_Indication/L_IndicationC2.c +++ b/Unix/samples/Providers/Test_Indication/L_IndicationC2.c @@ -89,7 +89,7 @@ void MI_CALL L_IndicationC2_EnableIndications( const MI_Char* className) { /* TODO: store indicationsContext for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the indicationsContext, and terminate all active subscriptions to current class, MI_Context_PostResult @@ -122,7 +122,7 @@ void MI_CALL L_IndicationC2_Subscribe( void** subscriptionSelf) { /* TODO: store the context for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the context, and Unsubscribe function will not be invoked then, MI_Context_PostResult diff --git a/Unix/samples/Providers/Test_Indication/L_IndicationC3.c b/Unix/samples/Providers/Test_Indication/L_IndicationC3.c index 12f0aac51..d0101fcbe 100644 --- a/Unix/samples/Providers/Test_Indication/L_IndicationC3.c +++ b/Unix/samples/Providers/Test_Indication/L_IndicationC3.c @@ -89,7 +89,7 @@ void MI_CALL L_IndicationC3_EnableIndications( const MI_Char* className) { /* TODO: store indicationsContext for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the indicationsContext, and terminate all active subscriptions to current class, MI_Context_PostResult @@ -122,7 +122,7 @@ void MI_CALL L_IndicationC3_Subscribe( void** subscriptionSelf) { /* TODO: store the context for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the context, and Unsubscribe function will not be invoked then, MI_Context_PostResult diff --git a/Unix/samples/Providers/Test_Indication/R_IndicationC1.c b/Unix/samples/Providers/Test_Indication/R_IndicationC1.c index addedffc5..25867b1d2 100644 --- a/Unix/samples/Providers/Test_Indication/R_IndicationC1.c +++ b/Unix/samples/Providers/Test_Indication/R_IndicationC1.c @@ -90,7 +90,7 @@ void MI_CALL R_IndicationC1_EnableIndications( const MI_Char* className) { /* TODO: store indicationsContext for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the indicationsContext, and terminate all active subscriptions to current class, MI_Context_PostResult @@ -124,7 +124,7 @@ void MI_CALL R_IndicationC1_Subscribe( void** subscriptionSelf) { /* TODO: store the context for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the context, and Unsubscribe function will not be invoked then, MI_Context_PostResult diff --git a/Unix/samples/Providers/Test_Indication/R_IndicationC2.c b/Unix/samples/Providers/Test_Indication/R_IndicationC2.c index 26e62549d..b0b1205d5 100644 --- a/Unix/samples/Providers/Test_Indication/R_IndicationC2.c +++ b/Unix/samples/Providers/Test_Indication/R_IndicationC2.c @@ -89,7 +89,7 @@ void MI_CALL R_IndicationC2_EnableIndications( const MI_Char* className) { /* TODO: store indicationsContext for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the indicationsContext, and terminate all active subscriptions to current class, MI_Context_PostResult @@ -122,7 +122,7 @@ void MI_CALL R_IndicationC2_Subscribe( void** subscriptionSelf) { /* TODO: store the context for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the context, and Unsubscribe function will not be invoked then, MI_Context_PostResult diff --git a/Unix/samples/Providers/Test_Indication/R_IndicationC3.c b/Unix/samples/Providers/Test_Indication/R_IndicationC3.c index 01c538333..d3e7f1d78 100644 --- a/Unix/samples/Providers/Test_Indication/R_IndicationC3.c +++ b/Unix/samples/Providers/Test_Indication/R_IndicationC3.c @@ -89,7 +89,7 @@ void MI_CALL R_IndicationC3_EnableIndications( const MI_Char* className) { /* TODO: store indicationsContext for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the indicationsContext, and terminate all active subscriptions to current class, MI_Context_PostResult @@ -122,7 +122,7 @@ void MI_CALL R_IndicationC3_Subscribe( void** subscriptionSelf) { /* TODO: store the context for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the context, and Unsubscribe function will not be invoked then, MI_Context_PostResult diff --git a/Unix/samples/Providers/Test_Indication/Test_Indication.c b/Unix/samples/Providers/Test_Indication/Test_Indication.c index a4c31bea9..43daf145f 100644 --- a/Unix/samples/Providers/Test_Indication/Test_Indication.c +++ b/Unix/samples/Providers/Test_Indication/Test_Indication.c @@ -187,7 +187,7 @@ void MI_CALL Test_Indication_EnableIndications( const MI_Char* className) { /* TODO: store indicationsContext for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the indicationsContext, and terminate all active subscriptions to current class, MI_Context_PostResult @@ -220,7 +220,7 @@ void MI_CALL Test_Indication_Subscribe( void** subscriptionSelf) { /* TODO: store the context for posting indication usage */ - /* NOTE:Call one of following functions if and ONLY if encount termination error, + /* NOTE:Call one of following functions if and ONLY if encounter termination error, which will finalize the context, and Unsubscribe function will not be invoked then, MI_Context_PostResult diff --git a/Unix/samples/Providers/Test_Indication/fire.c b/Unix/samples/Providers/Test_Indication/fire.c index f56add798..6223590be 100644 --- a/Unix/samples/Providers/Test_Indication/fire.c +++ b/Unix/samples/Providers/Test_Indication/fire.c @@ -161,7 +161,7 @@ PAL_Uint32 THREAD_API fireindication(void* param) if (MI_FALSE == config->disabled) { - LOGMSG(("fireindication stopped due to class (%s) need to fail after firing (%d) indicaitons", config->className, failAfterCount)); + LOGMSG(("fireindication stopped due to class (%s) need to fail after firing (%d) indications", config->className, failAfterCount)); // if not joined yet, release thread resources pthread_detach(config->thread.__impl); @@ -381,7 +381,7 @@ MI_Result Initialize() MI_Result Finalize() { - LOGMSG(("Finaliize")); + LOGMSG(("Finalize")); LOGMSG(("\r\n===================================================\r\n")); Config_Finalize(&cfgTest_Indication); diff --git a/Unix/samples/Providers/Test_Indication/impl.c b/Unix/samples/Providers/Test_Indication/impl.c index 8233d9d89..ef272f270 100644 --- a/Unix/samples/Providers/Test_Indication/impl.c +++ b/Unix/samples/Providers/Test_Indication/impl.c @@ -446,8 +446,8 @@ _Use_decl_annotations_ case PostBehavior_Subcontext: startfireindication = MI_FALSE; break; - case PostBehavior_Enablecontext_PostOnCalllthread: - case PostBehavior_Subcontext_PostOnCalllthread: + case PostBehavior_Enablecontext_PostOnCallThread: + case PostBehavior_Subcontext_PostOnCallThread: goto DONE; default: break; @@ -625,8 +625,8 @@ _Use_decl_annotations_ LOGMSG(("Signal semaphore to fire indication")); } break; - case PostBehavior_Enablecontext_PostOnCalllthread: - case PostBehavior_Subcontext_PostOnCalllthread: + case PostBehavior_Enablecontext_PostOnCallThread: + case PostBehavior_Subcontext_PostOnCallThread: break; default: break; diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_AccountManagementService.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_AccountManagementService.mof index e892e7948..b35069c3f 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_AccountManagementService.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_AccountManagementService.mof @@ -4,7 +4,7 @@ Description ( "CIM_AccountManagementService creates, manages, and if " "necessary destroys Accounts on behalf of other " - "SecuritySerices." )] + "SecurityServices." )] class CIM_AccountManagementService : CIM_IdentityManagementService { diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_AccountSettingData.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_AccountSettingData.mof index 3c9e3c43d..cc5e52013 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_AccountSettingData.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_AccountSettingData.mof @@ -8,7 +8,7 @@ "this class may be used to constrain the properties of " "instances of CIM_Accountcreated using the service. When " "associated with an instance of CIM_Account, this class may be " - "used to manage the configuration of the CIM_Acount instance." )] + "used to manage the configuration of the CIM_Account instance." )] class CIM_AccountSettingData : CIM_SettingData { [Description ( diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ComputerSystem.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ComputerSystem.mof index 65b6fcbf0..a5e5e052b 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ComputerSystem.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ComputerSystem.mof @@ -134,7 +134,7 @@ class CIM_ComputerSystem : CIM_System { "An enumerated array describing the power management " "capabilities of the ComputerSystem. The use of this " "property has been deprecated. Instead, the Power " - "Capabilites property in an associated PowerManagement " + "Capabilities property in an associated PowerManagement " "Capabilities class should be used." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7" }, Values { "Unknown", "Not Supported", "Disabled", "Enabled", diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ConcreteJob.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ConcreteJob.mof index b641ed6e9..ebd70b493 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ConcreteJob.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ConcreteJob.mof @@ -188,9 +188,9 @@ class CIM_ConcreteJob : CIM_Job { "If JobState is \"Completed\" and Operational Status is " "\"Completed\" then no instance of CIM_Error is returned. \n" "If JobState is \"Exception\" then GetErrors may return " - "intances of CIM_Error related to the execution of the " + "instances of CIM_Error related to the execution of the " "procedure or method invoked by the job.\n" - "If Operatational Status is not \"OK\" or \"Completed\"then " + "If Operational Status is not \"OK\" or \"Completed\"then " "GetErrors may return CIM_Error instances related to the " "running of the job." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ElementSettingData.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ElementSettingData.mof index 28c853528..5b3763448 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ElementSettingData.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ElementSettingData.mof @@ -109,13 +109,13 @@ class CIM_ElementSettingData { "are not affected by this property. \n" "Note: It is assumed that the semantics of each property " "of this set are designed to be compared mathematically. \n" - "When IsMinimum = \"Is Miniumum\", this property " + "When IsMinimum = \"Is Minimum\", this property " "indicates that the affected property values specified in " "the associated SettingData instance shall define desired " "minimum setting values. The operational minimum values " "should be modeled as a properties of the " "CIM_ManagedElement instance.\n" - "When IsMinimum = \"Is Not Miniumum\", this property " + "When IsMinimum = \"Is Not Minimum\", this property " "indicates that the affected property values specified in " "the associated SettingData instance shall not define " "desired minimum setting values. \n" @@ -141,13 +141,13 @@ class CIM_ElementSettingData { "are not affected by this property. \n" "Note: It is assumed that the semantics of each property " "of this set are designed to be compared mathematically. \n" - "When IsMaximum = \"Is Maxiumum\", this property " + "When IsMaximum = \"Is Maximum\", this property " "indicates that the affected property values specified in " "the associated SettingData instance shall define desired " "maximum setting values. The operational maximum values " "should be modeled as a properties of the " "CIM_ManagedElement instance.\n" - "When IsMaximum = \"Is Not Maxiumum\", this property " + "When IsMaximum = \"Is Not Maximum\", this property " "indicates that the affected property values specified in " "the associated SettingData instance shall not define " "desired maximum setting values. \n" diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_EnabledLogicalElementCapabilities.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_EnabledLogicalElementCapabilities.mof index 70f6e153a..c769ce11c 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_EnabledLogicalElementCapabilities.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_EnabledLogicalElementCapabilities.mof @@ -3,7 +3,7 @@ UMLPackagePath ( "CIM::Core::Capabilities" ), Description ( "EnabledLogicalElementCapabilities describes the capabilities " - "supported for changing the state of the assciated " + "supported for changing the state of the associated " "EnabledLogicalElement." )] class CIM_EnabledLogicalElementCapabilities : CIM_Capabilities { diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_EthernetPortAllocationSettingData.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_EthernetPortAllocationSettingData.mof index dc3637693..8bc8be210 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_EthernetPortAllocationSettingData.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_EthernetPortAllocationSettingData.mof @@ -96,7 +96,7 @@ class CIM_EthernetPortAllocationSettingData : CIM_ResourceAllocationSettingData [Description ( "The GroupID is an identifier that refers to the VLAN " "associated with the VSI specified in the VDP TLV as " - "definded in IEEE 802.1Qbg." )] + "defined in IEEE 802.1Qbg." )] uint32 GroupID; [Description ( @@ -150,7 +150,7 @@ class CIM_EthernetPortAllocationSettingData : CIM_ResourceAllocationSettingData boolean Promiscuous; [Description ( - "This property specifes the upper bounds or maximum " + "This property specifies the upper bounds or maximum " "amount of receive bandwidth allowed through this port. " "The value of the ReceiveBandwidthLimit property is " "expressed in the unit specified by the value of the " diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_IPProtocolEndpoint.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_IPProtocolEndpoint.mof index a5516cf25..dc1be8b4a 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_IPProtocolEndpoint.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_IPProtocolEndpoint.mof @@ -79,7 +79,7 @@ class CIM_IPProtocolEndpoint : CIM_ProtocolEndpoint { "A value of 7 \"DHCPv6\" shall indicate the values were " "assigned using DHCPv6. See RFC 3315. \n" "A value of 8 \"IPv6 AutoConfig\" shall indicate the " - "values were assinged using the IPv6 AutoConfig Protocol. " + "values were assigned using the IPv6 AutoConfig Protocol. " "See RFC 4862. \n" "A value of 9 \"Stateless\" shall indicate Stateless " "values were assigned. \n" @@ -94,7 +94,7 @@ class CIM_IPProtocolEndpoint : CIM_ProtocolEndpoint { uint16 AddressOrigin = 0; [Description ( - "IPv6AddressType indentified the type of address found in " + "IPv6AddressType identified the type of address found in " "the IPv6Address property. The values of this property " "shall be interpreted according to RFC4291, Section 2.4" ), ValueMap { "2", "3", "4", "5", "6", "7", "8", "..", diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_LogicalDevice.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_LogicalDevice.mof index a5be2dbc6..8d651a093 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_LogicalDevice.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_LogicalDevice.mof @@ -51,7 +51,7 @@ class CIM_LogicalDevice : CIM_EnabledLogicalElement { "The use of this property has been deprecated. Instead, " "the existence of an associated " "PowerManagementCapabilities class (associated using the " - "ElementCapabilities relationhip) indicates that power " + "ElementCapabilities relationship) indicates that power " "management is supported." )] boolean PowerManagementSupported; @@ -60,7 +60,7 @@ class CIM_LogicalDevice : CIM_EnabledLogicalElement { Description ( "An enumerated array describing the power management " "capabilities of the Device. The use of this property has " - "been deprecated. Instead, the PowerCapabilites property " + "been deprecated. Instead, the PowerCapabilities property " "in an associated PowerManagementCapabilities class " "should be used." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7" }, @@ -205,7 +205,7 @@ class CIM_LogicalDevice : CIM_EnabledLogicalElement { "property can be used to provide further information. For " "example, a Device\'s primary Availability may be \"Off " "line\" (value=8), but it may also be in a low power " - "state (AdditonalAvailability value=14), or the Device " + "state (AdditionalAvailability value=14), or the Device " "could be running Diagnostics (AdditionalAvailability " "value=5, \"In Test\")." ), ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ManagedSystemElement.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ManagedSystemElement.mof index 54af04f42..1480fe037 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ManagedSystemElement.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ManagedSystemElement.mof @@ -263,7 +263,7 @@ class CIM_ManagedSystemElement : CIM_ManagedElement { "OperatingStatus consists of one of the following values: " "Unknown, Not Available, In Service, Starting, Stopping, " "Stopped, Aborted, Dormant, Completed, Migrating, " - "Emmigrating, Immigrating, Snapshotting. Shutting Down, " + "Emigrating, Immigrating, Snapshotting. Shutting Down, " "In Test \n" "A Null return indicates the implementation (provider) " "does not implement this property. \n" diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_NetworkPolicyCondition.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_NetworkPolicyCondition.mof index b4ace4396..0d6608d9d 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_NetworkPolicyCondition.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_NetworkPolicyCondition.mof @@ -56,7 +56,7 @@ class CIM_NetworkPolicyCondition : CIM_Policy { "DestinationPortRange: identifies a range of receiving ports\n" "HTTPURL: identifies the URL under a HTTP request.\n" "HTTPContent: identifies the Content-Type field under the " - "HTPP request\n" + "HTTP request\n" "HTTPCookieName: identifies a cookie name under the HTTP request\n" "HTTPCookieValue: identifies a cookie value under the " "HTTP request\n" diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_PhysicalComputerSystemView.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_PhysicalComputerSystemView.mof index fcada76a0..ad7c387f4 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_PhysicalComputerSystemView.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_PhysicalComputerSystemView.mof @@ -583,7 +583,7 @@ class CIM_PhysicalComputerSystemView : CIM_View { [Description ( "EnabledState of the current or last running operating " - "system on this physcial computer system." ), + "system on this physical computer system." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11..32767", "32768..65535" }, Values { "Unknown", "Other", "Enabled", "Disabled", @@ -735,7 +735,7 @@ class CIM_PhysicalComputerSystemView : CIM_View { "Failed", "DMTF Reserved", "Vendor Reserved" }] uint32 ClearLog( [In, Description ( - "Idenfier for the log that is requested to be cleared." + "Identifier for the log that is requested to be cleared." ), ModelCorrespondence { "CIM_RecordLog.InstanceID", "CIM_PhysicalComputerSystemView.LogInstanceID" }] diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ProtocolEndpoint.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ProtocolEndpoint.mof index e448e4b2b..9724826f9 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ProtocolEndpoint.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_ProtocolEndpoint.mof @@ -192,7 +192,7 @@ class CIM_ProtocolEndpoint : CIM_ServiceAccessPoint { "GR303 IDT", "ISUP", "Proprietary Wireless MAC Layer", "Proprietary Wireless Downstream", "Proprietary Wireless Upstream", "HIPERLAN Type 2", - "Proprietary Broadband Wireless Access Point to Mulipoint", + "Proprietary Broadband Wireless Access Point to Multipoint", "SONET Overhead Channel", "Digital Wrapper Overhead Channel", "ATM Adaptation Layer 2", "Radio MAC", "ATM Radio", diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_SecurityService.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_SecurityService.mof index 3c70e5929..e130d1f05 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_SecurityService.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_SecurityService.mof @@ -6,7 +6,7 @@ // ================================================================== [Abstract, Version ( "2.6.0" ), UMLPackagePath ( "CIM::User::SecurityServices" ), - Description ( "A service providing security functionaity." )] + Description ( "A service providing security functionality." )] class CIM_SecurityService : CIM_Service { diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_Service.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_Service.mof index 183f65584..f610ac55d 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_Service.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_Service.mof @@ -13,7 +13,7 @@ Description ( "A Service is a LogicalElement that represents the availability " "of functionality that can be managed. This functionality may " - "be provided by a seperately modeled entity such as a " + "be provided by a separately modeled entity such as a " "LogicalDevice or a SoftwareFeature, or both. The modeled " "Service typically provides only functionality required for " "management of itself or the elements it affects." )] diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_VLAN.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_VLAN.mof index 1378f446e..01257fdaa 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_VLAN.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_VLAN.mof @@ -19,7 +19,7 @@ "textual name of the VLAN, if there is one. Otherwise, " "synthesize a textual name, e.g., VLAN 0003. (Consider leading " "zero fill, as shown, to ensure that if the textual VLAN names " - "are extracted and presented by a management applictions, the " + "are extracted and presented by a management applications, the " "VLAN names will sort in the expected order.) The numeric part " "of the name should be at least four digits wide since 802.1Q " "specifies 4095 VLANs. \n" diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_VirtualEthernetSwitchSettingData.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_VirtualEthernetSwitchSettingData.mof index c4e27cd73..ecf7c30a8 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_VirtualEthernetSwitchSettingData.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_VirtualEthernetSwitchSettingData.mof @@ -17,7 +17,7 @@ class CIM_VirtualEthernetSwitchSettingData : CIM_VirtualSystemSettingData { "are currently associated with the Ethernet bridge for " "the purpose of the allocation of Ethernet connections " "between a virtual system and an Ethernet bridge Each " - "non-Null value of the AssoicatedResourcePool property " + "non-Null value of the AssociatedResourcePool property " "shall conform to the production " "WBEM_URI_UntypedInstancePath as defined in DSP0207" )] string AssociatedResourcePool[]; @@ -28,7 +28,7 @@ class CIM_VirtualEthernetSwitchSettingData : CIM_VirtualSystemSettingData { "MAC Address Learning, as defined in the IEEE 802.1D " "standard or in a VLAN-aware bridge this property " "specifies the number of MAC,VID pairs learned by the " - "bridge to support learning as definded in the IEEE " + "bridge to support learning as defined in the IEEE " "802.1Q standard." )] uint32 MaxNumMACAddress; diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_VirtualSystemSettingData.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_VirtualSystemSettingData.mof index 16cbe4b1e..89e2b440e 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_VirtualSystemSettingData.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/CIM_VirtualSystemSettingData.mof @@ -32,7 +32,7 @@ class CIM_VirtualSystemSettingData : CIM_SettingData { "ports. \n" "On create requests VirtualSystemIdentifier may contain " "implementation specific rules (like simple patterns or " - "regular expresssion) that may be interpreted by the " + "regular expression) that may be interpreted by the " "implementation when assigning a VirtualSystemIdentifier." )] string VirtualSystemIdentifier; @@ -180,7 +180,7 @@ class CIM_VirtualSystemSettingData : CIM_SettingData { "Action to take for the virtual system when the software " "executed by the virtual system fails. Failures in this " "case means a failure that is detectable by the host " - "platform, such as a non-interuptable wait state " + "platform, such as a non-interruptible wait state " "condition." ), ValueMap { "2", "3", "4", ".." }, Values { "None", "Restart", "Revert to snapshot", @@ -188,7 +188,7 @@ class CIM_VirtualSystemSettingData : CIM_SettingData { uint16 AutomaticRecoveryAction; [Description ( - "Filepath of a file where recovery relateded information " + "Filepath of a file where recovery related information " "of the virtual system is stored.Format shall be URI " "based on RFC 2079." )] string RecoveryFile; diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_ACL.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_ACL.mof index 55ed07099..f0eeb2a34 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_ACL.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_ACL.mof @@ -2,7 +2,7 @@ // MSFT_IPACL // =============================================================== [Description ( "MSFT_IPACL description." - "This class names the IP ACL in a system. It is used as an aggragation class" + "This class names the IP ACL in a system. It is used as an aggregation class" "for an orderset of rules"), Version ( "0.70" )] class MSFT_ACL : CIM_NetworkPolicyRule @@ -19,12 +19,12 @@ class MSFT_ACL : CIM_NetworkPolicyRule [Description ( "Set of policy on an ACL" - "The default Implicited states that all traffic is denied unless there is a" + "The default Implicit states that all traffic is denied unless there is a" "rule allowing traffic" - "Explicit policy states that an explict rule must be stated for each permit and or allow action"), + "Explicit policy states that an explicit rule must be stated for each permit and or allow action"), ValueMap { "2", "3"}, Values { "Implicit", "Explicit"} ] uint16 ActionPolicy = 2; -}; \ No newline at end of file +}; diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_ACLSetComponent.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_ACLSetComponent.mof index 8464e2532..223e5d53f 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_ACLSetComponent.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_ACLSetComponent.mof @@ -15,7 +15,7 @@ class MSFT_ACLSetComponent : CIM_PolicySetComponent { [Description ( "A non-negative integer for sequencing each ACL rule. The" - "Agragated Rules will be processed from lowest to highest in the sequence")] + "Aggregated Rules will be processed from lowest to highest in the sequence")] uint16 Sequence; diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_AuthenticationAuthorizationAccounting.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_AuthenticationAuthorizationAccounting.mof index 9a75032ef..ef57f5da6 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_AuthenticationAuthorizationAccounting.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_AuthenticationAuthorizationAccounting.mof @@ -17,7 +17,7 @@ class MSFT_AuthenticationAuthorizationAccounting string Server; [Description ( - "An enumeration indicating the the login defaul group " + "An enumeration indicating the the login default group " ), ValueMap { "1", "2", "3"}, Values { "Other", "tacacs+", "radius"} @@ -25,8 +25,8 @@ class MSFT_AuthenticationAuthorizationAccounting uint16 LoginDefaultGroup; [Description ( - "A string that describes a login defaul group when a well " - "defined value is not available login defaul group has the " + "A string that describes a login default group when a well " + "defined value is not available login default group has the " "value \"Other\"." ), ModelCorrespondence { "MSFT_AuthenticationAuthorizationAccounting.LoginDefaultGroup" }] diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_BGPBestpathConfiguration.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_BGPBestpathConfiguration.mof index 79f16e180..f62c73a82 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_BGPBestpathConfiguration.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_BGPBestpathConfiguration.mof @@ -5,7 +5,7 @@ Version ( "0.70" )] class MSFT_BGPBestpathConfiguration:CIM_SettingData { -boolean IsAlwaysCopareMed; +boolean IsAlwaysCompareMed; boolean ISAsPathMultiplePathRelax; boolean ISCompareRouteId; boolean IsCostCommunityIgnore; diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_Feature.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_Feature.mof index ef6e33df8..eca17a624 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_Feature.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_Feature.mof @@ -38,7 +38,7 @@ class MSFT_Feature: CIM_LogicalElement [Description ( - "An enumeration indicating the avalible feature. " + "An enumeration indicating the available feature. " ), ValueMap { "1", "2", "3", "4", "5", "6", "7", "8" }, Values { "Other", "ssh", "tacacs+", "BGP", "InterFaceVLAN", "LACP", "DHCP", "LLDP" } diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_LinkAggregationAssociation.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_LinkAggregationAssociation.mof index e9f1ae37b..db504bdc4 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_LinkAggregationAssociation.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_LinkAggregationAssociation.mof @@ -16,7 +16,7 @@ class MSFT_LinkAggregationAssociation CIM_EthernetPort REF LinkAggregation; [Key, - Description ( "A member Ehternet Switch port")] + Description ( "A member Ethernet Switch port")] CIM_EthernetPort REF EthernetPorts; diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_LinkAggregationSettingData.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_LinkAggregationSettingData.mof index c318bbb84..77e3c05ad 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_LinkAggregationSettingData.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_LinkAggregationSettingData.mof @@ -1,7 +1,7 @@ // =============================================================== -// MSFT_LinkAggragationSettingData +// MSFT_LinkAggregationSettingData // =============================================================== - [Description ( "MSFT_LinkAggragationSettingData description." ), + [Description ( "MSFT_LinkAggregationSettingData description." ), Version ( "0.7" )] class MSFT_LinkAggregationSettingData : CIM_SettingData { diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_Neighbor.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_Neighbor.mof index abde628f1..42e0fc07b 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_Neighbor.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_Neighbor.mof @@ -11,6 +11,6 @@ String Password; [Description (""), ValueMap { "1", "2", "3"}, Values {"Unencrypted", "ThreeDes", "CiscoType7" }] -uint32 KeyEncriptionMethod; +uint32 KeyEncryptionMethod; }; diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_NeighborTemplate.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_NeighborTemplate.mof index 5117a3300..cbcbeb790 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_NeighborTemplate.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_NeighborTemplate.mof @@ -12,6 +12,6 @@ String Password; [Description (""), ValueMap { "1", "2", "3"}, Values {"Unencrypted", "ThreeDes", "CiscoType7" }] -uint32 KeyEncriptionMethod; +uint32 KeyEncryptionMethod; }; diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_NetworkACLService.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_NetworkACLService.mof index 2e2c97836..81b658d26 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_NetworkACLService.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_NetworkACLService.mof @@ -7,7 +7,7 @@ class MSFT_NetworkACLService : CIM_NetworkPolicyService { [Description ( - "Creates ande Names a new ACL" ), + "Creates and Names a new ACL" ), ValueMap { "0", "4096", "4097..32767", "32768..65535" }, Values { "Completed with No Error", "Job Started", "Method Reserved", "Vendor Specific" }] diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_SwitchService.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_SwitchService.mof index 4982e1f3b..a6c2e4971 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_SwitchService.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_SwitchService.mof @@ -7,7 +7,7 @@ class MSFT_SwitchService : CIM_Service { [Description ( - "Defines and assigns a protcol endpoint subclass to a physical or virtual port or interface," + "Defines and assigns a protocol endpoint subclass to a physical or virtual port or interface," "for example an instance of CIM_EthernetPort or MSFT_Subinterface\n" "Input that is not completely specified may be filled out " "with default values." ), @@ -56,7 +56,7 @@ class MSFT_SwitchService : CIM_Service CIM_ConcreteJob REF Job); [Description ( - "removes a protcol endpoint subclass from a physical or virtual port or interface," + "removes a protocol endpoint subclass from a physical or virtual port or interface," "for example an instance of CIM_EthernetPort or MSFT_Subinterface\n" ), ValueMap { "0", "4096", @@ -181,11 +181,11 @@ class MSFT_SwitchService : CIM_Service [Description ( "A string an containing an embedded " "instance of class subclass of " - "LinkAggragation that describes " + "LinkAggregation that describes " "the aspects of the Link aggregation. " ), EmbeddedInstance ( "MSFT_LinkAggregation" ) ] - string LinkAggragation[], + string LinkAggregation[], [Description ( "An array of references to instance of CIM_EthernetPort that " diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_VACLAppliesToVLAN.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_VACLAppliesToVLAN.mof index 7c275b601..c9a7a4ab6 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_VACLAppliesToVLAN.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/MSFT_VACLAppliesToVLAN.mof @@ -12,7 +12,7 @@ class MSFT_VACLAppliesToVLAN : CIM_PolicySetAppliesToElement [Override ( "ManagedElement" ), Description ("specialize this association to only apply to NetworkVLAN class" - "to match VLAN Access List implentation") ] + "to match VLAN Access List implementation") ] CIM_NetworkVLAN REF ManagedElement; }; diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/qualifiers.mof b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/qualifiers.mof index cf9724c15..39f16524c 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/qualifiers.mof +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MOFS/qualifiers.mof @@ -124,14 +124,14 @@ Qualifier ModelCorrespondence : string[], Scope(any); /* -The Nonlocal qualifer has been removed (as an errata) as of CIM 2.3 +The Nonlocal qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier Nonlocal : string = null, Scope(reference); /* -The NonlocalType qualifer has been removed (as an errata) as of CIM 2.3 +The NonlocalType qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier NonlocalType : string = null, @@ -183,14 +183,14 @@ Qualifier Schema : string = null, Flavor(DisableOverride, ToSubclass, Translatable); /* -The Source qualifer has been removed (as an errata) as of CIM 2.3 +The Source qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier Source : string = null, Scope(class, association, indication); /* -The SourceType qualifer has been removed (as an errata) as of CIM 2.3 +The SourceType qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier SourceType : string = null, diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_BGPBestpathConfiguration.h b/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_BGPBestpathConfiguration.h index 18a1831c1..92e7afd4f 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_BGPBestpathConfiguration.h +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_BGPBestpathConfiguration.h @@ -33,7 +33,7 @@ typedef struct _MSFT_BGPBestpathConfiguration /* extends CIM_SettingData */ MI_ConstStringField ElementName; /* CIM_SettingData properties */ /* MSFT_BGPBestpathConfiguration properties */ - MI_ConstBooleanField IsAlwaysCopareMed; + MI_ConstBooleanField IsAlwaysCompareMed; MI_ConstBooleanField ISAsPathMultiplePathRelax; MI_ConstBooleanField ISCompareRouteId; MI_ConstBooleanField IsCostCommunityIgnore; @@ -259,19 +259,19 @@ MI_INLINE MI_Result MI_CALL MSFT_BGPBestpathConfiguration_Clear_ElementName( 3); } -MI_INLINE MI_Result MI_CALL MSFT_BGPBestpathConfiguration_Set_IsAlwaysCopareMed( +MI_INLINE MI_Result MI_CALL MSFT_BGPBestpathConfiguration_Set_IsAlwaysCompareMed( _Inout_ MSFT_BGPBestpathConfiguration* self, _In_ MI_Boolean x) { - ((MI_BooleanField*)&self->IsAlwaysCopareMed)->value = x; - ((MI_BooleanField*)&self->IsAlwaysCopareMed)->exists = 1; + ((MI_BooleanField*)&self->IsAlwaysCompareMed)->value = x; + ((MI_BooleanField*)&self->IsAlwaysCompareMed)->exists = 1; return MI_RESULT_OK; } -MI_INLINE MI_Result MI_CALL MSFT_BGPBestpathConfiguration_Clear_IsAlwaysCopareMed( +MI_INLINE MI_Result MI_CALL MSFT_BGPBestpathConfiguration_Clear_IsAlwaysCompareMed( _Inout_ MSFT_BGPBestpathConfiguration* self) { - memset((void*)&self->IsAlwaysCopareMed, 0, sizeof(self->IsAlwaysCopareMed)); + memset((void*)&self->IsAlwaysCompareMed, 0, sizeof(self->IsAlwaysCompareMed)); return MI_RESULT_OK; } diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_Neighbor.h b/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_Neighbor.h index 1db051c67..9499b2369 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_Neighbor.h +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_Neighbor.h @@ -72,7 +72,7 @@ typedef struct _MSFT_Neighbor /* extends CIM_AutonomousSystem */ /* MSFT_Neighbor properties */ MI_ConstStringField RouteMap; MI_ConstStringField Password; - MI_ConstUint32Field KeyEncriptionMethod; + MI_ConstUint32Field KeyEncryptionMethod; } MSFT_Neighbor; @@ -1092,19 +1092,19 @@ MI_INLINE MI_Result MI_CALL MSFT_Neighbor_Clear_Password( 35); } -MI_INLINE MI_Result MI_CALL MSFT_Neighbor_Set_KeyEncriptionMethod( +MI_INLINE MI_Result MI_CALL MSFT_Neighbor_Set_KeyEncryptionMethod( _Inout_ MSFT_Neighbor* self, _In_ MI_Uint32 x) { - ((MI_Uint32Field*)&self->KeyEncriptionMethod)->value = x; - ((MI_Uint32Field*)&self->KeyEncriptionMethod)->exists = 1; + ((MI_Uint32Field*)&self->KeyEncryptionMethod)->value = x; + ((MI_Uint32Field*)&self->KeyEncryptionMethod)->exists = 1; return MI_RESULT_OK; } -MI_INLINE MI_Result MI_CALL MSFT_Neighbor_Clear_KeyEncriptionMethod( +MI_INLINE MI_Result MI_CALL MSFT_Neighbor_Clear_KeyEncryptionMethod( _Inout_ MSFT_Neighbor* self) { - memset((void*)&self->KeyEncriptionMethod, 0, sizeof(self->KeyEncriptionMethod)); + memset((void*)&self->KeyEncryptionMethod, 0, sizeof(self->KeyEncryptionMethod)); return MI_RESULT_OK; } diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_NeighborTemplate.h b/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_NeighborTemplate.h index ddddb2334..4bad3b912 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_NeighborTemplate.h +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_NeighborTemplate.h @@ -30,7 +30,7 @@ typedef struct _MSFT_NeighborTemplate /* extends MSFT_AutonomousSystemSettingDat /* MSFT_NeighborTemplate properties */ MI_ConstStringField RouteMap; MI_ConstStringField Password; - MI_ConstUint32Field KeyEncriptionMethod; + MI_ConstUint32Field KeyEncryptionMethod; } MSFT_NeighborTemplate; @@ -202,19 +202,19 @@ MI_INLINE MI_Result MI_CALL MSFT_NeighborTemplate_Clear_Password( 2); } -MI_INLINE MI_Result MI_CALL MSFT_NeighborTemplate_Set_KeyEncriptionMethod( +MI_INLINE MI_Result MI_CALL MSFT_NeighborTemplate_Set_KeyEncryptionMethod( _Inout_ MSFT_NeighborTemplate* self, _In_ MI_Uint32 x) { - ((MI_Uint32Field*)&self->KeyEncriptionMethod)->value = x; - ((MI_Uint32Field*)&self->KeyEncriptionMethod)->exists = 1; + ((MI_Uint32Field*)&self->KeyEncryptionMethod)->value = x; + ((MI_Uint32Field*)&self->KeyEncryptionMethod)->exists = 1; return MI_RESULT_OK; } -MI_INLINE MI_Result MI_CALL MSFT_NeighborTemplate_Clear_KeyEncriptionMethod( +MI_INLINE MI_Result MI_CALL MSFT_NeighborTemplate_Clear_KeyEncryptionMethod( _Inout_ MSFT_NeighborTemplate* self) { - memset((void*)&self->KeyEncriptionMethod, 0, sizeof(self->KeyEncriptionMethod)); + memset((void*)&self->KeyEncryptionMethod, 0, sizeof(self->KeyEncryptionMethod)); return MI_RESULT_OK; } diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_SwitchService.h b/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_SwitchService.h index 0cdcb2772..908d03e89 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_SwitchService.h +++ b/Unix/samples/Providers/Test_TorSwitchSchema/MSFT_SwitchService.h @@ -2198,7 +2198,7 @@ typedef struct _MSFT_SwitchService_CreateLinkAggregation { MI_Instance __instance; /*OUT*/ MI_ConstUint32Field MIReturn; -MSFT_LinkAggregation_ConstArrayRef LinkAggragation; +MSFT_LinkAggregation_ConstArrayRef LinkAggregation; CIM_EthernetPort_ConstArrayRef EthernetPort; /*OUT*/ MSFT_LinkAggregation_ConstRef ResultingLinkAggregation; /*OUT*/ CIM_ConcreteJob_ConstRef Job; @@ -2258,7 +2258,7 @@ MI_INLINE MI_Result MI_CALL MSFT_SwitchService_CreateLinkAggregation_Clear_MIRet return MI_RESULT_OK; } -MI_INLINE MI_Result MI_CALL MSFT_SwitchService_CreateLinkAggregation_Set_LinkAggragation( +MI_INLINE MI_Result MI_CALL MSFT_SwitchService_CreateLinkAggregation_Set_LinkAggregation( _Inout_ MSFT_SwitchService_CreateLinkAggregation* self, _In_reads_opt_(size) const MSFT_LinkAggregation * const * data, _In_ MI_Uint32 size) @@ -2274,7 +2274,7 @@ MI_INLINE MI_Result MI_CALL MSFT_SwitchService_CreateLinkAggregation_Set_LinkAgg 0); } -MI_INLINE MI_Result MI_CALL MSFT_SwitchService_CreateLinkAggregation_SetPtr_LinkAggragation( +MI_INLINE MI_Result MI_CALL MSFT_SwitchService_CreateLinkAggregation_SetPtr_LinkAggregation( _Inout_ MSFT_SwitchService_CreateLinkAggregation* self, _In_reads_opt_(size) const MSFT_LinkAggregation * const * data, _In_ MI_Uint32 size) @@ -2290,7 +2290,7 @@ MI_INLINE MI_Result MI_CALL MSFT_SwitchService_CreateLinkAggregation_SetPtr_Link MI_FLAG_BORROW); } -MI_INLINE MI_Result MI_CALL MSFT_SwitchService_CreateLinkAggregation_Clear_LinkAggragation( +MI_INLINE MI_Result MI_CALL MSFT_SwitchService_CreateLinkAggregation_Clear_LinkAggregation( _Inout_ MSFT_SwitchService_CreateLinkAggregation* self) { return self->__instance.ft->ClearElementAt( diff --git a/Unix/samples/Providers/Test_TorSwitchSchema/schema.c b/Unix/samples/Providers/Test_TorSwitchSchema/schema.c index 9906672ac..81bff29d3 100644 --- a/Unix/samples/Providers/Test_TorSwitchSchema/schema.c +++ b/Unix/samples/Providers/Test_TorSwitchSchema/schema.c @@ -2582,7 +2582,7 @@ static MI_CONST MI_PropertyDecl MSFT_ACL_ACLType_prop = &MSFT_ACL_ACLType_value, }; -static MI_CONST MI_Char* MSFT_ACL_ActionPolicy_Description_qual_value = MI_T("Set of policy on an ACLThe default Implicited states that all traffic is denied unless there is arule allowing trafficExplicit policy states that an explict rule must be stated for each permit and or allow action"); +static MI_CONST MI_Char* MSFT_ACL_ActionPolicy_Description_qual_value = MI_T("Set of policy on an ACLThe default Implicit states that all traffic is denied unless there is arule allowing trafficExplicit policy states that an explicit rule must be stated for each permit and or allow action"); static MI_CONST MI_Qualifier MSFT_ACL_ActionPolicy_Description_qual = { @@ -2711,7 +2711,7 @@ static MI_CONST MI_Qualifier MSFT_ACL_UMLPackagePath_qual = &MSFT_ACL_UMLPackagePath_qual_value }; -static MI_CONST MI_Char* MSFT_ACL_Description_qual_value = MI_T("MSFT_IPACL description.This class names the IP ACL in a system. It is used as an aggragation classfor an orderset of rules"); +static MI_CONST MI_Char* MSFT_ACL_Description_qual_value = MI_T("MSFT_IPACL description.This class names the IP ACL in a system. It is used as an aggregation classfor an orderset of rules"); static MI_CONST MI_Qualifier MSFT_ACL_Description_qual = { @@ -4260,7 +4260,7 @@ static MI_CONST MI_PropertyDecl CIM_ManagedSystemElement_DetailedStatus_prop = NULL, }; -static MI_CONST MI_Char* CIM_ManagedSystemElement_OperatingStatus_Description_qual_value = MI_T("OperatingStatus provides a current status value for the operational condition of the element and can be used for providing more detail with respect to the value of EnabledState. It can also provide the transitional states when an element is transitioning from one state to another, such as when an element is transitioning between EnabledState and RequestedState, as well as other transitional conditions.\nOperatingStatus consists of one of the following values: Unknown, Not Available, In Service, Starting, Stopping, Stopped, Aborted, Dormant, Completed, Migrating, Emmigrating, Immigrating, Snapshotting. Shutting Down, In Test \nA Null return indicates the implementation (provider) does not implement this property. \n\"Unknown\" indicates the implementation is in general capable of returning this property, but is unable to do so at this time. \n\"None\" indicates that the implementation (provider) is capable of returning a value for this property, but not ever for this particular piece of hardware/software or the property is intentionally not used because it adds no meaningful information (as in the case of a property that is intended to add additional info to another property). \n\"Servicing\" describes an element being configured, maintained, cleaned, or otherwise administered. \n\"Starting\" describes an element being initialized. \n\"Stopping\" describes an element being brought to an orderly stop. \n\"Stopped\" and \"Aborted\" are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the state and configuration of the element might need to be updated. \n\"Dormant\" indicates that the element is inactive or quiesced. \n\"Completed\" indicates that the element has completed its operation. This value should be combined with either OK, Error, or Degraded in the PrimaryStatus so that a client can tell if the complete operation Completed with OK (passed), Completed with Error (failed), or Completed with Degraded (the operation finished, but it did not complete OK or did not report an error). \n\"Migrating\" element is being moved between host elements. \n\"Immigrating\" element is being moved to new host element. \n\"Emigrating\" element is being moved away from host element. \n\"Shutting Down\" describes an element being brought to an abrupt stop. \n\"In Test\" element is performing test functions. \n\"Transitioning\" describes an element that is between states, that is, it is not fully available in either its previous state or its next state. This value should be used if other values indicating a transition to a specific state are not applicable.\n\"In Service\" describes an element that is in service and operational."); +static MI_CONST MI_Char* CIM_ManagedSystemElement_OperatingStatus_Description_qual_value = MI_T("OperatingStatus provides a current status value for the operational condition of the element and can be used for providing more detail with respect to the value of EnabledState. It can also provide the transitional states when an element is transitioning from one state to another, such as when an element is transitioning between EnabledState and RequestedState, as well as other transitional conditions.\nOperatingStatus consists of one of the following values: Unknown, Not Available, In Service, Starting, Stopping, Stopped, Aborted, Dormant, Completed, Migrating, Emigrating, Immigrating, Snapshotting. Shutting Down, In Test \nA Null return indicates the implementation (provider) does not implement this property. \n\"Unknown\" indicates the implementation is in general capable of returning this property, but is unable to do so at this time. \n\"None\" indicates that the implementation (provider) is capable of returning a value for this property, but not ever for this particular piece of hardware/software or the property is intentionally not used because it adds no meaningful information (as in the case of a property that is intended to add additional info to another property). \n\"Servicing\" describes an element being configured, maintained, cleaned, or otherwise administered. \n\"Starting\" describes an element being initialized. \n\"Stopping\" describes an element being brought to an orderly stop. \n\"Stopped\" and \"Aborted\" are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the state and configuration of the element might need to be updated. \n\"Dormant\" indicates that the element is inactive or quiesced. \n\"Completed\" indicates that the element has completed its operation. This value should be combined with either OK, Error, or Degraded in the PrimaryStatus so that a client can tell if the complete operation Completed with OK (passed), Completed with Error (failed), or Completed with Degraded (the operation finished, but it did not complete OK or did not report an error). \n\"Migrating\" element is being moved between host elements. \n\"Immigrating\" element is being moved to new host element. \n\"Emigrating\" element is being moved away from host element. \n\"Shutting Down\" describes an element being brought to an abrupt stop. \n\"In Test\" element is performing test functions. \n\"Transitioning\" describes an element that is between states, that is, it is not fully available in either its previous state or its next state. This value should be used if other values indicating a transition to a specific state are not applicable.\n\"In Service\" describes an element that is in service and operational."); static MI_CONST MI_Qualifier CIM_ManagedSystemElement_OperatingStatus_Description_qual = { @@ -9010,7 +9010,7 @@ MI_CONST MI_MethodDecl CIM_ConcreteJob_GetError_rtti = (MI_ProviderFT_Invoke)CIM_ConcreteJob_Invoke_GetError, /* method */ }; -static MI_CONST MI_Char* CIM_ConcreteJob_GetErrors_Description_qual_value = MI_T("If JobState is \"Completed\" and Operational Status is \"Completed\" then no instance of CIM_Error is returned. \nIf JobState is \"Exception\" then GetErrors may return intances of CIM_Error related to the execution of the procedure or method invoked by the job.\nIf Operatational Status is not \"OK\" or \"Completed\"then GetErrors may return CIM_Error instances related to the running of the job."); +static MI_CONST MI_Char* CIM_ConcreteJob_GetErrors_Description_qual_value = MI_T("If JobState is \"Completed\" and Operational Status is \"Completed\" then no instance of CIM_Error is returned. \nIf JobState is \"Exception\" then GetErrors may return instances of CIM_Error related to the execution of the procedure or method invoked by the job.\nIf Operational Status is not \"OK\" or \"Completed\"then GetErrors may return CIM_Error instances related to the running of the job."); static MI_CONST MI_Qualifier CIM_ConcreteJob_GetErrors_Description_qual = { @@ -9132,7 +9132,7 @@ static MI_CONST MI_ParameterDecl CIM_ConcreteJob_GetErrors_Errors_param = offsetof(CIM_ConcreteJob_GetErrors, Errors), /* offset */ }; -static MI_CONST MI_Char* CIM_ConcreteJob_GetErrors_MIReturn_Description_qual_value = MI_T("If JobState is \"Completed\" and Operational Status is \"Completed\" then no instance of CIM_Error is returned. \nIf JobState is \"Exception\" then GetErrors may return intances of CIM_Error related to the execution of the procedure or method invoked by the job.\nIf Operatational Status is not \"OK\" or \"Completed\"then GetErrors may return CIM_Error instances related to the running of the job."); +static MI_CONST MI_Char* CIM_ConcreteJob_GetErrors_MIReturn_Description_qual_value = MI_T("If JobState is \"Completed\" and Operational Status is \"Completed\" then no instance of CIM_Error is returned. \nIf JobState is \"Exception\" then GetErrors may return instances of CIM_Error related to the execution of the procedure or method invoked by the job.\nIf Operational Status is not \"OK\" or \"Completed\"then GetErrors may return CIM_Error instances related to the running of the job."); static MI_CONST MI_Qualifier CIM_ConcreteJob_GetErrors_MIReturn_Description_qual = { @@ -12040,7 +12040,7 @@ static MI_CONST MI_Char* CIM_ProtocolEndpoint_ProtocolIFType_Values_qual_data_va MI_T("Proprietary Wireless Downstream"), MI_T("Proprietary Wireless Upstream"), MI_T("HIPERLAN Type 2"), - MI_T("Proprietary Broadband Wireless Access Point to Mulipoint"), + MI_T("Proprietary Broadband Wireless Access Point to Multipoint"), MI_T("SONET Overhead Channel"), MI_T("Digital Wrapper Overhead Channel"), MI_T("ATM Adaptation Layer 2"), @@ -13275,7 +13275,7 @@ static MI_CONST MI_PropertyDecl CIM_IPProtocolEndpoint_IPVersionSupport_prop = NULL, }; -static MI_CONST MI_Char* CIM_IPProtocolEndpoint_AddressOrigin_Description_qual_value = MI_T("AddressOrigin identifies the method by which the IP Address, Subnet Mask, and Gateway were assigned to the IPProtocolEndpoint.A value of 3 \"Static\" shall indicate the values were assigned manually. A value of 4 \"DHCP\" shall indicate the values were assigned utilizing the Dynamic Host Configuration Protocol. See RFC 2131 and related. \nA value of 5 \"BOOTP\" shall indicate the values were assigned utilizing BOOTP. See RFC 951 and related. \nA value of 6 \"IPv4 Link Local\" shall indicate the values were assigned using the IPv4 Link Local protocol. See RFC 3927.\nA value of 7 \"DHCPv6\" shall indicate the values were assigned using DHCPv6. See RFC 3315. \nA value of 8 \"IPv6 AutoConfig\" shall indicate the values were assinged using the IPv6 AutoConfig Protocol. See RFC 4862. \nA value of 9 \"Stateless\" shall indicate Stateless values were assigned. \nA value of 10 \"Link Local\" shall indicate Link Local values were assigned."); +static MI_CONST MI_Char* CIM_IPProtocolEndpoint_AddressOrigin_Description_qual_value = MI_T("AddressOrigin identifies the method by which the IP Address, Subnet Mask, and Gateway were assigned to the IPProtocolEndpoint.A value of 3 \"Static\" shall indicate the values were assigned manually. A value of 4 \"DHCP\" shall indicate the values were assigned utilizing the Dynamic Host Configuration Protocol. See RFC 2131 and related. \nA value of 5 \"BOOTP\" shall indicate the values were assigned utilizing BOOTP. See RFC 951 and related. \nA value of 6 \"IPv4 Link Local\" shall indicate the values were assigned using the IPv4 Link Local protocol. See RFC 3927.\nA value of 7 \"DHCPv6\" shall indicate the values were assigned using DHCPv6. See RFC 3315. \nA value of 8 \"IPv6 AutoConfig\" shall indicate the values were assigned using the IPv6 AutoConfig Protocol. See RFC 4862. \nA value of 9 \"Stateless\" shall indicate Stateless values were assigned. \nA value of 10 \"Link Local\" shall indicate Link Local values were assigned."); static MI_CONST MI_Qualifier CIM_IPProtocolEndpoint_AddressOrigin_Description_qual = { @@ -13373,7 +13373,7 @@ static MI_CONST MI_PropertyDecl CIM_IPProtocolEndpoint_AddressOrigin_prop = &CIM_IPProtocolEndpoint_AddressOrigin_value, }; -static MI_CONST MI_Char* CIM_IPProtocolEndpoint_IPv6AddressType_Description_qual_value = MI_T("IPv6AddressType indentified the type of address found in the IPv6Address property. The values of this property shall be interpreted according to RFC4291, Section 2.4"); +static MI_CONST MI_Char* CIM_IPProtocolEndpoint_IPv6AddressType_Description_qual_value = MI_T("IPv6AddressType identified the type of address found in the IPv6Address property. The values of this property shall be interpreted according to RFC4291, Section 2.4"); static MI_CONST MI_Qualifier CIM_IPProtocolEndpoint_IPv6AddressType_Description_qual = { @@ -18478,7 +18478,7 @@ static MI_CONST MI_PropertyDecl MSFT_AuthenticationAuthorizationAccounting_Serve NULL, }; -static MI_CONST MI_Char* MSFT_AuthenticationAuthorizationAccounting_LoginDefaultGroup_Description_qual_value = MI_T("An enumeration indicating the the login defaul group "); +static MI_CONST MI_Char* MSFT_AuthenticationAuthorizationAccounting_LoginDefaultGroup_Description_qual_value = MI_T("An enumeration indicating the the login default group "); static MI_CONST MI_Qualifier MSFT_AuthenticationAuthorizationAccounting_LoginDefaultGroup_Description_qual = { @@ -18554,7 +18554,7 @@ static MI_CONST MI_PropertyDecl MSFT_AuthenticationAuthorizationAccounting_Login NULL, }; -static MI_CONST MI_Char* MSFT_AuthenticationAuthorizationAccounting_OtherLoginDefaultGroup_Description_qual_value = MI_T("A string that describes a login defaul group when a well defined value is not available login defaul group has the value \"Other\"."); +static MI_CONST MI_Char* MSFT_AuthenticationAuthorizationAccounting_OtherLoginDefaultGroup_Description_qual_value = MI_T("A string that describes a login default group when a well defined value is not available login default group has the value \"Other\"."); static MI_CONST MI_Qualifier MSFT_AuthenticationAuthorizationAccounting_OtherLoginDefaultGroup_Description_qual = { @@ -19296,18 +19296,18 @@ MI_CONST MI_ClassDecl MSFT_Banner_rtti = **============================================================================== */ -/* property MSFT_BGPBestpathConfiguration.IsAlwaysCopareMed */ -static MI_CONST MI_PropertyDecl MSFT_BGPBestpathConfiguration_IsAlwaysCopareMed_prop = +/* property MSFT_BGPBestpathConfiguration.IsAlwaysCompareMed */ +static MI_CONST MI_PropertyDecl MSFT_BGPBestpathConfiguration_IsAlwaysCompareMed_prop = { MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */ 0x00696411, /* code */ - MI_T("IsAlwaysCopareMed"), /* name */ + MI_T("IsAlwaysCompareMed"), /* name */ NULL, /* qualifiers */ 0, /* numQualifiers */ MI_BOOLEAN, /* type */ NULL, /* className */ 0, /* subscript */ - offsetof(MSFT_BGPBestpathConfiguration, IsAlwaysCopareMed), /* offset */ + offsetof(MSFT_BGPBestpathConfiguration, IsAlwaysCompareMed), /* offset */ MI_T("MSFT_BGPBestpathConfiguration"), /* origin */ MI_T("MSFT_BGPBestpathConfiguration"), /* propagator */ NULL, @@ -19421,7 +19421,7 @@ static MI_PropertyDecl MI_CONST* MI_CONST MSFT_BGPBestpathConfiguration_props[] &CIM_ManagedElement_Caption_prop, &CIM_ManagedElement_Description_prop, &CIM_SettingData_ElementName_prop, - &MSFT_BGPBestpathConfiguration_IsAlwaysCopareMed_prop, + &MSFT_BGPBestpathConfiguration_IsAlwaysCompareMed_prop, &MSFT_BGPBestpathConfiguration_ISAsPathMultiplePathRelax_prop, &MSFT_BGPBestpathConfiguration_ISCompareRouteId_prop, &MSFT_BGPBestpathConfiguration_IsCostCommunityIgnore_prop, @@ -20462,7 +20462,7 @@ static MI_CONST MI_Qualifier CIM_LogicalDevice_PowerManagementSupported_Deprecat &CIM_LogicalDevice_PowerManagementSupported_Deprecated_qual_value }; -static MI_CONST MI_Char* CIM_LogicalDevice_PowerManagementSupported_Description_qual_value = MI_T("Boolean indicating that the Device can be power managed. The use of this property has been deprecated. Instead, the existence of an associated PowerManagementCapabilities class (associated using the ElementCapabilities relationhip) indicates that power management is supported."); +static MI_CONST MI_Char* CIM_LogicalDevice_PowerManagementSupported_Description_qual_value = MI_T("Boolean indicating that the Device can be power managed. The use of this property has been deprecated. Instead, the existence of an associated PowerManagementCapabilities class (associated using the ElementCapabilities relationship) indicates that power management is supported."); static MI_CONST MI_Qualifier CIM_LogicalDevice_PowerManagementSupported_Description_qual = { @@ -20514,7 +20514,7 @@ static MI_CONST MI_Qualifier CIM_LogicalDevice_PowerManagementCapabilities_Depre &CIM_LogicalDevice_PowerManagementCapabilities_Deprecated_qual_value }; -static MI_CONST MI_Char* CIM_LogicalDevice_PowerManagementCapabilities_Description_qual_value = MI_T("An enumerated array describing the power management capabilities of the Device. The use of this property has been deprecated. Instead, the PowerCapabilites property in an associated PowerManagementCapabilities class should be used."); +static MI_CONST MI_Char* CIM_LogicalDevice_PowerManagementCapabilities_Description_qual_value = MI_T("An enumerated array describing the power management capabilities of the Device. The use of this property has been deprecated. Instead, the PowerCapabilities property in an associated PowerManagementCapabilities class should be used."); static MI_CONST MI_Qualifier CIM_LogicalDevice_PowerManagementCapabilities_Description_qual = { @@ -21234,7 +21234,7 @@ static MI_CONST MI_PropertyDecl CIM_LogicalDevice_IdentifyingDescriptions_prop = NULL, }; -static MI_CONST MI_Char* CIM_LogicalDevice_AdditionalAvailability_Description_qual_value = MI_T("Additional availability and status of the Device, beyond that specified in the Availability property. The Availability property denotes the primary status and availability of the Device. In some cases, this will not be sufficient to denote the complete status of the Device. In those cases, the AdditionalAvailability property can be used to provide further information. For example, a Device\'s primary Availability may be \"Off line\" (value=8), but it may also be in a low power state (AdditonalAvailability value=14), or the Device could be running Diagnostics (AdditionalAvailability value=5, \"In Test\")."); +static MI_CONST MI_Char* CIM_LogicalDevice_AdditionalAvailability_Description_qual_value = MI_T("Additional availability and status of the Device, beyond that specified in the Availability property. The Availability property denotes the primary status and availability of the Device. In some cases, this will not be sufficient to denote the complete status of the Device. In those cases, the AdditionalAvailability property can be used to provide further information. For example, a Device\'s primary Availability may be \"Off line\" (value=8), but it may also be in a low power state (AdditionalAvailability value=14), or the Device could be running Diagnostics (AdditionalAvailability value=5, \"In Test\")."); static MI_CONST MI_Qualifier CIM_LogicalDevice_AdditionalAvailability_Description_qual = { @@ -24664,7 +24664,7 @@ static MI_CONST MI_PropertyDecl MSFT_Feature_InstanceID_prop = NULL, }; -static MI_CONST MI_Char* MSFT_Feature_FeatureName_Description_qual_value = MI_T("An enumeration indicating the avalible feature. "); +static MI_CONST MI_Char* MSFT_Feature_FeatureName_Description_qual_value = MI_T("An enumeration indicating the available feature. "); static MI_CONST MI_Qualifier MSFT_Feature_FeatureName_Description_qual = { @@ -34464,7 +34464,7 @@ static MI_CONST MI_Qualifier MSFT_LinkAggregationAssociation_EthernetPorts_Key_q &MSFT_LinkAggregationAssociation_EthernetPorts_Key_qual_value }; -static MI_CONST MI_Char* MSFT_LinkAggregationAssociation_EthernetPorts_Description_qual_value = MI_T("A member Ehternet Switch port"); +static MI_CONST MI_Char* MSFT_LinkAggregationAssociation_EthernetPorts_Description_qual_value = MI_T("A member Ethernet Switch port"); static MI_CONST MI_Qualifier MSFT_LinkAggregationAssociation_EthernetPorts_Description_qual = { @@ -34898,7 +34898,7 @@ static MI_CONST MI_Qualifier MSFT_LinkAggregationSettingData_UMLPackagePath_qual &MSFT_LinkAggregationSettingData_UMLPackagePath_qual_value }; -static MI_CONST MI_Char* MSFT_LinkAggregationSettingData_Description_qual_value = MI_T("MSFT_LinkAggragationSettingData description."); +static MI_CONST MI_Char* MSFT_LinkAggregationSettingData_Description_qual_value = MI_T("MSFT_LinkAggregationSettingData description."); static MI_CONST MI_Qualifier MSFT_LinkAggregationSettingData_Description_qual = { @@ -36145,77 +36145,77 @@ static MI_CONST MI_PropertyDecl MSFT_Neighbor_Password_prop = NULL, }; -static MI_CONST MI_Char* MSFT_Neighbor_KeyEncriptionMethod_Description_qual_value = MI_T(""); +static MI_CONST MI_Char* MSFT_Neighbor_KeyEncryptionMethod_Description_qual_value = MI_T(""); -static MI_CONST MI_Qualifier MSFT_Neighbor_KeyEncriptionMethod_Description_qual = +static MI_CONST MI_Qualifier MSFT_Neighbor_KeyEncryptionMethod_Description_qual = { MI_T("Description"), MI_STRING, MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE, - &MSFT_Neighbor_KeyEncriptionMethod_Description_qual_value + &MSFT_Neighbor_KeyEncryptionMethod_Description_qual_value }; -static MI_CONST MI_Char* MSFT_Neighbor_KeyEncriptionMethod_ValueMap_qual_data_value[] = +static MI_CONST MI_Char* MSFT_Neighbor_KeyEncryptionMethod_ValueMap_qual_data_value[] = { MI_T("1"), MI_T("2"), MI_T("3"), }; -static MI_CONST MI_ConstStringA MSFT_Neighbor_KeyEncriptionMethod_ValueMap_qual_value = +static MI_CONST MI_ConstStringA MSFT_Neighbor_KeyEncryptionMethod_ValueMap_qual_value = { - MSFT_Neighbor_KeyEncriptionMethod_ValueMap_qual_data_value, - MI_COUNT(MSFT_Neighbor_KeyEncriptionMethod_ValueMap_qual_data_value), + MSFT_Neighbor_KeyEncryptionMethod_ValueMap_qual_data_value, + MI_COUNT(MSFT_Neighbor_KeyEncryptionMethod_ValueMap_qual_data_value), }; -static MI_CONST MI_Qualifier MSFT_Neighbor_KeyEncriptionMethod_ValueMap_qual = +static MI_CONST MI_Qualifier MSFT_Neighbor_KeyEncryptionMethod_ValueMap_qual = { MI_T("ValueMap"), MI_STRINGA, MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS, - &MSFT_Neighbor_KeyEncriptionMethod_ValueMap_qual_value + &MSFT_Neighbor_KeyEncryptionMethod_ValueMap_qual_value }; -static MI_CONST MI_Char* MSFT_Neighbor_KeyEncriptionMethod_Values_qual_data_value[] = +static MI_CONST MI_Char* MSFT_Neighbor_KeyEncryptionMethod_Values_qual_data_value[] = { MI_T("Unencrypted"), MI_T("ThreeDes"), MI_T("CiscoType7"), }; -static MI_CONST MI_ConstStringA MSFT_Neighbor_KeyEncriptionMethod_Values_qual_value = +static MI_CONST MI_ConstStringA MSFT_Neighbor_KeyEncryptionMethod_Values_qual_value = { - MSFT_Neighbor_KeyEncriptionMethod_Values_qual_data_value, - MI_COUNT(MSFT_Neighbor_KeyEncriptionMethod_Values_qual_data_value), + MSFT_Neighbor_KeyEncryptionMethod_Values_qual_data_value, + MI_COUNT(MSFT_Neighbor_KeyEncryptionMethod_Values_qual_data_value), }; -static MI_CONST MI_Qualifier MSFT_Neighbor_KeyEncriptionMethod_Values_qual = +static MI_CONST MI_Qualifier MSFT_Neighbor_KeyEncryptionMethod_Values_qual = { MI_T("Values"), MI_STRINGA, MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE, - &MSFT_Neighbor_KeyEncriptionMethod_Values_qual_value + &MSFT_Neighbor_KeyEncryptionMethod_Values_qual_value }; -static MI_Qualifier MI_CONST* MI_CONST MSFT_Neighbor_KeyEncriptionMethod_quals[] = +static MI_Qualifier MI_CONST* MI_CONST MSFT_Neighbor_KeyEncryptionMethod_quals[] = { - &MSFT_Neighbor_KeyEncriptionMethod_Description_qual, - &MSFT_Neighbor_KeyEncriptionMethod_ValueMap_qual, - &MSFT_Neighbor_KeyEncriptionMethod_Values_qual, + &MSFT_Neighbor_KeyEncryptionMethod_Description_qual, + &MSFT_Neighbor_KeyEncryptionMethod_ValueMap_qual, + &MSFT_Neighbor_KeyEncryptionMethod_Values_qual, }; -/* property MSFT_Neighbor.KeyEncriptionMethod */ -static MI_CONST MI_PropertyDecl MSFT_Neighbor_KeyEncriptionMethod_prop = +/* property MSFT_Neighbor.KeyEncryptionMethod */ +static MI_CONST MI_PropertyDecl MSFT_Neighbor_KeyEncryptionMethod_prop = { MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */ 0x006B6413, /* code */ - MI_T("KeyEncriptionMethod"), /* name */ - MSFT_Neighbor_KeyEncriptionMethod_quals, /* qualifiers */ - MI_COUNT(MSFT_Neighbor_KeyEncriptionMethod_quals), /* numQualifiers */ + MI_T("KeyEncryptionMethod"), /* name */ + MSFT_Neighbor_KeyEncryptionMethod_quals, /* qualifiers */ + MI_COUNT(MSFT_Neighbor_KeyEncryptionMethod_quals), /* numQualifiers */ MI_UINT32, /* type */ NULL, /* className */ 0, /* subscript */ - offsetof(MSFT_Neighbor, KeyEncriptionMethod), /* offset */ + offsetof(MSFT_Neighbor, KeyEncryptionMethod), /* offset */ MI_T("MSFT_Neighbor"), /* origin */ MI_T("MSFT_Neighbor"), /* propagator */ NULL, @@ -36259,7 +36259,7 @@ static MI_PropertyDecl MI_CONST* MI_CONST MSFT_Neighbor_props[] = &CIM_AutonomousSystem_AggregationType_prop, &MSFT_Neighbor_RouteMap_prop, &MSFT_Neighbor_Password_prop, - &MSFT_Neighbor_KeyEncriptionMethod_prop, + &MSFT_Neighbor_KeyEncryptionMethod_prop, }; static MI_CONST MI_Char* MSFT_Neighbor_RequestStateChange_Description_qual_value = MI_T("Requests that the state of the element be changed to the value specified in the RequestedState parameter. When the requested state change takes place, the EnabledState and RequestedState of the element will be the same. Invoking the RequestStateChange method multiple times could result in earlier requests being overwritten or lost. \nA return code of 0 shall indicate the state change was successfully initiated. \nA return code of 3 shall indicate that the state transition cannot complete within the interval specified by the TimeoutPeriod parameter. \nA return code of 4096 (0x1000) shall indicate the state change was successfully initiated, a ConcreteJob has been created, and its reference returned in the output parameter Job. Any other return code indicates an error condition."); @@ -36837,77 +36837,77 @@ static MI_CONST MI_PropertyDecl MSFT_NeighborTemplate_Password_prop = NULL, }; -static MI_CONST MI_Char* MSFT_NeighborTemplate_KeyEncriptionMethod_Description_qual_value = MI_T(""); +static MI_CONST MI_Char* MSFT_NeighborTemplate_KeyEncryptionMethod_Description_qual_value = MI_T(""); -static MI_CONST MI_Qualifier MSFT_NeighborTemplate_KeyEncriptionMethod_Description_qual = +static MI_CONST MI_Qualifier MSFT_NeighborTemplate_KeyEncryptionMethod_Description_qual = { MI_T("Description"), MI_STRING, MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE, - &MSFT_NeighborTemplate_KeyEncriptionMethod_Description_qual_value + &MSFT_NeighborTemplate_KeyEncryptionMethod_Description_qual_value }; -static MI_CONST MI_Char* MSFT_NeighborTemplate_KeyEncriptionMethod_ValueMap_qual_data_value[] = +static MI_CONST MI_Char* MSFT_NeighborTemplate_KeyEncryptionMethod_ValueMap_qual_data_value[] = { MI_T("1"), MI_T("2"), MI_T("3"), }; -static MI_CONST MI_ConstStringA MSFT_NeighborTemplate_KeyEncriptionMethod_ValueMap_qual_value = +static MI_CONST MI_ConstStringA MSFT_NeighborTemplate_KeyEncryptionMethod_ValueMap_qual_value = { - MSFT_NeighborTemplate_KeyEncriptionMethod_ValueMap_qual_data_value, - MI_COUNT(MSFT_NeighborTemplate_KeyEncriptionMethod_ValueMap_qual_data_value), + MSFT_NeighborTemplate_KeyEncryptionMethod_ValueMap_qual_data_value, + MI_COUNT(MSFT_NeighborTemplate_KeyEncryptionMethod_ValueMap_qual_data_value), }; -static MI_CONST MI_Qualifier MSFT_NeighborTemplate_KeyEncriptionMethod_ValueMap_qual = +static MI_CONST MI_Qualifier MSFT_NeighborTemplate_KeyEncryptionMethod_ValueMap_qual = { MI_T("ValueMap"), MI_STRINGA, MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS, - &MSFT_NeighborTemplate_KeyEncriptionMethod_ValueMap_qual_value + &MSFT_NeighborTemplate_KeyEncryptionMethod_ValueMap_qual_value }; -static MI_CONST MI_Char* MSFT_NeighborTemplate_KeyEncriptionMethod_Values_qual_data_value[] = +static MI_CONST MI_Char* MSFT_NeighborTemplate_KeyEncryptionMethod_Values_qual_data_value[] = { MI_T("Unencrypted"), MI_T("ThreeDes"), MI_T("CiscoType7"), }; -static MI_CONST MI_ConstStringA MSFT_NeighborTemplate_KeyEncriptionMethod_Values_qual_value = +static MI_CONST MI_ConstStringA MSFT_NeighborTemplate_KeyEncryptionMethod_Values_qual_value = { - MSFT_NeighborTemplate_KeyEncriptionMethod_Values_qual_data_value, - MI_COUNT(MSFT_NeighborTemplate_KeyEncriptionMethod_Values_qual_data_value), + MSFT_NeighborTemplate_KeyEncryptionMethod_Values_qual_data_value, + MI_COUNT(MSFT_NeighborTemplate_KeyEncryptionMethod_Values_qual_data_value), }; -static MI_CONST MI_Qualifier MSFT_NeighborTemplate_KeyEncriptionMethod_Values_qual = +static MI_CONST MI_Qualifier MSFT_NeighborTemplate_KeyEncryptionMethod_Values_qual = { MI_T("Values"), MI_STRINGA, MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE, - &MSFT_NeighborTemplate_KeyEncriptionMethod_Values_qual_value + &MSFT_NeighborTemplate_KeyEncryptionMethod_Values_qual_value }; -static MI_Qualifier MI_CONST* MI_CONST MSFT_NeighborTemplate_KeyEncriptionMethod_quals[] = +static MI_Qualifier MI_CONST* MI_CONST MSFT_NeighborTemplate_KeyEncryptionMethod_quals[] = { - &MSFT_NeighborTemplate_KeyEncriptionMethod_Description_qual, - &MSFT_NeighborTemplate_KeyEncriptionMethod_ValueMap_qual, - &MSFT_NeighborTemplate_KeyEncriptionMethod_Values_qual, + &MSFT_NeighborTemplate_KeyEncryptionMethod_Description_qual, + &MSFT_NeighborTemplate_KeyEncryptionMethod_ValueMap_qual, + &MSFT_NeighborTemplate_KeyEncryptionMethod_Values_qual, }; -/* property MSFT_NeighborTemplate.KeyEncriptionMethod */ -static MI_CONST MI_PropertyDecl MSFT_NeighborTemplate_KeyEncriptionMethod_prop = +/* property MSFT_NeighborTemplate.KeyEncryptionMethod */ +static MI_CONST MI_PropertyDecl MSFT_NeighborTemplate_KeyEncryptionMethod_prop = { MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */ 0x006B6413, /* code */ - MI_T("KeyEncriptionMethod"), /* name */ - MSFT_NeighborTemplate_KeyEncriptionMethod_quals, /* qualifiers */ - MI_COUNT(MSFT_NeighborTemplate_KeyEncriptionMethod_quals), /* numQualifiers */ + MI_T("KeyEncryptionMethod"), /* name */ + MSFT_NeighborTemplate_KeyEncryptionMethod_quals, /* qualifiers */ + MI_COUNT(MSFT_NeighborTemplate_KeyEncryptionMethod_quals), /* numQualifiers */ MI_UINT32, /* type */ NULL, /* className */ 0, /* subscript */ - offsetof(MSFT_NeighborTemplate, KeyEncriptionMethod), /* offset */ + offsetof(MSFT_NeighborTemplate, KeyEncryptionMethod), /* offset */ MI_T("MSFT_NeighborTemplate"), /* origin */ MI_T("MSFT_NeighborTemplate"), /* propagator */ NULL, @@ -36918,7 +36918,7 @@ static MI_PropertyDecl MI_CONST* MI_CONST MSFT_NeighborTemplate_props[] = &MSFT_AutonomousSystemSettingData_ASNumber_prop, &MSFT_NeighborTemplate_RouteMap_prop, &MSFT_NeighborTemplate_Password_prop, - &MSFT_NeighborTemplate_KeyEncriptionMethod_prop, + &MSFT_NeighborTemplate_KeyEncryptionMethod_prop, }; static MI_CONST MI_ProviderFT MSFT_NeighborTemplate_funcs = @@ -37649,7 +37649,7 @@ static MI_CONST MI_Qualifier CIM_Service_UMLPackagePath_qual = &CIM_Service_UMLPackagePath_qual_value }; -static MI_CONST MI_Char* CIM_Service_Description_qual_value = MI_T("A Service is a LogicalElement that represents the availability of functionality that can be managed. This functionality may be provided by a seperately modeled entity such as a LogicalDevice or a SoftwareFeature, or both. The modeled Service typically provides only functionality required for management of itself or the elements it affects."); +static MI_CONST MI_Char* CIM_Service_Description_qual_value = MI_T("A Service is a LogicalElement that represents the availability of functionality that can be managed. This functionality may be provided by a separately modeled entity such as a LogicalDevice or a SoftwareFeature, or both. The modeled Service typically provides only functionality required for management of itself or the elements it affects."); static MI_CONST MI_Qualifier CIM_Service_Description_qual = { @@ -38773,7 +38773,7 @@ static MI_CONST MI_PropertyDecl CIM_NetworkPolicyCondition_InstanceID_prop = NULL, }; -static MI_CONST MI_Char* CIM_NetworkPolicyCondition_ParameterType_Description_qual_value = MI_T("Defines the type of parameter that is used to match traffic.\n\nSourceIPAddress: IP address indicating the sender of the packet.\nDestinationIPAddress: IP address indicating the receiver of the packet.\nVirtualIPAddress: describes the IP address from which the server pool is accessed from.\nSourcePort: identifies the sending port\nSourcePortRange: identifies a range of sending ports\nDestinationPort: identifies the receiving port\nDestinationPortRange: identifies a range of receiving ports\nHTTPURL: identifies the URL under a HTTP request.\nHTTPContent: identifies the Content-Type field under the HTPP request\nHTTPCookieName: identifies a cookie name under the HTTP request\nHTTPCookieValue: identifies a cookie value under the HTTP request\nHTTPHeaderName: identifies a header name under the HTTP request\nHTTPHeaderValue: identifies a header value under the HTTP request\nHTTPMethod: identifies the HTTP method used in the HTTP request.\nProtocol: identifies the Protocol field under the IPv4 Header.\nNextHeader: identifies the Protocol field under the IPv6 Header.\nSourceSubnet: identifies the subnet of the sender of the packet.\nDestinationSubnet: identifies the subnet of the receiver of the packet.\nApplication: identifies the name of the application.\nSourceDomainName: identifies the domain name of the sender of the packet.\nDestinationDomainName: identifies the domain name of the receiver of the packet.\nSourceMACAddress: MAC address indicating the sender of the packet.\nDestinationMACAddress: MAC address indicating the receiver of the packet.\nSourceHostName: identifies the host name of the sender of the packet.\nDestinationHostName: identifies the host name of the receiver of the packet.\nSourceNetwork: identifies the network of the sender of the packet.\nDestinationNetwork: identifies the network of the sender of the packet.\nTCPFlag: identifies the flags field under the TCP header.\nTCPState: identifies the state of the TCP connection.\nEtherType: identifies the etherType field under the Ethernet frame.\nICMPType: identifies the Type field under a ICMP header.\nConnectionLimit: identifies maximum number of concurrent connections.\nVirtualSystemName: identifies the name of a VirtualSystem.\nVNIC-ID: identifies the ID of a Virtual NIC.\nCoS: identifies the Class of Service (CoS) field that is present in an Ethernet frame header.\nDSCP: identifies the Differentiated Services Code Point (DSCP) field under the IPv4 Header.\nPacketLength: identifies the TotalLength field under the IP Header\nSSLCipher: identifies the SSL cipher suite used for the HTTPS connection.\nSSLCipherStrength: identifies the SSL cipher strength of the SSL Certificate."); +static MI_CONST MI_Char* CIM_NetworkPolicyCondition_ParameterType_Description_qual_value = MI_T("Defines the type of parameter that is used to match traffic.\n\nSourceIPAddress: IP address indicating the sender of the packet.\nDestinationIPAddress: IP address indicating the receiver of the packet.\nVirtualIPAddress: describes the IP address from which the server pool is accessed from.\nSourcePort: identifies the sending port\nSourcePortRange: identifies a range of sending ports\nDestinationPort: identifies the receiving port\nDestinationPortRange: identifies a range of receiving ports\nHTTPURL: identifies the URL under a HTTP request.\nHTTPContent: identifies the Content-Type field under the HTTP request\nHTTPCookieName: identifies a cookie name under the HTTP request\nHTTPCookieValue: identifies a cookie value under the HTTP request\nHTTPHeaderName: identifies a header name under the HTTP request\nHTTPHeaderValue: identifies a header value under the HTTP request\nHTTPMethod: identifies the HTTP method used in the HTTP request.\nProtocol: identifies the Protocol field under the IPv4 Header.\nNextHeader: identifies the Protocol field under the IPv6 Header.\nSourceSubnet: identifies the subnet of the sender of the packet.\nDestinationSubnet: identifies the subnet of the receiver of the packet.\nApplication: identifies the name of the application.\nSourceDomainName: identifies the domain name of the sender of the packet.\nDestinationDomainName: identifies the domain name of the receiver of the packet.\nSourceMACAddress: MAC address indicating the sender of the packet.\nDestinationMACAddress: MAC address indicating the receiver of the packet.\nSourceHostName: identifies the host name of the sender of the packet.\nDestinationHostName: identifies the host name of the receiver of the packet.\nSourceNetwork: identifies the network of the sender of the packet.\nDestinationNetwork: identifies the network of the sender of the packet.\nTCPFlag: identifies the flags field under the TCP header.\nTCPState: identifies the state of the TCP connection.\nEtherType: identifies the etherType field under the Ethernet frame.\nICMPType: identifies the Type field under a ICMP header.\nConnectionLimit: identifies maximum number of concurrent connections.\nVirtualSystemName: identifies the name of a VirtualSystem.\nVNIC-ID: identifies the ID of a Virtual NIC.\nCoS: identifies the Class of Service (CoS) field that is present in an Ethernet frame header.\nDSCP: identifies the Differentiated Services Code Point (DSCP) field under the IPv4 Header.\nPacketLength: identifies the TotalLength field under the IP Header\nSSLCipher: identifies the SSL cipher suite used for the HTTPS connection.\nSSLCipherStrength: identifies the SSL cipher strength of the SSL Certificate."); static MI_CONST MI_Qualifier CIM_NetworkPolicyCondition_ParameterType_Description_qual = { @@ -40850,7 +40850,7 @@ MI_CONST MI_MethodDecl MSFT_NetworkACLService_StopService_rtti = (MI_ProviderFT_Invoke)MSFT_NetworkACLService_Invoke_StopService, /* method */ }; -static MI_CONST MI_Char* MSFT_NetworkACLService_CreateACL_Description_qual_value = MI_T("Creates ande Names a new ACL"); +static MI_CONST MI_Char* MSFT_NetworkACLService_CreateACL_Description_qual_value = MI_T("Creates and Names a new ACL"); static MI_CONST MI_Qualifier MSFT_NetworkACLService_CreateACL_Description_qual = { @@ -41053,7 +41053,7 @@ static MI_CONST MI_ParameterDecl MSFT_NetworkACLService_CreateACL_Job_param = offsetof(MSFT_NetworkACLService_CreateACL, Job), /* offset */ }; -static MI_CONST MI_Char* MSFT_NetworkACLService_CreateACL_MIReturn_Description_qual_value = MI_T("Creates ande Names a new ACL"); +static MI_CONST MI_Char* MSFT_NetworkACLService_CreateACL_MIReturn_Description_qual_value = MI_T("Creates and Names a new ACL"); static MI_CONST MI_Qualifier MSFT_NetworkACLService_CreateACL_MIReturn_Description_qual = { @@ -41244,7 +41244,7 @@ static MI_CONST MI_ParameterDecl MSFT_NetworkACLService_AddRule_TargetACL_param offsetof(MSFT_NetworkACLService_AddRule, TargetACL), /* offset */ }; -static MI_CONST MI_Char* MSFT_NetworkACLService_AddRule_NetworkPolicyRule_Description_qual_value = MI_T("A string an containing an embedded instance of class subclass of CIM_NetworkPolicyRuleThis rule has an associated array of conditions and actions The way the conditions areevaluated are contained in the rule"); +static MI_CONST MI_Char* MSFT_NetworkACLService_AddRule_NetworkPolicyRule_Description_qual_value = MI_T("A string an containing an embedded instance of class subclass of CIM_NetworkPolicyRuleThis rule has an associated array of conditions and actions The way the conditions are evaluated are contained in the rule"); static MI_CONST MI_Qualifier MSFT_NetworkACLService_AddRule_NetworkPolicyRule_Description_qual = { @@ -43400,7 +43400,7 @@ static MI_CONST MI_ParameterDecl MSFT_NetworkACLService_AddRuleWithMatchedACL_Ta offsetof(MSFT_NetworkACLService_AddRuleWithMatchedACL, TargetACL), /* offset */ }; -static MI_CONST MI_Char* MSFT_NetworkACLService_AddRuleWithMatchedACL_NetworkPolicyRule_Description_qual_value = MI_T("A string an containing an embedded instance of class subclass of CIM_NetworkPolicyRuleThis rule has an associated array of conditions and actions The way the conditions areevaluated are contained in the rule"); +static MI_CONST MI_Char* MSFT_NetworkACLService_AddRuleWithMatchedACL_NetworkPolicyRule_Description_qual_value = MI_T("A string an containing an embedded instance of class subclass of CIM_NetworkPolicyRuleThis rule has an associated array of conditions and actions The way the conditions are evaluated are contained in the rule"); static MI_CONST MI_Qualifier MSFT_NetworkACLService_AddRuleWithMatchedACL_NetworkPolicyRule_Description_qual = { @@ -45698,7 +45698,7 @@ static MI_CONST MI_Qualifier CIM_ComputerSystem_PowerManagementCapabilities_Depr &CIM_ComputerSystem_PowerManagementCapabilities_Deprecated_qual_value }; -static MI_CONST MI_Char* CIM_ComputerSystem_PowerManagementCapabilities_Description_qual_value = MI_T("An enumerated array describing the power management capabilities of the ComputerSystem. The use of this property has been deprecated. Instead, the Power Capabilites property in an associated PowerManagement Capabilities class should be used."); +static MI_CONST MI_Char* CIM_ComputerSystem_PowerManagementCapabilities_Description_qual_value = MI_T("An enumerated array describing the power management capabilities of the ComputerSystem. The use of this property has been deprecated. Instead, the Power Capabilities property in an associated PowerManagement Capabilities class should be used."); static MI_CONST MI_Qualifier CIM_ComputerSystem_PowerManagementCapabilities_Description_qual = { @@ -47225,7 +47225,7 @@ MI_CONST MI_MethodDecl MSFT_SwitchService_StopService_rtti = (MI_ProviderFT_Invoke)MSFT_SwitchService_Invoke_StopService, /* method */ }; -static MI_CONST MI_Char* MSFT_SwitchService_AddProtocolEndpoint_Description_qual_value = MI_T("Defines and assigns a protcol endpoint subclass to a physical or virtual port or interface,for example an instance of CIM_EthernetPort or MSFT_Subinterface\nInput that is not completely specified may be filled out with default values."); +static MI_CONST MI_Char* MSFT_SwitchService_AddProtocolEndpoint_Description_qual_value = MI_T("Defines and assigns a protocol endpoint subclass to a physical or virtual port or interface,for example an instance of CIM_EthernetPort or MSFT_Subinterface\nInput that is not completely specified may be filled out with default values."); static MI_CONST MI_Qualifier MSFT_SwitchService_AddProtocolEndpoint_Description_qual = { @@ -47497,7 +47497,7 @@ static MI_CONST MI_ParameterDecl MSFT_SwitchService_AddProtocolEndpoint_Job_para offsetof(MSFT_SwitchService_AddProtocolEndpoint, Job), /* offset */ }; -static MI_CONST MI_Char* MSFT_SwitchService_AddProtocolEndpoint_MIReturn_Description_qual_value = MI_T("Defines and assigns a protcol endpoint subclass to a physical or virtual port or interface,for example an instance of CIM_EthernetPort or MSFT_Subinterface\nInput that is not completely specified may be filled out with default values."); +static MI_CONST MI_Char* MSFT_SwitchService_AddProtocolEndpoint_MIReturn_Description_qual_value = MI_T("Defines and assigns a protocol endpoint subclass to a physical or virtual port or interface,for example an instance of CIM_EthernetPort or MSFT_Subinterface\nInput that is not completely specified may be filled out with default values."); static MI_CONST MI_Qualifier MSFT_SwitchService_AddProtocolEndpoint_MIReturn_Description_qual = { @@ -47600,7 +47600,7 @@ MI_CONST MI_MethodDecl MSFT_SwitchService_AddProtocolEndpoint_rtti = (MI_ProviderFT_Invoke)MSFT_SwitchService_Invoke_AddProtocolEndpoint, /* method */ }; -static MI_CONST MI_Char* MSFT_SwitchService_RemoveProtocolEndpoint_Description_qual_value = MI_T("removes a protcol endpoint subclass from a physical or virtual port or interface,for example an instance of CIM_EthernetPort or MSFT_Subinterface\n"); +static MI_CONST MI_Char* MSFT_SwitchService_RemoveProtocolEndpoint_Description_qual_value = MI_T("removes a protocol endpoint subclass from a physical or virtual port or interface,for example an instance of CIM_EthernetPort or MSFT_Subinterface\n"); static MI_CONST MI_Qualifier MSFT_SwitchService_RemoveProtocolEndpoint_Description_qual = { @@ -47741,7 +47741,7 @@ static MI_CONST MI_ParameterDecl MSFT_SwitchService_RemoveProtocolEndpoint_Job_p offsetof(MSFT_SwitchService_RemoveProtocolEndpoint, Job), /* offset */ }; -static MI_CONST MI_Char* MSFT_SwitchService_RemoveProtocolEndpoint_MIReturn_Description_qual_value = MI_T("removes a protcol endpoint subclass from a physical or virtual port or interface,for example an instance of CIM_EthernetPort or MSFT_Subinterface\n"); +static MI_CONST MI_Char* MSFT_SwitchService_RemoveProtocolEndpoint_MIReturn_Description_qual_value = MI_T("removes a protocol endpoint subclass from a physical or virtual port or interface,for example an instance of CIM_EthernetPort or MSFT_Subinterface\n"); static MI_CONST MI_Qualifier MSFT_SwitchService_RemoveProtocolEndpoint_MIReturn_Description_qual = { @@ -48959,44 +48959,44 @@ static MI_Qualifier MI_CONST* MI_CONST MSFT_SwitchService_CreateLinkAggregation_ &MSFT_SwitchService_CreateLinkAggregation_Values_qual, }; -static MI_CONST MI_Char* MSFT_SwitchService_CreateLinkAggregation_LinkAggragation_Description_qual_value = MI_T("A string an containing an embedded instance of class subclass of LinkAggragation that describes the aspects of the Link aggregation. "); +static MI_CONST MI_Char* MSFT_SwitchService_CreateLinkAggregation_LinkAggregation_Description_qual_value = MI_T("A string an containing an embedded instance of class subclass of LinkAggregation that describes the aspects of the Link aggregation. "); -static MI_CONST MI_Qualifier MSFT_SwitchService_CreateLinkAggregation_LinkAggragation_Description_qual = +static MI_CONST MI_Qualifier MSFT_SwitchService_CreateLinkAggregation_LinkAggregation_Description_qual = { MI_T("Description"), MI_STRING, MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE, - &MSFT_SwitchService_CreateLinkAggregation_LinkAggragation_Description_qual_value + &MSFT_SwitchService_CreateLinkAggregation_LinkAggregation_Description_qual_value }; -static MI_CONST MI_Char* MSFT_SwitchService_CreateLinkAggregation_LinkAggragation_EmbeddedInstance_qual_value = MI_T("MSFT_LinkAggregation"); +static MI_CONST MI_Char* MSFT_SwitchService_CreateLinkAggregation_LinkAggregation_EmbeddedInstance_qual_value = MI_T("MSFT_LinkAggregation"); -static MI_CONST MI_Qualifier MSFT_SwitchService_CreateLinkAggregation_LinkAggragation_EmbeddedInstance_qual = +static MI_CONST MI_Qualifier MSFT_SwitchService_CreateLinkAggregation_LinkAggregation_EmbeddedInstance_qual = { MI_T("EmbeddedInstance"), MI_STRING, MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS, - &MSFT_SwitchService_CreateLinkAggregation_LinkAggragation_EmbeddedInstance_qual_value + &MSFT_SwitchService_CreateLinkAggregation_LinkAggregation_EmbeddedInstance_qual_value }; -static MI_Qualifier MI_CONST* MI_CONST MSFT_SwitchService_CreateLinkAggregation_LinkAggragation_quals[] = +static MI_Qualifier MI_CONST* MI_CONST MSFT_SwitchService_CreateLinkAggregation_LinkAggregation_quals[] = { - &MSFT_SwitchService_CreateLinkAggregation_LinkAggragation_Description_qual, - &MSFT_SwitchService_CreateLinkAggregation_LinkAggragation_EmbeddedInstance_qual, + &MSFT_SwitchService_CreateLinkAggregation_LinkAggregation_Description_qual, + &MSFT_SwitchService_CreateLinkAggregation_LinkAggregation_EmbeddedInstance_qual, }; -/* parameter MSFT_SwitchService.CreateLinkAggregation(): LinkAggragation */ -static MI_CONST MI_ParameterDecl MSFT_SwitchService_CreateLinkAggregation_LinkAggragation_param = +/* parameter MSFT_SwitchService.CreateLinkAggregation(): LinkAggregation */ +static MI_CONST MI_ParameterDecl MSFT_SwitchService_CreateLinkAggregation_LinkAggregation_param = { MI_FLAG_PARAMETER, /* flags */ 0x006C6E0F, /* code */ - MI_T("LinkAggragation"), /* name */ - MSFT_SwitchService_CreateLinkAggregation_LinkAggragation_quals, /* qualifiers */ - MI_COUNT(MSFT_SwitchService_CreateLinkAggregation_LinkAggragation_quals), /* numQualifiers */ + MI_T("LinkAggregation"), /* name */ + MSFT_SwitchService_CreateLinkAggregation_LinkAggregation_quals, /* qualifiers */ + MI_COUNT(MSFT_SwitchService_CreateLinkAggregation_LinkAggregation_quals), /* numQualifiers */ MI_INSTANCEA, /* type */ MI_T("MSFT_LinkAggregation"), /* className */ 0, /* subscript */ - offsetof(MSFT_SwitchService_CreateLinkAggregation, LinkAggragation), /* offset */ + offsetof(MSFT_SwitchService_CreateLinkAggregation, LinkAggregation), /* offset */ }; static MI_CONST MI_Char* MSFT_SwitchService_CreateLinkAggregation_EthernetPort_Description_qual_value = MI_T("An array of references to instance of CIM_EthernetPort that will be used to form the aggregation "); @@ -49208,7 +49208,7 @@ static MI_CONST MI_ParameterDecl MSFT_SwitchService_CreateLinkAggregation_MIRetu static MI_ParameterDecl MI_CONST* MI_CONST MSFT_SwitchService_CreateLinkAggregation_params[] = { &MSFT_SwitchService_CreateLinkAggregation_MIReturn_param, - &MSFT_SwitchService_CreateLinkAggregation_LinkAggragation_param, + &MSFT_SwitchService_CreateLinkAggregation_LinkAggregation_param, &MSFT_SwitchService_CreateLinkAggregation_EthernetPort_param, &MSFT_SwitchService_CreateLinkAggregation_ResultingLinkAggregation_param, &MSFT_SwitchService_CreateLinkAggregation_Job_param, @@ -54287,7 +54287,7 @@ static MI_CONST MI_Qualifier CIM_EnabledLogicalElementCapabilities_UMLPackagePat &CIM_EnabledLogicalElementCapabilities_UMLPackagePath_qual_value }; -static MI_CONST MI_Char* CIM_EnabledLogicalElementCapabilities_Description_qual_value = MI_T("EnabledLogicalElementCapabilities describes the capabilities supported for changing the state of the assciated EnabledLogicalElement."); +static MI_CONST MI_Char* CIM_EnabledLogicalElementCapabilities_Description_qual_value = MI_T("EnabledLogicalElementCapabilities describes the capabilities supported for changing the state of the associated EnabledLogicalElement."); static MI_CONST MI_Qualifier CIM_EnabledLogicalElementCapabilities_Description_qual = { @@ -55229,7 +55229,7 @@ static MI_CONST MI_Qualifier CIM_SecurityService_UMLPackagePath_qual = &CIM_SecurityService_UMLPackagePath_qual_value }; -static MI_CONST MI_Char* CIM_SecurityService_Description_qual_value = MI_T("A service providing security functionaity."); +static MI_CONST MI_Char* CIM_SecurityService_Description_qual_value = MI_T("A service providing security functionality."); static MI_CONST MI_Qualifier CIM_SecurityService_Description_qual = { @@ -57930,7 +57930,7 @@ static MI_CONST MI_Qualifier CIM_AccountManagementService_UMLPackagePath_qual = &CIM_AccountManagementService_UMLPackagePath_qual_value }; -static MI_CONST MI_Char* CIM_AccountManagementService_Description_qual_value = MI_T("CIM_AccountManagementService creates, manages, and if necessary destroys Accounts on behalf of other SecuritySerices."); +static MI_CONST MI_Char* CIM_AccountManagementService_Description_qual_value = MI_T("CIM_AccountManagementService creates, manages, and if necessary destroys Accounts on behalf of other SecurityServices."); static MI_CONST MI_Qualifier CIM_AccountManagementService_Description_qual = { @@ -58242,7 +58242,7 @@ static MI_CONST MI_Qualifier CIM_AccountSettingData_UMLPackagePath_qual = &CIM_AccountSettingData_UMLPackagePath_qual_value }; -static MI_CONST MI_Char* CIM_AccountSettingData_Description_qual_value = MI_T("CIM_AccountSettingData provides the ability to manage the desired configuration for an instance of CIM_Account. When associated with an instance of CIM_AccountManagementService, this class may be used to constrain the properties of instances of CIM_Accountcreated using the service. When associated with an instance of CIM_Account, this class may be used to manage the configuration of the CIM_Acount instance."); +static MI_CONST MI_Char* CIM_AccountSettingData_Description_qual_value = MI_T("CIM_AccountSettingData provides the ability to manage the desired configuration for an instance of CIM_Account. When associated with an instance of CIM_AccountManagementService, this class may be used to constrain the properties of instances of CIM_Accountcreated using the service. When associated with an instance of CIM_Account, this class may be used to manage the configuration of the CIM_Account instance."); static MI_CONST MI_Qualifier CIM_AccountSettingData_Description_qual = { @@ -64894,7 +64894,7 @@ static MI_CONST MI_Qualifier CIM_ElementSettingData_IsMinimum_Experimental_qual &CIM_ElementSettingData_IsMinimum_Experimental_qual_value }; -static MI_CONST MI_Char* CIM_ElementSettingData_IsMinimum_Description_qual_value = MI_T("This property affects the interpretation of all non-null, non-enumerated, non-binary, numeric, non-key properties of the associated SettingData instance. All other properties of the associated SettingData instance are not affected by this property. \nNote: It is assumed that the semantics of each property of this set are designed to be compared mathematically. \nWhen IsMinimum = \"Is Miniumum\", this property indicates that the affected property values specified in the associated SettingData instance shall define desired minimum setting values. The operational minimum values should be modeled as a properties of the CIM_ManagedElement instance.\nWhen IsMinimum = \"Is Not Miniumum\", this property indicates that the affected property values specified in the associated SettingData instance shall not define desired minimum setting values. \nWhen IsMinimum = \"Unknown\", this property indicates that the affected property values specified in the associated SettingData instance may correspond to minimum desired setting values. \nWhen IsMinimum = \"Not Applicable\", this property indicates that the affected property values specified in the associated SettingData instance shall not be interpreted with respect to whether each defines a desired minimum."); +static MI_CONST MI_Char* CIM_ElementSettingData_IsMinimum_Description_qual_value = MI_T("This property affects the interpretation of all non-null, non-enumerated, non-binary, numeric, non-key properties of the associated SettingData instance. All other properties of the associated SettingData instance are not affected by this property. \nNote: It is assumed that the semantics of each property of this set are designed to be compared mathematically. \nWhen IsMinimum = \"Is Minimum\", this property indicates that the affected property values specified in the associated SettingData instance shall define desired minimum setting values. The operational minimum values should be modeled as a properties of the CIM_ManagedElement instance.\nWhen IsMinimum = \"Is Not Minimum\", this property indicates that the affected property values specified in the associated SettingData instance shall not define desired minimum setting values. \nWhen IsMinimum = \"Unknown\", this property indicates that the affected property values specified in the associated SettingData instance may correspond to minimum desired setting values. \nWhen IsMinimum = \"Not Applicable\", this property indicates that the affected property values specified in the associated SettingData instance shall not be interpreted with respect to whether each defines a desired minimum."); static MI_CONST MI_Qualifier CIM_ElementSettingData_IsMinimum_Description_qual = { @@ -64985,7 +64985,7 @@ static MI_CONST MI_Qualifier CIM_ElementSettingData_IsMaximum_Experimental_qual &CIM_ElementSettingData_IsMaximum_Experimental_qual_value }; -static MI_CONST MI_Char* CIM_ElementSettingData_IsMaximum_Description_qual_value = MI_T("This property affects the interpretation of all non-null, non-enumerated, non-binary, numeric, non-key properties of the associated SettingData instance. All other properties of the associated SettingData instance are not affected by this property. \nNote: It is assumed that the semantics of each property of this set are designed to be compared mathematically. \nWhen IsMaximum = \"Is Maxiumum\", this property indicates that the affected property values specified in the associated SettingData instance shall define desired maximum setting values. The operational maximum values should be modeled as a properties of the CIM_ManagedElement instance.\nWhen IsMaximum = \"Is Not Maxiumum\", this property indicates that the affected property values specified in the associated SettingData instance shall not define desired maximum setting values. \nWhen IsMaximum = \"Unknown\", this property indicates that the affected property values specified in the associated SettingData instance may correspond to maximum desired setting values. \nWhen IsMaximum = \"Not Applicable\", this property indicates that the affected property values specified in the associated SettingData instance shall not be interpreted with respect to whether each defines a desired maximum."); +static MI_CONST MI_Char* CIM_ElementSettingData_IsMaximum_Description_qual_value = MI_T("This property affects the interpretation of all non-null, non-enumerated, non-binary, numeric, non-key properties of the associated SettingData instance. All other properties of the associated SettingData instance are not affected by this property. \nNote: It is assumed that the semantics of each property of this set are designed to be compared mathematically. \nWhen IsMaximum = \"Is Maximum\", this property indicates that the affected property values specified in the associated SettingData instance shall define desired maximum setting values. The operational maximum values should be modeled as a properties of the CIM_ManagedElement instance.\nWhen IsMaximum = \"Is Not Maximum\", this property indicates that the affected property values specified in the associated SettingData instance shall not define desired maximum setting values. \nWhen IsMaximum = \"Unknown\", this property indicates that the affected property values specified in the associated SettingData instance may correspond to maximum desired setting values. \nWhen IsMaximum = \"Not Applicable\", this property indicates that the affected property values specified in the associated SettingData instance shall not be interpreted with respect to whether each defines a desired maximum."); static MI_CONST MI_Qualifier CIM_ElementSettingData_IsMaximum_Description_qual = { @@ -67052,7 +67052,7 @@ static MI_CONST MI_PropertyDecl CIM_EthernetPortAllocationSettingData_DefaultPri NULL, }; -static MI_CONST MI_Char* CIM_EthernetPortAllocationSettingData_GroupID_Description_qual_value = MI_T("The GroupID is an identifier that refers to the VLAN associated with the VSI specified in the VDP TLV as definded in IEEE 802.1Qbg."); +static MI_CONST MI_Char* CIM_EthernetPortAllocationSettingData_GroupID_Description_qual_value = MI_T("The GroupID is an identifier that refers to the VLAN associated with the VSI specified in the VDP TLV as defined in IEEE 802.1Qbg."); static MI_CONST MI_Qualifier CIM_EthernetPortAllocationSettingData_GroupID_Description_qual = { @@ -67420,7 +67420,7 @@ static MI_CONST MI_PropertyDecl CIM_EthernetPortAllocationSettingData_Promiscuou NULL, }; -static MI_CONST MI_Char* CIM_EthernetPortAllocationSettingData_ReceiveBandwidthLimit_Description_qual_value = MI_T("This property specifes the upper bounds or maximum amount of receive bandwidth allowed through this port. The value of the ReceiveBandwidthLimit property is expressed in the unit specified by the value of the AllocationUnits property."); +static MI_CONST MI_Char* CIM_EthernetPortAllocationSettingData_ReceiveBandwidthLimit_Description_qual_value = MI_T("This property specifies the upper bounds or maximum amount of receive bandwidth allowed through this port. The value of the ReceiveBandwidthLimit property is expressed in the unit specified by the value of the AllocationUnits property."); static MI_CONST MI_Qualifier CIM_EthernetPortAllocationSettingData_ReceiveBandwidthLimit_Description_qual = { @@ -73786,7 +73786,7 @@ static MI_CONST MI_PropertyDecl CIM_PhysicalComputerSystemView_OSVersion_prop = NULL, }; -static MI_CONST MI_Char* CIM_PhysicalComputerSystemView_OSEnabledState_Description_qual_value = MI_T("EnabledState of the current or last running operating system on this physcial computer system."); +static MI_CONST MI_Char* CIM_PhysicalComputerSystemView_OSEnabledState_Description_qual_value = MI_T("EnabledState of the current or last running operating system on this physical computer system."); static MI_CONST MI_Qualifier CIM_PhysicalComputerSystemView_OSEnabledState_Description_qual = { @@ -75028,7 +75028,7 @@ static MI_CONST MI_Qualifier CIM_PhysicalComputerSystemView_ClearLog_LogInstance &CIM_PhysicalComputerSystemView_ClearLog_LogInstanceID_In_qual_value }; -static MI_CONST MI_Char* CIM_PhysicalComputerSystemView_ClearLog_LogInstanceID_Description_qual_value = MI_T("Idenfier for the log that is requested to be cleared."); +static MI_CONST MI_Char* CIM_PhysicalComputerSystemView_ClearLog_LogInstanceID_Description_qual_value = MI_T("Identifier for the log that is requested to be cleared."); static MI_CONST MI_Qualifier CIM_PhysicalComputerSystemView_ClearLog_LogInstanceID_Description_qual = { @@ -85561,7 +85561,7 @@ MI_CONST MI_ClassDecl CIM_SystemDevice_rtti = **============================================================================== */ -static MI_CONST MI_Char* CIM_VirtualSystemSettingData_VirtualSystemIdentifier_Description_qual_value = MI_T("VirtualSystemIdentifier shall reflect a unique name for the system as it is used within the virtualization platform. Note that the VirtualSystemIdentifier is not the hostname assigned to the operating system instance running within the virtual system, nor is it an IP address or MAC address assigned to any of its network ports. \nOn create requests VirtualSystemIdentifier may contain implementation specific rules (like simple patterns or regular expresssion) that may be interpreted by the implementation when assigning a VirtualSystemIdentifier."); +static MI_CONST MI_Char* CIM_VirtualSystemSettingData_VirtualSystemIdentifier_Description_qual_value = MI_T("VirtualSystemIdentifier shall reflect a unique name for the system as it is used within the virtualization platform. Note that the VirtualSystemIdentifier is not the hostname assigned to the operating system instance running within the virtual system, nor is it an IP address or MAC address assigned to any of its network ports. \nOn create requests VirtualSystemIdentifier may contain implementation specific rules (like simple patterns or regular expression) that may be interpreted by the implementation when assigning a VirtualSystemIdentifier."); static MI_CONST MI_Qualifier CIM_VirtualSystemSettingData_VirtualSystemIdentifier_Description_qual = { @@ -86133,7 +86133,7 @@ static MI_CONST MI_PropertyDecl CIM_VirtualSystemSettingData_AutomaticShutdownAc NULL, }; -static MI_CONST MI_Char* CIM_VirtualSystemSettingData_AutomaticRecoveryAction_Description_qual_value = MI_T("Action to take for the virtual system when the software executed by the virtual system fails. Failures in this case means a failure that is detectable by the host platform, such as a non-interuptable wait state condition."); +static MI_CONST MI_Char* CIM_VirtualSystemSettingData_AutomaticRecoveryAction_Description_qual_value = MI_T("Action to take for the virtual system when the software executed by the virtual system fails. Failures in this case means a failure that is detectable by the host platform, such as a non-interruptible wait state condition."); static MI_CONST MI_Qualifier CIM_VirtualSystemSettingData_AutomaticRecoveryAction_Description_qual = { @@ -86211,7 +86211,7 @@ static MI_CONST MI_PropertyDecl CIM_VirtualSystemSettingData_AutomaticRecoveryAc NULL, }; -static MI_CONST MI_Char* CIM_VirtualSystemSettingData_RecoveryFile_Description_qual_value = MI_T("Filepath of a file where recovery relateded information of the virtual system is stored.Format shall be URI based on RFC 2079."); +static MI_CONST MI_Char* CIM_VirtualSystemSettingData_RecoveryFile_Description_qual_value = MI_T("Filepath of a file where recovery related information of the virtual system is stored.Format shall be URI based on RFC 2079."); static MI_CONST MI_Qualifier CIM_VirtualSystemSettingData_RecoveryFile_Description_qual = { @@ -86383,7 +86383,7 @@ static MI_CONST MI_PropertyDecl CIM_VirtualEthernetSwitchSettingData_VLANConnect NULL, }; -static MI_CONST MI_Char* CIM_VirtualEthernetSwitchSettingData_AssociatedResourcePool_Description_qual_value = MI_T("A list of host resource pools to be associated or that are currently associated with the Ethernet bridge for the purpose of the allocation of Ethernet connections between a virtual system and an Ethernet bridge Each non-Null value of the AssoicatedResourcePool property shall conform to the production WBEM_URI_UntypedInstancePath as defined in DSP0207"); +static MI_CONST MI_Char* CIM_VirtualEthernetSwitchSettingData_AssociatedResourcePool_Description_qual_value = MI_T("A list of host resource pools to be associated or that are currently associated with the Ethernet bridge for the purpose of the allocation of Ethernet connections between a virtual system and an Ethernet bridge Each non-Null value of the AssociatedResourcePool property shall conform to the production WBEM_URI_UntypedInstancePath as defined in DSP0207"); static MI_CONST MI_Qualifier CIM_VirtualEthernetSwitchSettingData_AssociatedResourcePool_Description_qual = { @@ -86415,7 +86415,7 @@ static MI_CONST MI_PropertyDecl CIM_VirtualEthernetSwitchSettingData_AssociatedR NULL, }; -static MI_CONST MI_Char* CIM_VirtualEthernetSwitchSettingData_MaxNumMACAddress_Description_qual_value = MI_T("This property specifies the number of unique MAC addresses that can be learned by the bridge to support MAC Address Learning, as defined in the IEEE 802.1D standard or in a VLAN-aware bridge this property specifies the number of MAC,VID pairs learned by the bridge to support learning as definded in the IEEE 802.1Q standard."); +static MI_CONST MI_Char* CIM_VirtualEthernetSwitchSettingData_MaxNumMACAddress_Description_qual_value = MI_T("This property specifies the number of unique MAC addresses that can be learned by the bridge to support MAC Address Learning, as defined in the IEEE 802.1D standard or in a VLAN-aware bridge this property specifies the number of MAC,VID pairs learned by the bridge to support learning as defined in the IEEE 802.1Q standard."); static MI_CONST MI_Qualifier CIM_VirtualEthernetSwitchSettingData_MaxNumMACAddress_Description_qual = { @@ -87283,7 +87283,7 @@ static MI_CONST MI_Qualifier CIM_VLAN_UMLPackagePath_qual = &CIM_VLAN_UMLPackagePath_qual_value }; -static MI_CONST MI_Char* CIM_VLAN_Description_qual_value = MI_T("An instance of VLAN represents a VLAN within a switch. In a particular switch, there should be an instance of VLAN for every VLAN available. For example, in a switch with port-based VLANs, if there are 16 VLANs to which ports can be assigned (VLAN 1 through VLAN 16), there should be an instance of CIM_VLAN for each of VLAN 1 through VLAN 16. \n\nVLAN inherits Name from ServiceAccessPoint. Use this for the textual name of the VLAN, if there is one. Otherwise, synthesize a textual name, e.g., VLAN 0003. (Consider leading zero fill, as shown, to ensure that if the textual VLAN names are extracted and presented by a management applictions, the VLAN names will sort in the expected order.) The numeric part of the name should be at least four digits wide since 802.1Q specifies 4095 VLANs. \n\nIt is intended that VLAN be subclassed only if necessary to add attributes. The type of the VLAN can be inferred from the VLANService(s) with which the VLAN is associated in the VLANFor association. \n\nAn instance of VLAN may be associated with more than one VLANService. For example, there are switches that support both 802.1Q VLANs and the vendor\'s proprietary VLANs. In some such switches, if a broadcast packet is received on a port in an 802.1Q VLAN (VLAN 5, for example), it may be be transmitted from a port in a \'proprietary\' VLAN 5. In effect, there is only one VLAN 5, and the type of port only determines the packet format for tagged packets. In the case just described, only one instance of CIM_VLAN should be instantiated for VLAN 5, and it should be associated both with the 802.1Q VLANService and the proprietary VLANService. \n\nIn typical VLAN-aware switches, packets can be assigned to a VLAN based on the port on which they are received (port-based VLANS), based on the source MAC address (MAC-based VLANs), or based on the value of a set of bits in the packet (protocol-based VLANs). If it is desirable to represent the VLAN assignment predicate for some MAC-based VLAN switch, it will be necessary to subclass VLAN. The list of MAC addresses associated with a VLAN might be an attribute of the subclass. If it is desirable to represent the VLAN assignment predicate in a protocol-based VLAN switch, it will also be necessary to subclass VLAN, InboundVLAN, or both. If the predicate applies to all ports in the switch, then only VLAN need be used/instantiated. If the predicate may vary based on the port, then InboundVLAN must be subclassed, and CIM_VLAN might have to be subclassed as well."); +static MI_CONST MI_Char* CIM_VLAN_Description_qual_value = MI_T("An instance of VLAN represents a VLAN within a switch. In a particular switch, there should be an instance of VLAN for every VLAN available. For example, in a switch with port-based VLANs, if there are 16 VLANs to which ports can be assigned (VLAN 1 through VLAN 16), there should be an instance of CIM_VLAN for each of VLAN 1 through VLAN 16. \n\nVLAN inherits Name from ServiceAccessPoint. Use this for the textual name of the VLAN, if there is one. Otherwise, synthesize a textual name, e.g., VLAN 0003. (Consider leading zero fill, as shown, to ensure that if the textual VLAN names are extracted and presented by a management applications, the VLAN names will sort in the expected order.) The numeric part of the name should be at least four digits wide since 802.1Q specifies 4095 VLANs. \n\nIt is intended that VLAN be subclassed only if necessary to add attributes. The type of the VLAN can be inferred from the VLANService(s) with which the VLAN is associated in the VLANFor association. \n\nAn instance of VLAN may be associated with more than one VLANService. For example, there are switches that support both 802.1Q VLANs and the vendor\'s proprietary VLANs. In some such switches, if a broadcast packet is received on a port in an 802.1Q VLAN (VLAN 5, for example), it may be be transmitted from a port in a \'proprietary\' VLAN 5. In effect, there is only one VLAN 5, and the type of port only determines the packet format for tagged packets. In the case just described, only one instance of CIM_VLAN should be instantiated for VLAN 5, and it should be associated both with the 802.1Q VLANService and the proprietary VLANService. \n\nIn typical VLAN-aware switches, packets can be assigned to a VLAN based on the port on which they are received (port-based VLANS), based on the source MAC address (MAC-based VLANs), or based on the value of a set of bits in the packet (protocol-based VLANs). If it is desirable to represent the VLAN assignment predicate for some MAC-based VLAN switch, it will be necessary to subclass VLAN. The list of MAC addresses associated with a VLAN might be an attribute of the subclass. If it is desirable to represent the VLAN assignment predicate in a protocol-based VLAN switch, it will also be necessary to subclass VLAN, InboundVLAN, or both. If the predicate applies to all ports in the switch, then only VLAN need be used/instantiated. If the predicate may vary based on the port, then InboundVLAN must be subclassed, and CIM_VLAN might have to be subclassed as well."); static MI_CONST MI_Qualifier CIM_VLAN_Description_qual = { diff --git a/Unix/samples/Providers/tests/PersonProvider/test_PersonProvider.cpp b/Unix/samples/Providers/tests/PersonProvider/test_PersonProvider.cpp index 77115c5ea..6af66818c 100644 --- a/Unix/samples/Providers/tests/PersonProvider/test_PersonProvider.cpp +++ b/Unix/samples/Providers/tests/PersonProvider/test_PersonProvider.cpp @@ -580,7 +580,7 @@ static void EnumeratePerson( { MI_Result r; - // Call the provider's enumeate method. + // Call the provider's enumerate method. mh.callEnumerate(); // Check the result. diff --git a/Unix/scriptext/py/PMI_Class.c b/Unix/scriptext/py/PMI_Class.c index a553c9fc3..021d00b16 100644 --- a/Unix/scriptext/py/PMI_Class.c +++ b/Unix/scriptext/py/PMI_Class.c @@ -11,7 +11,7 @@ #include "structmember.h" #include "MI.h" -/*Defines a PMI_Class Type Object which is a Python Object that contains a reference to an intance of MI_Class */ +/*Defines a PMI_Class Type Object which is a Python Object that contains a reference to an instance of MI_Class */ typedef struct{ PyObject_HEAD const MI_Class *miClass; diff --git a/Unix/scriptext/py/PMI_Instance.c b/Unix/scriptext/py/PMI_Instance.c index 39d2be043..556325d54 100644 --- a/Unix/scriptext/py/PMI_Instance.c +++ b/Unix/scriptext/py/PMI_Instance.c @@ -15,7 +15,7 @@ static PyObject *MIError; -/*Defines a PMI_Instance Type Object which is a Python Object that contains a reference to an intance of MI_Instance */ +/*Defines a PMI_Instance Type Object which is a Python Object that contains a reference to an instance of MI_Instance */ typedef struct{ PyObject_HEAD MI_Instance *miInstance; diff --git a/Unix/scriptext/py/PMI_Session.c b/Unix/scriptext/py/PMI_Session.c index 4f2aa3938..1a180b9d3 100644 --- a/Unix/scriptext/py/PMI_Session.c +++ b/Unix/scriptext/py/PMI_Session.c @@ -711,7 +711,7 @@ static PyObject *Invoke(PyObject *self, PyObject *args, PyObject *kwds) if (miResult != MI_RESULT_OK) { char error[errorBufferSize]; - strcpy(error,"Get operation failed to retrive the instance to invoke,error ="); + strcpy(error,"Get operation failed to retrieve the instance to invoke,error ="); strcat(error,MI_Result_To_String(miResult)); if(errorMessage != NULL) { diff --git a/Unix/scriptext/py/PythonBinding.c b/Unix/scriptext/py/PythonBinding.c index f077f1950..a5338dc67 100644 --- a/Unix/scriptext/py/PythonBinding.c +++ b/Unix/scriptext/py/PythonBinding.c @@ -37,7 +37,7 @@ PyObject* CleanupSession(MI_DestinationOptions miDestinationOptions, } static PyObject* Connect(PyObject* self, PyObject* args){ - //initiazlie the python module first + //initialize the python module first Py_Initialize(); initPMI_Session(); initPMI_Instance(); @@ -52,7 +52,7 @@ static PyObject* Connect(PyObject* self, PyObject* args){ char* domain, *username, *password; if(!PyArg_ParseTuple(args,"sss",&domain,&username,&password)) { - PyErr_SetString(MIError,"Connection failed: please input the correct domian, username and password"); + PyErr_SetString(MIError,"Connection failed: please input the correct domain, username and password"); return NULL; } diff --git a/Unix/server/server.c b/Unix/server/server.c index 993508649..ff574fe8d 100644 --- a/Unix/server/server.c +++ b/Unix/server/server.c @@ -578,7 +578,7 @@ int servermain(int argc, const char* argv[], const char *envp[]) if (ntlm_user_file) { - /* We do NOT accept the NTLM_USER_FILE environement variable for the server */ + /* We do NOT accept the NTLM_USER_FILE environment variable for the server */ trace_NtlmEnvIgnored(ntlm_user_file); unsetenv("NTLM_USER_FILE"); } diff --git a/Unix/server/servercommon.c b/Unix/server/servercommon.c index d7d3885c2..1427ef454 100644 --- a/Unix/server/servercommon.c +++ b/Unix/server/servercommon.c @@ -976,7 +976,7 @@ void SetDefaults(Options *opts_ptr, ServerData *data_ptr, const char *executable s_optsPtr->krb5KeytabPath = PAL_Strdup(OMI_GetPath(ID_KRB5_KEYTABPATH)); s_optsPtr->krb5CredCacheSpec = PAL_Strdup("FILE:/tmp/omi_cc"); - /* Initialize calback parameters */ + /* Initialize callback parameters */ s_dataPtr->protocolData.data = s_dataPtr; s_dataPtr->protocolData.type = SRV_PROTOCOL; s_dataPtr->wsmanData.data = s_dataPtr; diff --git a/Unix/share/networkschema/CIM_AccountManagementService.mof b/Unix/share/networkschema/CIM_AccountManagementService.mof index e892e7948..b35069c3f 100644 --- a/Unix/share/networkschema/CIM_AccountManagementService.mof +++ b/Unix/share/networkschema/CIM_AccountManagementService.mof @@ -4,7 +4,7 @@ Description ( "CIM_AccountManagementService creates, manages, and if " "necessary destroys Accounts on behalf of other " - "SecuritySerices." )] + "SecurityServices." )] class CIM_AccountManagementService : CIM_IdentityManagementService { diff --git a/Unix/share/networkschema/CIM_AccountSettingData.mof b/Unix/share/networkschema/CIM_AccountSettingData.mof index 3c9e3c43d..cc5e52013 100644 --- a/Unix/share/networkschema/CIM_AccountSettingData.mof +++ b/Unix/share/networkschema/CIM_AccountSettingData.mof @@ -8,7 +8,7 @@ "this class may be used to constrain the properties of " "instances of CIM_Accountcreated using the service. When " "associated with an instance of CIM_Account, this class may be " - "used to manage the configuration of the CIM_Acount instance." )] + "used to manage the configuration of the CIM_Account instance." )] class CIM_AccountSettingData : CIM_SettingData { [Description ( diff --git a/Unix/share/networkschema/CIM_ComputerSystem.mof b/Unix/share/networkschema/CIM_ComputerSystem.mof index 65b6fcbf0..a5e5e052b 100644 --- a/Unix/share/networkschema/CIM_ComputerSystem.mof +++ b/Unix/share/networkschema/CIM_ComputerSystem.mof @@ -134,7 +134,7 @@ class CIM_ComputerSystem : CIM_System { "An enumerated array describing the power management " "capabilities of the ComputerSystem. The use of this " "property has been deprecated. Instead, the Power " - "Capabilites property in an associated PowerManagement " + "Capabilities property in an associated PowerManagement " "Capabilities class should be used." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7" }, Values { "Unknown", "Not Supported", "Disabled", "Enabled", diff --git a/Unix/share/networkschema/CIM_ConcreteJob.mof b/Unix/share/networkschema/CIM_ConcreteJob.mof index b641ed6e9..ebd70b493 100644 --- a/Unix/share/networkschema/CIM_ConcreteJob.mof +++ b/Unix/share/networkschema/CIM_ConcreteJob.mof @@ -188,9 +188,9 @@ class CIM_ConcreteJob : CIM_Job { "If JobState is \"Completed\" and Operational Status is " "\"Completed\" then no instance of CIM_Error is returned. \n" "If JobState is \"Exception\" then GetErrors may return " - "intances of CIM_Error related to the execution of the " + "instances of CIM_Error related to the execution of the " "procedure or method invoked by the job.\n" - "If Operatational Status is not \"OK\" or \"Completed\"then " + "If Operational Status is not \"OK\" or \"Completed\"then " "GetErrors may return CIM_Error instances related to the " "running of the job." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", diff --git a/Unix/share/networkschema/CIM_ElementSettingData.mof b/Unix/share/networkschema/CIM_ElementSettingData.mof index 28c853528..5b3763448 100644 --- a/Unix/share/networkschema/CIM_ElementSettingData.mof +++ b/Unix/share/networkschema/CIM_ElementSettingData.mof @@ -109,13 +109,13 @@ class CIM_ElementSettingData { "are not affected by this property. \n" "Note: It is assumed that the semantics of each property " "of this set are designed to be compared mathematically. \n" - "When IsMinimum = \"Is Miniumum\", this property " + "When IsMinimum = \"Is Minimum\", this property " "indicates that the affected property values specified in " "the associated SettingData instance shall define desired " "minimum setting values. The operational minimum values " "should be modeled as a properties of the " "CIM_ManagedElement instance.\n" - "When IsMinimum = \"Is Not Miniumum\", this property " + "When IsMinimum = \"Is Not Minimum\", this property " "indicates that the affected property values specified in " "the associated SettingData instance shall not define " "desired minimum setting values. \n" @@ -141,13 +141,13 @@ class CIM_ElementSettingData { "are not affected by this property. \n" "Note: It is assumed that the semantics of each property " "of this set are designed to be compared mathematically. \n" - "When IsMaximum = \"Is Maxiumum\", this property " + "When IsMaximum = \"Is Maximum\", this property " "indicates that the affected property values specified in " "the associated SettingData instance shall define desired " "maximum setting values. The operational maximum values " "should be modeled as a properties of the " "CIM_ManagedElement instance.\n" - "When IsMaximum = \"Is Not Maxiumum\", this property " + "When IsMaximum = \"Is Not Maximum\", this property " "indicates that the affected property values specified in " "the associated SettingData instance shall not define " "desired maximum setting values. \n" diff --git a/Unix/share/networkschema/CIM_EnabledLogicalElementCapabilities.mof b/Unix/share/networkschema/CIM_EnabledLogicalElementCapabilities.mof index 70f6e153a..c769ce11c 100644 --- a/Unix/share/networkschema/CIM_EnabledLogicalElementCapabilities.mof +++ b/Unix/share/networkschema/CIM_EnabledLogicalElementCapabilities.mof @@ -3,7 +3,7 @@ UMLPackagePath ( "CIM::Core::Capabilities" ), Description ( "EnabledLogicalElementCapabilities describes the capabilities " - "supported for changing the state of the assciated " + "supported for changing the state of the associated " "EnabledLogicalElement." )] class CIM_EnabledLogicalElementCapabilities : CIM_Capabilities { diff --git a/Unix/share/networkschema/CIM_EthernetPortAllocationSettingData.mof b/Unix/share/networkschema/CIM_EthernetPortAllocationSettingData.mof index dc3637693..8bc8be210 100644 --- a/Unix/share/networkschema/CIM_EthernetPortAllocationSettingData.mof +++ b/Unix/share/networkschema/CIM_EthernetPortAllocationSettingData.mof @@ -96,7 +96,7 @@ class CIM_EthernetPortAllocationSettingData : CIM_ResourceAllocationSettingData [Description ( "The GroupID is an identifier that refers to the VLAN " "associated with the VSI specified in the VDP TLV as " - "definded in IEEE 802.1Qbg." )] + "defined in IEEE 802.1Qbg." )] uint32 GroupID; [Description ( @@ -150,7 +150,7 @@ class CIM_EthernetPortAllocationSettingData : CIM_ResourceAllocationSettingData boolean Promiscuous; [Description ( - "This property specifes the upper bounds or maximum " + "This property specifies the upper bounds or maximum " "amount of receive bandwidth allowed through this port. " "The value of the ReceiveBandwidthLimit property is " "expressed in the unit specified by the value of the " diff --git a/Unix/share/networkschema/CIM_IPProtocolEndpoint.mof b/Unix/share/networkschema/CIM_IPProtocolEndpoint.mof index a5516cf25..dc1be8b4a 100644 --- a/Unix/share/networkschema/CIM_IPProtocolEndpoint.mof +++ b/Unix/share/networkschema/CIM_IPProtocolEndpoint.mof @@ -79,7 +79,7 @@ class CIM_IPProtocolEndpoint : CIM_ProtocolEndpoint { "A value of 7 \"DHCPv6\" shall indicate the values were " "assigned using DHCPv6. See RFC 3315. \n" "A value of 8 \"IPv6 AutoConfig\" shall indicate the " - "values were assinged using the IPv6 AutoConfig Protocol. " + "values were assigned using the IPv6 AutoConfig Protocol. " "See RFC 4862. \n" "A value of 9 \"Stateless\" shall indicate Stateless " "values were assigned. \n" @@ -94,7 +94,7 @@ class CIM_IPProtocolEndpoint : CIM_ProtocolEndpoint { uint16 AddressOrigin = 0; [Description ( - "IPv6AddressType indentified the type of address found in " + "IPv6AddressType identified the type of address found in " "the IPv6Address property. The values of this property " "shall be interpreted according to RFC4291, Section 2.4" ), ValueMap { "2", "3", "4", "5", "6", "7", "8", "..", diff --git a/Unix/share/networkschema/CIM_LogicalDevice.mof b/Unix/share/networkschema/CIM_LogicalDevice.mof index a5be2dbc6..8d651a093 100644 --- a/Unix/share/networkschema/CIM_LogicalDevice.mof +++ b/Unix/share/networkschema/CIM_LogicalDevice.mof @@ -51,7 +51,7 @@ class CIM_LogicalDevice : CIM_EnabledLogicalElement { "The use of this property has been deprecated. Instead, " "the existence of an associated " "PowerManagementCapabilities class (associated using the " - "ElementCapabilities relationhip) indicates that power " + "ElementCapabilities relationship) indicates that power " "management is supported." )] boolean PowerManagementSupported; @@ -60,7 +60,7 @@ class CIM_LogicalDevice : CIM_EnabledLogicalElement { Description ( "An enumerated array describing the power management " "capabilities of the Device. The use of this property has " - "been deprecated. Instead, the PowerCapabilites property " + "been deprecated. Instead, the PowerCapabilities property " "in an associated PowerManagementCapabilities class " "should be used." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7" }, @@ -205,7 +205,7 @@ class CIM_LogicalDevice : CIM_EnabledLogicalElement { "property can be used to provide further information. For " "example, a Device\'s primary Availability may be \"Off " "line\" (value=8), but it may also be in a low power " - "state (AdditonalAvailability value=14), or the Device " + "state (AdditionalAvailability value=14), or the Device " "could be running Diagnostics (AdditionalAvailability " "value=5, \"In Test\")." ), ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", diff --git a/Unix/share/networkschema/CIM_ManagedSystemElement.mof b/Unix/share/networkschema/CIM_ManagedSystemElement.mof index 54af04f42..1480fe037 100644 --- a/Unix/share/networkschema/CIM_ManagedSystemElement.mof +++ b/Unix/share/networkschema/CIM_ManagedSystemElement.mof @@ -263,7 +263,7 @@ class CIM_ManagedSystemElement : CIM_ManagedElement { "OperatingStatus consists of one of the following values: " "Unknown, Not Available, In Service, Starting, Stopping, " "Stopped, Aborted, Dormant, Completed, Migrating, " - "Emmigrating, Immigrating, Snapshotting. Shutting Down, " + "Emigrating, Immigrating, Snapshotting. Shutting Down, " "In Test \n" "A Null return indicates the implementation (provider) " "does not implement this property. \n" diff --git a/Unix/share/networkschema/CIM_NetworkPolicyCondition.mof b/Unix/share/networkschema/CIM_NetworkPolicyCondition.mof index b4ace4396..0d6608d9d 100644 --- a/Unix/share/networkschema/CIM_NetworkPolicyCondition.mof +++ b/Unix/share/networkschema/CIM_NetworkPolicyCondition.mof @@ -56,7 +56,7 @@ class CIM_NetworkPolicyCondition : CIM_Policy { "DestinationPortRange: identifies a range of receiving ports\n" "HTTPURL: identifies the URL under a HTTP request.\n" "HTTPContent: identifies the Content-Type field under the " - "HTPP request\n" + "HTTP request\n" "HTTPCookieName: identifies a cookie name under the HTTP request\n" "HTTPCookieValue: identifies a cookie value under the " "HTTP request\n" diff --git a/Unix/share/networkschema/CIM_PhysicalComputerSystemView.mof b/Unix/share/networkschema/CIM_PhysicalComputerSystemView.mof index fcada76a0..ad7c387f4 100644 --- a/Unix/share/networkschema/CIM_PhysicalComputerSystemView.mof +++ b/Unix/share/networkschema/CIM_PhysicalComputerSystemView.mof @@ -583,7 +583,7 @@ class CIM_PhysicalComputerSystemView : CIM_View { [Description ( "EnabledState of the current or last running operating " - "system on this physcial computer system." ), + "system on this physical computer system." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11..32767", "32768..65535" }, Values { "Unknown", "Other", "Enabled", "Disabled", @@ -735,7 +735,7 @@ class CIM_PhysicalComputerSystemView : CIM_View { "Failed", "DMTF Reserved", "Vendor Reserved" }] uint32 ClearLog( [In, Description ( - "Idenfier for the log that is requested to be cleared." + "Identifier for the log that is requested to be cleared." ), ModelCorrespondence { "CIM_RecordLog.InstanceID", "CIM_PhysicalComputerSystemView.LogInstanceID" }] diff --git a/Unix/share/networkschema/CIM_ProtocolEndpoint.mof b/Unix/share/networkschema/CIM_ProtocolEndpoint.mof index e448e4b2b..9724826f9 100644 --- a/Unix/share/networkschema/CIM_ProtocolEndpoint.mof +++ b/Unix/share/networkschema/CIM_ProtocolEndpoint.mof @@ -192,7 +192,7 @@ class CIM_ProtocolEndpoint : CIM_ServiceAccessPoint { "GR303 IDT", "ISUP", "Proprietary Wireless MAC Layer", "Proprietary Wireless Downstream", "Proprietary Wireless Upstream", "HIPERLAN Type 2", - "Proprietary Broadband Wireless Access Point to Mulipoint", + "Proprietary Broadband Wireless Access Point to Multipoint", "SONET Overhead Channel", "Digital Wrapper Overhead Channel", "ATM Adaptation Layer 2", "Radio MAC", "ATM Radio", diff --git a/Unix/share/networkschema/CIM_SecurityService.mof b/Unix/share/networkschema/CIM_SecurityService.mof index 3c70e5929..e130d1f05 100644 --- a/Unix/share/networkschema/CIM_SecurityService.mof +++ b/Unix/share/networkschema/CIM_SecurityService.mof @@ -6,7 +6,7 @@ // ================================================================== [Abstract, Version ( "2.6.0" ), UMLPackagePath ( "CIM::User::SecurityServices" ), - Description ( "A service providing security functionaity." )] + Description ( "A service providing security functionality." )] class CIM_SecurityService : CIM_Service { diff --git a/Unix/share/networkschema/CIM_Service.mof b/Unix/share/networkschema/CIM_Service.mof index 183f65584..f610ac55d 100644 --- a/Unix/share/networkschema/CIM_Service.mof +++ b/Unix/share/networkschema/CIM_Service.mof @@ -13,7 +13,7 @@ Description ( "A Service is a LogicalElement that represents the availability " "of functionality that can be managed. This functionality may " - "be provided by a seperately modeled entity such as a " + "be provided by a separately modeled entity such as a " "LogicalDevice or a SoftwareFeature, or both. The modeled " "Service typically provides only functionality required for " "management of itself or the elements it affects." )] diff --git a/Unix/share/networkschema/CIM_VLAN.mof b/Unix/share/networkschema/CIM_VLAN.mof index 1378f446e..01257fdaa 100644 --- a/Unix/share/networkschema/CIM_VLAN.mof +++ b/Unix/share/networkschema/CIM_VLAN.mof @@ -19,7 +19,7 @@ "textual name of the VLAN, if there is one. Otherwise, " "synthesize a textual name, e.g., VLAN 0003. (Consider leading " "zero fill, as shown, to ensure that if the textual VLAN names " - "are extracted and presented by a management applictions, the " + "are extracted and presented by a management applications, the " "VLAN names will sort in the expected order.) The numeric part " "of the name should be at least four digits wide since 802.1Q " "specifies 4095 VLANs. \n" diff --git a/Unix/share/networkschema/CIM_VirtualEthernetSwitchSettingData.mof b/Unix/share/networkschema/CIM_VirtualEthernetSwitchSettingData.mof index c4e27cd73..ecf7c30a8 100644 --- a/Unix/share/networkschema/CIM_VirtualEthernetSwitchSettingData.mof +++ b/Unix/share/networkschema/CIM_VirtualEthernetSwitchSettingData.mof @@ -17,7 +17,7 @@ class CIM_VirtualEthernetSwitchSettingData : CIM_VirtualSystemSettingData { "are currently associated with the Ethernet bridge for " "the purpose of the allocation of Ethernet connections " "between a virtual system and an Ethernet bridge Each " - "non-Null value of the AssoicatedResourcePool property " + "non-Null value of the AssociatedResourcePool property " "shall conform to the production " "WBEM_URI_UntypedInstancePath as defined in DSP0207" )] string AssociatedResourcePool[]; @@ -28,7 +28,7 @@ class CIM_VirtualEthernetSwitchSettingData : CIM_VirtualSystemSettingData { "MAC Address Learning, as defined in the IEEE 802.1D " "standard or in a VLAN-aware bridge this property " "specifies the number of MAC,VID pairs learned by the " - "bridge to support learning as definded in the IEEE " + "bridge to support learning as defined in the IEEE " "802.1Q standard." )] uint32 MaxNumMACAddress; diff --git a/Unix/share/networkschema/CIM_VirtualSystemSettingData.mof b/Unix/share/networkschema/CIM_VirtualSystemSettingData.mof index 16cbe4b1e..89e2b440e 100644 --- a/Unix/share/networkschema/CIM_VirtualSystemSettingData.mof +++ b/Unix/share/networkschema/CIM_VirtualSystemSettingData.mof @@ -32,7 +32,7 @@ class CIM_VirtualSystemSettingData : CIM_SettingData { "ports. \n" "On create requests VirtualSystemIdentifier may contain " "implementation specific rules (like simple patterns or " - "regular expresssion) that may be interpreted by the " + "regular expression) that may be interpreted by the " "implementation when assigning a VirtualSystemIdentifier." )] string VirtualSystemIdentifier; @@ -180,7 +180,7 @@ class CIM_VirtualSystemSettingData : CIM_SettingData { "Action to take for the virtual system when the software " "executed by the virtual system fails. Failures in this " "case means a failure that is detectable by the host " - "platform, such as a non-interuptable wait state " + "platform, such as a non-interruptible wait state " "condition." ), ValueMap { "2", "3", "4", ".." }, Values { "None", "Restart", "Revert to snapshot", @@ -188,7 +188,7 @@ class CIM_VirtualSystemSettingData : CIM_SettingData { uint16 AutomaticRecoveryAction; [Description ( - "Filepath of a file where recovery relateded information " + "Filepath of a file where recovery related information " "of the virtual system is stored.Format shall be URI " "based on RFC 2079." )] string RecoveryFile; diff --git a/Unix/share/networkschema/MSFT_ACL.mof b/Unix/share/networkschema/MSFT_ACL.mof index 55ed07099..f0eeb2a34 100644 --- a/Unix/share/networkschema/MSFT_ACL.mof +++ b/Unix/share/networkschema/MSFT_ACL.mof @@ -2,7 +2,7 @@ // MSFT_IPACL // =============================================================== [Description ( "MSFT_IPACL description." - "This class names the IP ACL in a system. It is used as an aggragation class" + "This class names the IP ACL in a system. It is used as an aggregation class" "for an orderset of rules"), Version ( "0.70" )] class MSFT_ACL : CIM_NetworkPolicyRule @@ -19,12 +19,12 @@ class MSFT_ACL : CIM_NetworkPolicyRule [Description ( "Set of policy on an ACL" - "The default Implicited states that all traffic is denied unless there is a" + "The default Implicit states that all traffic is denied unless there is a" "rule allowing traffic" - "Explicit policy states that an explict rule must be stated for each permit and or allow action"), + "Explicit policy states that an explicit rule must be stated for each permit and or allow action"), ValueMap { "2", "3"}, Values { "Implicit", "Explicit"} ] uint16 ActionPolicy = 2; -}; \ No newline at end of file +}; diff --git a/Unix/share/networkschema/MSFT_ACLSetComponent.mof b/Unix/share/networkschema/MSFT_ACLSetComponent.mof index 8464e2532..223e5d53f 100644 --- a/Unix/share/networkschema/MSFT_ACLSetComponent.mof +++ b/Unix/share/networkschema/MSFT_ACLSetComponent.mof @@ -15,7 +15,7 @@ class MSFT_ACLSetComponent : CIM_PolicySetComponent { [Description ( "A non-negative integer for sequencing each ACL rule. The" - "Agragated Rules will be processed from lowest to highest in the sequence")] + "Aggregated Rules will be processed from lowest to highest in the sequence")] uint16 Sequence; diff --git a/Unix/share/networkschema/MSFT_AuthenticationAuthorizationAccounting.mof b/Unix/share/networkschema/MSFT_AuthenticationAuthorizationAccounting.mof index 9a75032ef..ef57f5da6 100644 --- a/Unix/share/networkschema/MSFT_AuthenticationAuthorizationAccounting.mof +++ b/Unix/share/networkschema/MSFT_AuthenticationAuthorizationAccounting.mof @@ -17,7 +17,7 @@ class MSFT_AuthenticationAuthorizationAccounting string Server; [Description ( - "An enumeration indicating the the login defaul group " + "An enumeration indicating the the login default group " ), ValueMap { "1", "2", "3"}, Values { "Other", "tacacs+", "radius"} @@ -25,8 +25,8 @@ class MSFT_AuthenticationAuthorizationAccounting uint16 LoginDefaultGroup; [Description ( - "A string that describes a login defaul group when a well " - "defined value is not available login defaul group has the " + "A string that describes a login default group when a well " + "defined value is not available login default group has the " "value \"Other\"." ), ModelCorrespondence { "MSFT_AuthenticationAuthorizationAccounting.LoginDefaultGroup" }] diff --git a/Unix/share/networkschema/MSFT_BGPBestpathConfiguration.mof b/Unix/share/networkschema/MSFT_BGPBestpathConfiguration.mof index 79f16e180..f62c73a82 100644 --- a/Unix/share/networkschema/MSFT_BGPBestpathConfiguration.mof +++ b/Unix/share/networkschema/MSFT_BGPBestpathConfiguration.mof @@ -5,7 +5,7 @@ Version ( "0.70" )] class MSFT_BGPBestpathConfiguration:CIM_SettingData { -boolean IsAlwaysCopareMed; +boolean IsAlwaysCompareMed; boolean ISAsPathMultiplePathRelax; boolean ISCompareRouteId; boolean IsCostCommunityIgnore; diff --git a/Unix/share/networkschema/MSFT_Feature.mof b/Unix/share/networkschema/MSFT_Feature.mof index ef6e33df8..eca17a624 100644 --- a/Unix/share/networkschema/MSFT_Feature.mof +++ b/Unix/share/networkschema/MSFT_Feature.mof @@ -38,7 +38,7 @@ class MSFT_Feature: CIM_LogicalElement [Description ( - "An enumeration indicating the avalible feature. " + "An enumeration indicating the available feature. " ), ValueMap { "1", "2", "3", "4", "5", "6", "7", "8" }, Values { "Other", "ssh", "tacacs+", "BGP", "InterFaceVLAN", "LACP", "DHCP", "LLDP" } diff --git a/Unix/share/networkschema/MSFT_LinkAggregationAssociation.mof b/Unix/share/networkschema/MSFT_LinkAggregationAssociation.mof index e9f1ae37b..db504bdc4 100644 --- a/Unix/share/networkschema/MSFT_LinkAggregationAssociation.mof +++ b/Unix/share/networkschema/MSFT_LinkAggregationAssociation.mof @@ -16,7 +16,7 @@ class MSFT_LinkAggregationAssociation CIM_EthernetPort REF LinkAggregation; [Key, - Description ( "A member Ehternet Switch port")] + Description ( "A member Ethernet Switch port")] CIM_EthernetPort REF EthernetPorts; diff --git a/Unix/share/networkschema/MSFT_LinkAggregationSettingData.mof b/Unix/share/networkschema/MSFT_LinkAggregationSettingData.mof index c318bbb84..77e3c05ad 100644 --- a/Unix/share/networkschema/MSFT_LinkAggregationSettingData.mof +++ b/Unix/share/networkschema/MSFT_LinkAggregationSettingData.mof @@ -1,7 +1,7 @@ // =============================================================== -// MSFT_LinkAggragationSettingData +// MSFT_LinkAggregationSettingData // =============================================================== - [Description ( "MSFT_LinkAggragationSettingData description." ), + [Description ( "MSFT_LinkAggregationSettingData description." ), Version ( "0.7" )] class MSFT_LinkAggregationSettingData : CIM_SettingData { diff --git a/Unix/share/networkschema/MSFT_Neighbor.mof b/Unix/share/networkschema/MSFT_Neighbor.mof index abde628f1..42e0fc07b 100644 --- a/Unix/share/networkschema/MSFT_Neighbor.mof +++ b/Unix/share/networkschema/MSFT_Neighbor.mof @@ -11,6 +11,6 @@ String Password; [Description (""), ValueMap { "1", "2", "3"}, Values {"Unencrypted", "ThreeDes", "CiscoType7" }] -uint32 KeyEncriptionMethod; +uint32 KeyEncryptionMethod; }; diff --git a/Unix/share/networkschema/MSFT_NeighborTemplate.mof b/Unix/share/networkschema/MSFT_NeighborTemplate.mof index 5117a3300..cbcbeb790 100644 --- a/Unix/share/networkschema/MSFT_NeighborTemplate.mof +++ b/Unix/share/networkschema/MSFT_NeighborTemplate.mof @@ -12,6 +12,6 @@ String Password; [Description (""), ValueMap { "1", "2", "3"}, Values {"Unencrypted", "ThreeDes", "CiscoType7" }] -uint32 KeyEncriptionMethod; +uint32 KeyEncryptionMethod; }; diff --git a/Unix/share/networkschema/MSFT_NetworkACLService.mof b/Unix/share/networkschema/MSFT_NetworkACLService.mof index d202991a2..25842259d 100644 --- a/Unix/share/networkschema/MSFT_NetworkACLService.mof +++ b/Unix/share/networkschema/MSFT_NetworkACLService.mof @@ -7,7 +7,7 @@ class MSFT_NetworkACLService : CIM_NetworkPolicyService { [Description ( - "Creates ande Names a new ACL" ), + "Creates and Names a new ACL" ), ValueMap { "0", "4096", "4097..32767", "32768..65535" }, Values { "Completed with No Error", "Job Started", "Method Reserved", "Vendor Specific" }] diff --git a/Unix/share/networkschema/MSFT_SwitchService.mof b/Unix/share/networkschema/MSFT_SwitchService.mof index cb0a4cfa3..a1876fad6 100644 --- a/Unix/share/networkschema/MSFT_SwitchService.mof +++ b/Unix/share/networkschema/MSFT_SwitchService.mof @@ -7,7 +7,7 @@ class MSFT_SwitchService : CIM_Service { [Description ( - "Defines and assigns a protcol endpoint subclass to a physical or virtual port or interface," + "Defines and assigns a protocol endpoint subclass to a physical or virtual port or interface," "for example an instance of CIM_EthernetPort or MSFT_Subinterface\n" "Input that is not completely specified may be filled out " "with default values." ), @@ -56,7 +56,7 @@ class MSFT_SwitchService : CIM_Service CIM_ConcreteJob REF Job); [Description ( - "removes a protcol endpoint subclass from a physical or virtual port or interface," + "removes a protocol endpoint subclass from a physical or virtual port or interface," "for example an instance of CIM_EthernetPort or MSFT_Subinterface\n" ), ValueMap { "0", "4096", @@ -181,11 +181,11 @@ class MSFT_SwitchService : CIM_Service [Description ( "A string an containing an embedded " "instance of class\subclass of " - "LinkAggragation that describes " + "LinkAggregation that describes " "the aspects of the Link aggregation. " ), EmbeddedInstance ( "MSFT_LinkAggregation" ) ] - string LinkAggragation[], + string LinkAggregation[], [Description ( "An array of references to instance of CIM_EthernetPort that " diff --git a/Unix/share/networkschema/MSFT_VACLAppliesToVLAN.mof b/Unix/share/networkschema/MSFT_VACLAppliesToVLAN.mof index 7c275b601..c9a7a4ab6 100644 --- a/Unix/share/networkschema/MSFT_VACLAppliesToVLAN.mof +++ b/Unix/share/networkschema/MSFT_VACLAppliesToVLAN.mof @@ -12,7 +12,7 @@ class MSFT_VACLAppliesToVLAN : CIM_PolicySetAppliesToElement [Override ( "ManagedElement" ), Description ("specialize this association to only apply to NetworkVLAN class" - "to match VLAN Access List implentation") ] + "to match VLAN Access List implementation") ] CIM_NetworkVLAN REF ManagedElement; }; diff --git a/Unix/share/networkschema/qualifiers.mof b/Unix/share/networkschema/qualifiers.mof index cf9724c15..39f16524c 100644 --- a/Unix/share/networkschema/qualifiers.mof +++ b/Unix/share/networkschema/qualifiers.mof @@ -124,14 +124,14 @@ Qualifier ModelCorrespondence : string[], Scope(any); /* -The Nonlocal qualifer has been removed (as an errata) as of CIM 2.3 +The Nonlocal qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier Nonlocal : string = null, Scope(reference); /* -The NonlocalType qualifer has been removed (as an errata) as of CIM 2.3 +The NonlocalType qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier NonlocalType : string = null, @@ -183,14 +183,14 @@ Qualifier Schema : string = null, Flavor(DisableOverride, ToSubclass, Translatable); /* -The Source qualifer has been removed (as an errata) as of CIM 2.3 +The Source qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier Source : string = null, Scope(class, association, indication); /* -The SourceType qualifer has been removed (as an errata) as of CIM 2.3 +The SourceType qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier SourceType : string = null, diff --git a/Unix/share/omischema/CIM-2.32.0/Application/CIM_ActionSequence.mof b/Unix/share/omischema/CIM-2.32.0/Application/CIM_ActionSequence.mof index ea1b39e9d..58a177bad 100644 --- a/Unix/share/omischema/CIM-2.32.0/Application/CIM_ActionSequence.mof +++ b/Unix/share/omischema/CIM-2.32.0/Application/CIM_ActionSequence.mof @@ -19,7 +19,7 @@ "must be a continuous sequence. \n" "ActionSequence is an association that loops on the Action " "classes with roles for the \'prior\' and \'next\' Actions in " - "the sequence. The need for a continuous sequence imples: " + "the sequence. The need for a continuous sequence implies: " "(1)Within the set of next-state or uninstall Actions, there is " "one and only one Action that does not have an instance of " "ActionSequence referencing it in the \'next\' role. This is " diff --git a/Unix/share/omischema/CIM-2.32.0/Application/CIM_ArchitectureCheck.mof b/Unix/share/omischema/CIM-2.32.0/Application/CIM_ArchitectureCheck.mof index 23eda4548..c7cfb627a 100644 --- a/Unix/share/omischema/CIM-2.32.0/Application/CIM_ArchitectureCheck.mof +++ b/Unix/share/omischema/CIM-2.32.0/Application/CIM_ArchitectureCheck.mof @@ -199,7 +199,7 @@ class CIM_ArchitectureCheck : CIM_Check { // 200 "S/390 and zSeries Family", "ESA/390 G4", "ESA/390 G5", "ESA/390 G6", - "z/Architectur base", + "z/Architecture base", // 205 "Intel(R) Core(TM) i5 processor", "Intel(R) Core(TM) i3 processor", diff --git a/Unix/share/omischema/CIM-2.32.0/Application/CIM_FRUIncludesSoftwareFeature.mof b/Unix/share/omischema/CIM-2.32.0/Application/CIM_FRUIncludesSoftwareFeature.mof index 21ebe7fc7..f502e004c 100644 --- a/Unix/share/omischema/CIM-2.32.0/Application/CIM_FRUIncludesSoftwareFeature.mof +++ b/Unix/share/omischema/CIM-2.32.0/Application/CIM_FRUIncludesSoftwareFeature.mof @@ -16,7 +16,7 @@ "slots or equivalent packaging of the hardware? \n" "(2) Are there any physical constraints (such as power " "consumption) that prevent the FRU from being installed? \n" - "(3) Are the SoftwareFeatures packaged with the FRU compatiable " + "(3) Are the SoftwareFeatures packaged with the FRU compatible " "with the underlying operating system and other software " "already installed/to be installed on the platform? \n" "This latter question can be answered by first checking if an " diff --git a/Unix/share/omischema/CIM-2.32.0/Application/CIM_J2eeNotification.mof b/Unix/share/omischema/CIM-2.32.0/Application/CIM_J2eeNotification.mof index d9aca6b49..bf5fc0ffb 100644 --- a/Unix/share/omischema/CIM-2.32.0/Application/CIM_J2eeNotification.mof +++ b/Unix/share/omischema/CIM-2.32.0/Application/CIM_J2eeNotification.mof @@ -79,7 +79,7 @@ class CIM_J2eeNotification : CIM_ProcessIndication { string Message; [Description ( - "Optional data that the notication broadcaster wishes to " + "Optional data that the notification broadcaster wishes to " "communicate to listeners. The content of the data is " "user specific. The UserData property may be null." ), OctetString] diff --git a/Unix/share/omischema/CIM-2.32.0/Application/CIM_J2eeStatistic.mof b/Unix/share/omischema/CIM-2.32.0/Application/CIM_J2eeStatistic.mof index 6d94d0800..deb6d8f35 100644 --- a/Unix/share/omischema/CIM-2.32.0/Application/CIM_J2eeStatistic.mof +++ b/Unix/share/omischema/CIM-2.32.0/Application/CIM_J2eeStatistic.mof @@ -49,7 +49,7 @@ class CIM_J2eeStatistic : CIM_StatisticalData { "converts the StatisticTime property to the format " "defined in the JSR77 specification. The related property " "CIM_StatisticalData.StatisticTime represents the same " - "information as a CIMDatatime entity." ), + "information as a CIMDateTime entity." ), MappingStrings { "JSR77.JCP|JSR77.6.4.1.5 getLastSampleTime|V1.0" }, ModelCorrespondence { "CIM_StatisticalData.StatisticTime" }] diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_ConcreteJob.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_ConcreteJob.mof index b641ed6e9..ebd70b493 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_ConcreteJob.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_ConcreteJob.mof @@ -188,9 +188,9 @@ class CIM_ConcreteJob : CIM_Job { "If JobState is \"Completed\" and Operational Status is " "\"Completed\" then no instance of CIM_Error is returned. \n" "If JobState is \"Exception\" then GetErrors may return " - "intances of CIM_Error related to the execution of the " + "instances of CIM_Error related to the execution of the " "procedure or method invoked by the job.\n" - "If Operatational Status is not \"OK\" or \"Completed\"then " + "If Operational Status is not \"OK\" or \"Completed\"then " "GetErrors may return CIM_Error instances related to the " "running of the job." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_ElementSoftwareIdentity.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_ElementSoftwareIdentity.mof index b8158bfc4..dc601f911 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_ElementSoftwareIdentity.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_ElementSoftwareIdentity.mof @@ -27,7 +27,7 @@ class CIM_ElementSoftwareIdentity : CIM_Dependency { "the software is on the element and is upgradeable by the owner.\n" "\'FactoryUpgradeable\' (4),indicates the persistence of " "the software is on the element and is upgradeable by the manufacturer.\n" - "\'Not Upgradeable\' (5), indicates the presistence of " + "\'Not Upgradeable\' (5), indicates the persistence of " "the software is on the element and is not upgradeable. " "(i.e. burned into a non replaceable ROM chip." ), ValueMap { "0", "1", "2", "3", "4", "5", "..", diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_EthernetPortAllocationSettingData.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_EthernetPortAllocationSettingData.mof index f6faa3557..701ecae6c 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_EthernetPortAllocationSettingData.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_EthernetPortAllocationSettingData.mof @@ -96,7 +96,7 @@ class CIM_EthernetPortAllocationSettingData : CIM_ResourceAllocationSettingData [Description ( "The GroupID is an identifier that refers to the VLAN " "associated with the VSI specified in the VDP TLV as " - "definded in IEEE 802.1Qbg." )] + "defined in IEEE 802.1Qbg." )] uint32 GroupID; [Description ( @@ -150,7 +150,7 @@ class CIM_EthernetPortAllocationSettingData : CIM_ResourceAllocationSettingData boolean Promiscuous; [Description ( - "This property specifes the upper bounds or maximum " + "This property specifies the upper bounds or maximum " "amount of receive bandwidth allowed through this port. " "The value of the ReceiveBandwidthLimit property is " "expressed in the unit specified by the value of the " diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_LastAppliedSnapshot.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_LastAppliedSnapshot.mof index c3edf569e..36d688000 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_LastAppliedSnapshot.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_LastAppliedSnapshot.mof @@ -7,7 +7,7 @@ "virtual system snapshot that was most recently applied to a " "virtual system, and the instance of the CIM_ComputerSystem " "class representing the related virtual system.\n" - "An instance of this assocation indicates that the referenced " + "An instance of this association indicates that the referenced " "snapshot is the snapshot the was last applied to the virtual " "system from the set of snapshots taken from that virtual " "system. For each virtual system at any time there is at most " diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_LaunchInContextSAP.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_LaunchInContextSAP.mof index 32d375311..4cf321cfb 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_LaunchInContextSAP.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_LaunchInContextSAP.mof @@ -39,7 +39,7 @@ class CIM_LaunchInContextSAP : CIM_RemoteServiceAccessPoint { [Override ( "InfoFormat" ), Description ( - "InfoFormat shall contain either 200(URL) or 206(Paramterized URL)." + "InfoFormat shall contain either 200(URL) or 206(Parameterized URL)." ), ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "100", "101", "102", "103", "104", diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_LogicalDevice.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_LogicalDevice.mof index a5be2dbc6..8d651a093 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_LogicalDevice.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_LogicalDevice.mof @@ -51,7 +51,7 @@ class CIM_LogicalDevice : CIM_EnabledLogicalElement { "The use of this property has been deprecated. Instead, " "the existence of an associated " "PowerManagementCapabilities class (associated using the " - "ElementCapabilities relationhip) indicates that power " + "ElementCapabilities relationship) indicates that power " "management is supported." )] boolean PowerManagementSupported; @@ -60,7 +60,7 @@ class CIM_LogicalDevice : CIM_EnabledLogicalElement { Description ( "An enumerated array describing the power management " "capabilities of the Device. The use of this property has " - "been deprecated. Instead, the PowerCapabilites property " + "been deprecated. Instead, the PowerCapabilities property " "in an associated PowerManagementCapabilities class " "should be used." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7" }, @@ -205,7 +205,7 @@ class CIM_LogicalDevice : CIM_EnabledLogicalElement { "property can be used to provide further information. For " "example, a Device\'s primary Availability may be \"Off " "line\" (value=8), but it may also be in a low power " - "state (AdditonalAvailability value=14), or the Device " + "state (AdditionalAvailability value=14), or the Device " "could be running Diagnostics (AdditionalAvailability " "value=5, \"In Test\")." ), ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_ManagedSystemElement.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_ManagedSystemElement.mof index 54af04f42..1480fe037 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_ManagedSystemElement.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_ManagedSystemElement.mof @@ -263,7 +263,7 @@ class CIM_ManagedSystemElement : CIM_ManagedElement { "OperatingStatus consists of one of the following values: " "Unknown, Not Available, In Service, Starting, Stopping, " "Stopped, Aborted, Dormant, Completed, Migrating, " - "Emmigrating, Immigrating, Snapshotting. Shutting Down, " + "Emigrating, Immigrating, Snapshotting. Shutting Down, " "In Test \n" "A Null return indicates the implementation (provider) " "does not implement this property. \n" diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_PowerUtilizationManagementService.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_PowerUtilizationManagementService.mof index cf42aa1b6..8975c73eb 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_PowerUtilizationManagementService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_PowerUtilizationManagementService.mof @@ -40,7 +40,7 @@ class CIM_PowerUtilizationManagementService : CIM_Service { "represents.the power aspect of the system. When applied " "to a system\'s Power Allocation settings, a system\'s " "power allocation settingsmay be modified.Upon " - "successfull execution if the limit property of the power " + "successful execution if the limit property of the power " "aspectis modified the power cap is modified" ), ValueMap { "0", "1", "2", "4096", "..", "32768..65535" }, Values { "Completed with No Error", "Not Supported", diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_ProtocolEndpoint.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_ProtocolEndpoint.mof index e448e4b2b..9724826f9 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_ProtocolEndpoint.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_ProtocolEndpoint.mof @@ -192,7 +192,7 @@ class CIM_ProtocolEndpoint : CIM_ServiceAccessPoint { "GR303 IDT", "ISUP", "Proprietary Wireless MAC Layer", "Proprietary Wireless Downstream", "Proprietary Wireless Upstream", "HIPERLAN Type 2", - "Proprietary Broadband Wireless Access Point to Mulipoint", + "Proprietary Broadband Wireless Access Point to Multipoint", "SONET Overhead Channel", "Digital Wrapper Overhead Channel", "ATM Adaptation Layer 2", "Radio MAC", "ATM Radio", diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_RedundancyComponent.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_RedundancyComponent.mof index 8448318a4..33db65ac9 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_RedundancyComponent.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_RedundancyComponent.mof @@ -13,7 +13,7 @@ "indicates that these elements, taken together, provide " "redundancy. All elements aggregated in a RedundancyGroup " "should be instantiations of the same object class. \n" - "The use of this class is being depreacted in lieu of using " + "The use of this class is being deprecated in lieu of using " "MemberOfCollection in conjunction with RedundancySet." )] class CIM_RedundancyComponent : CIM_Component { diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_RedundancySet.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_RedundancySet.mof index c91eb2403..1feea80bc 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_RedundancySet.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_RedundancySet.mof @@ -43,7 +43,7 @@ class CIM_RedundancySet : CIM_SystemSpecificCollection { "(=3) indicates all members are active. However, there " "functionality is not independent of each other. Their " "functioning is determined by some sort of load balancing " - "algrothim (implemented in hardware and/or software). " + "algorithm (implemented in hardware and/or software). " "\'Sparing\' is implied (i.e. each member can be a spare " "for the other(s). \n" "- Sparing (=4) indicates that all members are active and " @@ -133,18 +133,18 @@ class CIM_RedundancySet : CIM_SystemSpecificCollection { "or be associated with the RedundancySet via an IsSpare " "relationship. \n" "\n" - "Upon sucessful completion: \n" + "Upon successful completion: \n" "- the FailoverTo element SHOULD be associated to the " "RedundancySet via MemberOfCollection. \n" "- the FailFrom element SHOULD either still be associated " - "to the RedundandySet via MemberOfCollection with a " + "to the RedundancySet via MemberOfCollection with a " "OperationalStatus or EnableState that indicates it not " "active, or it SHOULD be associated to the \'Spared\' " "collection via the MemberOfCollection association." ), ValueMap { "0", "1", "2", "3", "4", "..", "32768..65535" }, Values { "Completed with No Error", "Not Supported", "Unknown/Unspecified Error", "Busy/In Use", - "Paramter Error", "DMTF Reserved", "Vendor Reserved" }] + "Parameter Error", "DMTF Reserved", "Vendor Reserved" }] uint32 Failover( [IN, Description ( "The primary ManagedSystemElement that will become " diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_Service.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_Service.mof index 183f65584..f610ac55d 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_Service.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_Service.mof @@ -13,7 +13,7 @@ Description ( "A Service is a LogicalElement that represents the availability " "of functionality that can be managed. This functionality may " - "be provided by a seperately modeled entity such as a " + "be provided by a separately modeled entity such as a " "LogicalDevice or a SoftwareFeature, or both. The modeled " "Service typically provides only functionality required for " "management of itself or the elements it affects." )] diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_SoftwareIdentity.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_SoftwareIdentity.mof index aacfe530b..6c64a32de 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_SoftwareIdentity.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_SoftwareIdentity.mof @@ -237,7 +237,7 @@ class CIM_SoftwareIdentity : CIM_LogicalElement { "the corresponding component of the IdentityInfoValue " "array. The elements of this property array describe the " "type of the value in the corresponding elements of the " - "IndetityInfoValue array. When the IdentityInfoValue " + "IdentityInfoValue array. When the IdentityInfoValue " "property is implemented, the IdentityInfoType property " "MUST be implemented. To insure uniqueness the " "IdentityInfoType property SHOULD be formatted using the " diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_SoftwareInstallationService.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_SoftwareInstallationService.mof index d99fbfd79..ed5980f36 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_SoftwareInstallationService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_SoftwareInstallationService.mof @@ -14,8 +14,8 @@ class CIM_SoftwareInstallationService : CIM_Service { "characteristics to be determined such as whether install " "will require a reboot. In addition a client can check " "whether the SoftwareIdentity can be added " - "simulataneously to a specified " - "SofwareIndentityCollection. A client MAY specify either " + "simultaneously to a specified " + "SoftwareIdentityCollection. A client MAY specify either " "or both of the Collection and Target parameters. The " "Collection parameter is only supported if " "SoftwareInstallationServiceCapabilities.CanAddToCollection " @@ -73,12 +73,12 @@ class CIM_SoftwareInstallationService : CIM_Service { "manually rebooted by the user. \n" "No reboot required : No reboot is required after " "installation. \n" - "User Intervention Recomended : It is recommended " + "User Intervention Recommended : It is recommended " "that a user confirm installation of this " "SoftwareIdentity. Inappropriate application MAY " "have serious consequences. \n" "MAY be added to specified collection : The " - "SoftwareIndentity MAY be added to specified " + "SoftwareIdentity MAY be added to specified " "Collection." ), ValueMap { "2", "3", "4", "5", "6", "7", "8", "9", "..", "0x7FFF..0xFFFF" }, @@ -96,8 +96,8 @@ class CIM_SoftwareInstallationService : CIM_Service { "Start a job to install or update a SoftwareIdentity " "(Source) on a ManagedElement (Target). \n" "In addition the method can be used to add the " - "SoftwareIdentity simulataneously to a specified " - "SofwareIndentityCollection. A client MAY specify either " + "SoftwareIdentity simultaneously to a specified " + "SoftwareIdentityCollection. A client MAY specify either " "or both of the Collection and Target parameters. The " "Collection parameter is only supported if " "SoftwareInstallationServiceCapabilities.CanAddToCollection " diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_StorageAllocationSettingData.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_StorageAllocationSettingData.mof index 38b29c460..eed444129 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_StorageAllocationSettingData.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_StorageAllocationSettingData.mof @@ -124,7 +124,7 @@ class CIM_StorageAllocationSettingData : CIM_ResourceAllocationSettingData { "mapping of the virtual storage extent onto the " "referenced host storage extent.\n" "NOTE: This property is a copy of the " - "CIM_BasedOn.StartingAddess property. See the description " + "CIM_BasedOn.StartingAddress property. See the description " "of CIM_BasedOn association for details." ), ModelCorrespondence { "CIM_StorageAllocationSettingData.HostResourceBlockSize", diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_StorageExtent.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_StorageExtent.mof index ff1da1438..abb96fc13 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_StorageExtent.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_StorageExtent.mof @@ -104,7 +104,7 @@ class CIM_StorageExtent : CIM_LogicalDevice { "system. For example, a server imports volumes from a " "disk array. \n" "\'Exported\' indicates the extent is meant to be used by " - "some comsumer. A disk array\'s logical units are " + "some consumer. A disk array\'s logical units are " "exported. \n" "Intermediate composite extents may be neither imported " "nor exported.\n" @@ -177,7 +177,7 @@ class CIM_StorageExtent : CIM_LogicalDevice { "property will generally be false. One use of this " "property is to enable algorithms that aggregate " "StorageExtent.ConsumableSpace across all, StorageExtents " - "but that also want to distinquish the space that " + "but that also want to distinguish the space that " "underlies Primordial StoragePools. Since implementations " "are not required to surface all Component StorageExtents " "of a StoragePool, this information is not accessible in " @@ -195,7 +195,7 @@ class CIM_StorageExtent : CIM_LogicalDevice { [Description ( "The list here applies to all StorageExtent subclasses. " "Please look at the Description in each subclass for " - "guidelines on the approriate values for that subclass. " + "guidelines on the appropriate values for that subclass. " "Note that any of these formats could apply to a " "CompositeExtent. \n" "\n" diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_StorageRedundancyGroup.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_StorageRedundancyGroup.mof index d720c4645..82114b4cd 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_StorageRedundancyGroup.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_StorageRedundancyGroup.mof @@ -26,7 +26,7 @@ class CIM_StorageRedundancyGroup : CIM_RedundancyGroup { "redundancy is not active. An inactive redundancy should " "only be instantiated if data striping or concatenation " "are active. These are indicated by the IsStriped or " - "IsConcatentated boolean properties of this " + "IsConcatenated boolean properties of this " "RedundancyGroup." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7" }, Values { "None", "Other", "Unknown", "Copy", "XOR", "P+Q", diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualEthernetSwitchSettingData.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualEthernetSwitchSettingData.mof index c4e27cd73..ecf7c30a8 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualEthernetSwitchSettingData.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualEthernetSwitchSettingData.mof @@ -17,7 +17,7 @@ class CIM_VirtualEthernetSwitchSettingData : CIM_VirtualSystemSettingData { "are currently associated with the Ethernet bridge for " "the purpose of the allocation of Ethernet connections " "between a virtual system and an Ethernet bridge Each " - "non-Null value of the AssoicatedResourcePool property " + "non-Null value of the AssociatedResourcePool property " "shall conform to the production " "WBEM_URI_UntypedInstancePath as defined in DSP0207" )] string AssociatedResourcePool[]; @@ -28,7 +28,7 @@ class CIM_VirtualEthernetSwitchSettingData : CIM_VirtualSystemSettingData { "MAC Address Learning, as defined in the IEEE 802.1D " "standard or in a VLAN-aware bridge this property " "specifies the number of MAC,VID pairs learned by the " - "bridge to support learning as definded in the IEEE " + "bridge to support learning as defined in the IEEE " "802.1Q standard." )] uint32 MaxNumMACAddress; diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualSystemManagementService.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualSystemManagementService.mof index 383b48dfa..ca759a1fb 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualSystemManagementService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualSystemManagementService.mof @@ -43,7 +43,7 @@ class CIM_VirtualSystemManagementService : CIM_Service { "a job may be returned. In this case, the instances " "of class CIM_ResourceAllocationSettingData " "representing the added resource settings are " - "available via association CIM_ConreteComponent " + "available via association CIM_ConcreteComponent " "from the instance of class " "CIM_VirtualSystemSettingData representing the " "affected virtual system configuration." )] @@ -97,8 +97,8 @@ class CIM_VirtualSystemManagementService : CIM_Service { "a job may be returned. In this case, the instance " "of class CIM_ComputerSystem representing the new " "virtual systemis presented via association " - "CIM_AffectedJobElementwith property " - "AffectedElement refering to the new instance of " + "CIM_AffectedJobElement with property " + "AffectedElement referring to the new instance of " "class CIM_ComputerSystem and property " "ElementEffects set to 5 (Create)." )] CIM_ConcreteJob REF Job); @@ -166,7 +166,7 @@ class CIM_VirtualSystemManagementService : CIM_Service { "a job be returned. In this case, the instances of " "class CIM_ResourceAllocationSettingData " "representing the modified resource settings are " - "available via association CIM_ConreteComponent " + "available via association CIM_ConcreteComponent " "from the instance of class " "CIM_VirtualSystemSettingData representing the " "affected virtual system configuration." )] diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualSystemSettingData.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualSystemSettingData.mof index 16cbe4b1e..89e2b440e 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualSystemSettingData.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualSystemSettingData.mof @@ -32,7 +32,7 @@ class CIM_VirtualSystemSettingData : CIM_SettingData { "ports. \n" "On create requests VirtualSystemIdentifier may contain " "implementation specific rules (like simple patterns or " - "regular expresssion) that may be interpreted by the " + "regular expression) that may be interpreted by the " "implementation when assigning a VirtualSystemIdentifier." )] string VirtualSystemIdentifier; @@ -180,7 +180,7 @@ class CIM_VirtualSystemSettingData : CIM_SettingData { "Action to take for the virtual system when the software " "executed by the virtual system fails. Failures in this " "case means a failure that is detectable by the host " - "platform, such as a non-interuptable wait state " + "platform, such as a non-interruptible wait state " "condition." ), ValueMap { "2", "3", "4", ".." }, Values { "None", "Restart", "Revert to snapshot", @@ -188,7 +188,7 @@ class CIM_VirtualSystemSettingData : CIM_SettingData { uint16 AutomaticRecoveryAction; [Description ( - "Filepath of a file where recovery relateded information " + "Filepath of a file where recovery related information " "of the virtual system is stored.Format shall be URI " "based on RFC 2079." )] string RecoveryFile; diff --git a/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualSystemSnapshotServiceCapabilities.mof b/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualSystemSnapshotServiceCapabilities.mof index 4091e833f..6e12e37b3 100644 --- a/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualSystemSnapshotServiceCapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/Core/CIM_VirtualSystemSnapshotServiceCapabilities.mof @@ -27,7 +27,7 @@ class CIM_VirtualSystemSnapshotServiceCapabilities : CIM_Capabilities { Values { "CreateSnapshotSupported", "DestroySnapshotSupported", "ApplySnapshotSupported", "DMTF Reserved" }] - uint16 AynchronousMethodsSupported[]; + uint16 AsynchronousMethodsSupported[]; [Description ( "Supported snapshot types:\n" diff --git a/Unix/share/omischema/CIM-2.32.0/Database/CIM_CommonDatabase.mof b/Unix/share/omischema/CIM-2.32.0/Database/CIM_CommonDatabase.mof index 59dcd62ce..247454c2c 100644 --- a/Unix/share/omischema/CIM-2.32.0/Database/CIM_CommonDatabase.mof +++ b/Unix/share/omischema/CIM-2.32.0/Database/CIM_CommonDatabase.mof @@ -72,7 +72,7 @@ class CIM_CommonDatabase : CIM_EnabledLogicalElement { "Bytes, 2 - Kilobytes, 3 - Megabytes, 4 - Gigabytes and 5 " "- Terabytes." ), ValueMap { "1", "2", "3", "4", "5" }, - Values { "Bytes", "Kilobyes", "Megabytes", "Gigabytes", + Values { "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes" }, MappingStrings { "MIB.IETF|RDBMS-MIB.rdbmsDbInfoSizeUnits" }] uint16 SizeUnits; diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_BlockStatisticsCapabilities.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_BlockStatisticsCapabilities.mof index ca9e7ba36..0de40c874 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_BlockStatisticsCapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_BlockStatisticsCapabilities.mof @@ -37,7 +37,7 @@ class CIM_BlockStatisticsCapabilities : CIM_StatisticsCapabilities { [Override ( "AsynchronousMethodsSupported" ), Description ( - "The asychronous mechanisms supported for retrieving statistics." + "The asynchronous mechanisms supported for retrieving statistics." ), ValueMap { "2", "3", "..", "0x8000.." }, Values { "GetStatisticsCollection", "Indications", @@ -48,7 +48,7 @@ class CIM_BlockStatisticsCapabilities : CIM_StatisticsCapabilities { "An internal clocking interval for all timers in the " "subsystem, measured in microseconds (Unit of measure in " "the timers, measured in microseconds). Time counters are " - "monotanically increasing counters that contain \'ticks\'. " + "monotonically increasing counters that contain \'ticks\'. " "Each tick represents one ClockTickInterval. If " "ClockTickInterval contained a value of 32 then each time " "counter tick would represent 32 microseconds." ), diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_BlockStatisticsManifest.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_BlockStatisticsManifest.mof index f4f46f3f8..656e4de57 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_BlockStatisticsManifest.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_BlockStatisticsManifest.mof @@ -52,7 +52,7 @@ class CIM_BlockStatisticsManifest : CIM_ManagedElement { "same set of statistical metrics is calculated for " "several types of devices. In this way, a single " "BlockStatisticsManifest instance can be used to filter " - "all the StatsiticalData instances that contain metrics " + "all the StatisticalData instances that contain metrics " "for the same type of element in a StatisticsCollection. " "If used, a subclass should override this property to " "specify the element types supported by that class, " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_BlockStorageStatisticalData.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_BlockStorageStatisticalData.mof index 48ec99987..d60910e2d 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_BlockStorageStatisticalData.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_BlockStorageStatisticalData.mof @@ -160,7 +160,7 @@ class CIM_BlockStorageStatisticalData : CIM_StatisticalData { uint64 MaintOp; [Description ( - "The cumulative elapsed disk mainenance time. " + "The cumulative elapsed disk maintenance time. " "Maintainance response time is added to this counter at " "the completion of each measured maintenance operation " "using ClockTickInterval units." ), diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_CDROMDrive.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_CDROMDrive.mof index 379b3cdb3..85a53f3b5 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_CDROMDrive.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_CDROMDrive.mof @@ -7,7 +7,7 @@ [Version ( "2.6.0" ), UMLPackagePath ( "CIM::Device::StorageDevices" ), Description ( - "Capabilities and managment of a CDROMDrive, a subtype of " + "Capabilities and management of a CDROMDrive, a subtype of " "MediaAccessDevice." )] class CIM_CDROMDrive : CIM_MediaAccessDevice { diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_ControllerConfigurationService.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_ControllerConfigurationService.mof index 4511bd66d..374e055aa 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_ControllerConfigurationService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_ControllerConfigurationService.mof @@ -438,7 +438,7 @@ class CIM_ControllerConfigurationService : CIM_Service { "\n" "The disposition of the SPC when the last logical unit, " "initiator ID, or target port ID is removed depends upon " - "the CIM_ProtocolControllerMaskingCapabilites " + "the CIM_ProtocolControllerMaskingCapabilities " "SPCAllowsNo* properties. If SPCAllowsNoLUs is false, " "then the SPC is automatically deleted when the last " "logical unit is removed. If SPCAllowsNoTargets is false, " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_DiskDrive.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_DiskDrive.mof index 54c8deffb..678781e51 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_DiskDrive.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_DiskDrive.mof @@ -7,7 +7,7 @@ [Version ( "2.6.0" ), UMLPackagePath ( "CIM::Device::StorageDevices" ), Description ( - "Capabilities and managment of a DiskDrive, a subtype of " + "Capabilities and management of a DiskDrive, a subtype of " "MediaAccessDevice." )] class CIM_DiskDrive : CIM_MediaAccessDevice { diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_DisketteDrive.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_DisketteDrive.mof index cb6ab8792..5117439e7 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_DisketteDrive.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_DisketteDrive.mof @@ -7,7 +7,7 @@ [Version ( "2.6.0" ), UMLPackagePath ( "CIM::Device::StorageDevices" ), Description ( - "Capabilities and managment of a DisketteDrive, a subtype of " + "Capabilities and management of a DisketteDrive, a subtype of " "MediaAccessDevice." )] class CIM_DisketteDrive : CIM_MediaAccessDevice { diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_FCSwitchCapabilities.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_FCSwitchCapabilities.mof index c924580e0..3f9e04b33 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_FCSwitchCapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_FCSwitchCapabilities.mof @@ -11,7 +11,7 @@ class CIM_FCSwitchCapabilities : CIM_EnabledLogicalElementCapabilities { MappingStrings { "FC-SWAPI.INCITS-T11|SWAPI_UNIT_CONFIG_CAPS_T|EditDomainID" }, ModelCorrespondence { "CIM_FCSwitchSettings.PreferredDomainID" }] - boolean DomainIDConfigureable; + boolean DomainIDConfigurable; [Description ( "Minimum DomainID value supported by the switch." ), diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_MagnetoOpticalDrive.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_MagnetoOpticalDrive.mof index 54c6f24a2..53b16bf58 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_MagnetoOpticalDrive.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_MagnetoOpticalDrive.mof @@ -7,7 +7,7 @@ [Version ( "2.6.0" ), UMLPackagePath ( "CIM::Device::StorageDevices" ), Description ( - "Capabilities and managment of a MagnetoOpticalDrive, a subtype " + "Capabilities and management of a MagnetoOpticalDrive, a subtype " "of MediaAccessDevice." )] class CIM_MagnetoOpticalDrive : CIM_MediaAccessDevice { diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_MediaPartition.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_MediaPartition.mof index 16af033e5..23b66472a 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_MediaPartition.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_MediaPartition.mof @@ -11,7 +11,7 @@ "logical blocks and has identifying data written on/to it. It " "may include a signature written by the OS or by an " "application. This class is a common superclass for Disk and " - "TapePartions. Partitions are directly realized by Physical " + "TapePartitions. Partitions are directly realized by Physical " "Media (indicated by the RealizesExtent association) or built " "on StorageVolumes (indicated by the BasedOn association)." )] class CIM_MediaPartition : CIM_StorageExtent { diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_Memory.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_Memory.mof index 8500f6692..9555b56c4 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_Memory.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_Memory.mof @@ -119,7 +119,7 @@ class CIM_Memory : CIM_StorageExtent { [Deprecated { "CIM_MemoryError.ErrorData" }, Description ( - "Data captured during the last erroneous mebmory access. " + "Data captured during the last erroneous memory access. " "The data occupies the first n octets of the array " "necessary to hold the number of bits specified by the " "ErrorTransferSize property. If ErrorTransferSize is 0, " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_MemoryError.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_MemoryError.mof index c20006dbc..f3daa33f2 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_MemoryError.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_MemoryError.mof @@ -85,7 +85,7 @@ class CIM_MemoryError : CIM_StorageError { uint32 ErrorTransferSize; [Description ( - "Data captured during the last erroneous mebmory access. " + "Data captured during the last erroneous memory access. " "The data occupies the first n octets of the array " "necessary to hold the number of bits specified by the " "ErrorTransferSize property. If ErrorTransferSize is 0, " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_NetworkAdapter.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_NetworkAdapter.mof index 65433aafa..eb93369db 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_NetworkAdapter.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_NetworkAdapter.mof @@ -12,7 +12,7 @@ Abstract, Version ( "2.10.0" ), UMLPackagePath ( "CIM::Device::NetworkAdapter" ), Description ( - "Note: The use of the CIM_NetworkAdpater class has been " + "Note: The use of the CIM_NetworkAdapter class has been " "deprecated in lieu of CIM_NetworkPort. CIM_NetworkPort better " "reflects that the hardware of a single port is described and " "managed. \n" diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_NonVolatileStorage.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_NonVolatileStorage.mof index 7efc41c2d..82276d9c1 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_NonVolatileStorage.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_NonVolatileStorage.mof @@ -30,7 +30,7 @@ class CIM_NonVolatileStorage : CIM_Memory { Description ( "When at least some portion of the NonVolatileStorage is " "writeable (ApplicationWriteable property = TRUE), " - "StartAddress forApplcationWrite indicates the starting " + "StartAddress forApplicationWrite indicates the starting " "address for application data. If the " "ApplicationWriteable property is FALSE, this property is " "undefined." ), diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PCIBridge.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PCIBridge.mof index c804d3f8d..164514660 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PCIBridge.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PCIBridge.mof @@ -36,7 +36,7 @@ class CIM_PCIBridge : CIM_PCIDevice { [Description ( "The number of the PCI bus segment to which the secondary " "interface of the bridge is connected." )] - uint8 SecondayBusNumber; + uint8 SecondaryBusNumber; [Description ( "The number of the PCI bus segment to which the primary " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PickerStatInfo.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PickerStatInfo.mof index 05fc8e1c4..d466b7ca0 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PickerStatInfo.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PickerStatInfo.mof @@ -45,7 +45,7 @@ class CIM_PickerStatInfo : CIM_DeviceStatisticalInformation { "returns 0 if successful, 1 if not supported, and any " "other value if an error occurred. A method is specified " "so that the Device\'s instrumentation can also reset its " - "internal pocessing and counters. \n" + "internal processing and counters. \n" "In a subclass, the set of possible return codes should " "be specified in a ValueMap qualifier on the method. The " "strings to which the ValueMap contents are \'translated\' " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintInputTray.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintInputTray.mof index 1347178cb..e714b72db 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintInputTray.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintInputTray.mof @@ -164,7 +164,7 @@ class CIM_PrintInputTray : CIM_PrinterElement { "detailed availability information for this " "PrintInputTray is unknown. 3 (AvailableIdle) means this " "PrintInputTray is available and idle, i.e., not " - "currently in use. 4 (AvailableStandy) means this " + "currently in use. 4 (AvailableStandby) means this " "PrintInputTray is available but on standby, e.g., in a " "power saving mode. 5 (AvailableActive) means this " "PrintInputTray is available and active, i.e., currently " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintInterpreter.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintInterpreter.mof index 9394241c8..7045095cf 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintInterpreter.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintInterpreter.mof @@ -161,7 +161,7 @@ class CIM_PrintInterpreter : CIM_PrinterElement { "detailed availability information for this " "PrintInterpreter is unknown. 3 (AvailableIdle) means " "this PrintInterpreter is available and idle, i.e., not " - "currently in use. 4 (AvailableStandy) means this " + "currently in use. 4 (AvailableStandby) means this " "PrintInterpreter is available but on standby, e.g., in a " "power saving mode. 5 (AvailableActive) means this " "PrintInterpreter is available and active, i.e., " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintJob.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintJob.mof index bb2b6ffe1..ca5224d11 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintJob.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintJob.mof @@ -93,7 +93,7 @@ class CIM_PrintJob : CIM_Job { "known mapping). \n" "Deprecated description: \n" "Specifies the print language that is used by this Job. \n" - "Note: For legacy compatiblity reasons, this property is " + "Note: For legacy compatibility reasons, this property is " "NOT exactly aligned (in order of values) with the " "authoritative PrtInterpreterLangFamilyTC in the IANA " "Printer MIB, unlike the newer property " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintMarker.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintMarker.mof index a5cde00a8..4cc9794ec 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintMarker.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintMarker.mof @@ -138,7 +138,7 @@ class CIM_PrintMarker : CIM_PrinterElement { "detailed availability information for this PrintMarker " "is unknown. 3 (AvailableIdle) means this PrintMarker is " "available and idle, i.e., not currently in use. 4 " - "(AvailableStandy) means this PrintMarker is available " + "(AvailableStandby) means this PrintMarker is available " "but on standby, e.g., in a power saving mode. 5 " "(AvailableActive) means this PrintMarker is available " "and active, i.e., currently in use. 6 (AvailableBusy) " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintService.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintService.mof index 6d31597ee..fb3ad8742 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_PrintService.mof @@ -57,7 +57,7 @@ class CIM_PrintService : CIM_Service { "underlying Printer through the use of filters. An " "administrator can also choose to prevent some languages " "from being exported by the PrintService. \n" - "Note: For legacy compatiblity reasons, this property is " + "Note: For legacy compatibility reasons, this property is " "NOT exactly aligned (in order of values) with the " "authoritative PrtInterpreterLangFamilyTC in the IANA " "Printer MIB, unlike the newer property " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_Printer.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_Printer.mof index c6b011a50..99f245aa9 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_Printer.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_Printer.mof @@ -251,7 +251,7 @@ class CIM_Printer : CIM_LogicalDevice { "Deprecated description: \n" "An array that indicates the print languages that are " "natively supported \n" - "Note: For legacy compatiblity reasons, this property is " + "Note: For legacy compatibility reasons, this property is " "NOT exactly aligned (in order of values) with the " "authoritative PrtInterpreterLangFamilyTC in the IANA " "Printer MIB, unlike the newer property " @@ -326,7 +326,7 @@ class CIM_Printer : CIM_LogicalDevice { "Indicates the current printer language being used. A " "language that is being used by the Printer should also " "be listed in LanguagesSupported. \n" - "Note: For legacy compatiblity reasons, this property is " + "Note: For legacy compatibility reasons, this property is " "NOT exactly aligned (in order of values) with the " "authoritative PrtInterpreterLangFamilyTC in the IANA " "Printer MIB, unlike the newer property " @@ -399,7 +399,7 @@ class CIM_Printer : CIM_LogicalDevice { "Indicates the default printer language. A language that " "is used as a default by the Printer should also be " "listed in LanguagesSupported. \n" - "Note: For legacy compatiblity reasons, this property is " + "Note: For legacy compatibility reasons, this property is " "NOT exactly aligned (in order of values) with the " "authoritative PrtInterpreterLangFamilyTC in the IANA " "Printer MIB, unlike the newer property " @@ -655,7 +655,7 @@ class CIM_Printer : CIM_LogicalDevice { "(\"Charset parameter\") in RFC 2046 (MIME Part 2) and " "contained in the IANA character-set registry. Examples " "include \"utf-8\", \"us-ascii\" and \"iso-8859-1\". \n" - "Note: For compatiblity with the IETF Printer MIB (RFC " + "Note: For compatibility with the IETF Printer MIB (RFC " "3805) and IETF IPP/1.1 (RFC 2911), values in this array " "property shall be parallel to values in " "NaturalLanguagesSupported." ), @@ -678,7 +678,7 @@ class CIM_Printer : CIM_LogicalDevice { "Part 2) and contained in the IANA character-set " "registry. Examples include \"utf-8\", \"us-ascii\" and " "\"iso-8859-1\". \n" - "Note: For compatiblity with the IETF Printer MIB (RFC " + "Note: For compatibility with the IETF Printer MIB (RFC " "3805) and IETF IPP/1.1 (RFC 2911), values in this array " "property shall be parallel to values in " "CharSetsSupported." ), diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_Processor.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_Processor.mof index f6a3d6362..e8f39a190 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_Processor.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_Processor.mof @@ -194,7 +194,7 @@ class CIM_Processor : CIM_LogicalDevice { // 200 "S/390 and zSeries Family", "ESA/390 G4", "ESA/390 G5", "ESA/390 G6", - "z/Architectur base", + "z/Architecture base", // 205 "Intel(R) Core(TM) i5 processor", "Intel(R) Core(TM) i3 processor", @@ -346,7 +346,7 @@ class CIM_Processor : CIM_LogicalDevice { "to a feature of the processor, than the feature either " "is not that some of the features of the processor may " "exist but may not be enabled. To find the the currently " - "enabled features the processor, reffer to the " + "enabled features the processor, refer to the " "EnabledProcessorCharacteristics property. Values " "specified in the enumeration may be obtained from SMBIOS " "v2.5 Type 4 offset 26h (Processor Characteristics Word). " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_ProtocolControllerMaskingCapabilities.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_ProtocolControllerMaskingCapabilities.mof index 0787e5559..446c35a36 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_ProtocolControllerMaskingCapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_ProtocolControllerMaskingCapabilities.mof @@ -8,7 +8,7 @@ class CIM_ProtocolControllerMaskingCapabilities : CIM_Capabilities { [Description ( "A list of the valid values for " - "StrorageHardwareID.IDType. iSCSI IDs MAY use one of " + "StorageHardwareID.IDType. iSCSI IDs MAY use one of " "three iSCSI formats - iqn, eui, or naa. This three " "letter format is the name prefix; so a single iSCSI type " "is provided here, the prefix can be used to further " @@ -69,7 +69,7 @@ class CIM_ProtocolControllerMaskingCapabilities : CIM_Capabilities { boolean OneHardwareIDPerView = false; [Description ( - "When set to false, different ProtocolContollers attached " + "When set to false, different ProtocolControllers attached " "to a LogicalPort can expose the same unit numbers. If " "true, then this storage system requires unique unit " "numbers across all the ProtocolControllers connected to " @@ -92,7 +92,7 @@ class CIM_ProtocolControllerMaskingCapabilities : CIM_Capabilities { [Description ( "If true, this property indicates that the Identity " - "parameter of CreateProtocolConntrollerWithPorts() MUST " + "parameter of CreateProtocolControllerWithPorts() MUST " "contain a reference to a CIM_Collection (or subclass) or " "to a CIM_Identity (or subclass). If ExposePathsSupported " "is true, this property indicates the storage system " @@ -118,21 +118,21 @@ class CIM_ProtocolControllerMaskingCapabilities : CIM_Capabilities { uint16 MaximumMapCount = 0; [Description ( - "Set to true if the instumentation allows a client to " + "Set to true if the instrumentation allows a client to " "create a configuration where an SPC has no " "LogicalDevices associated via " "CIM_ProtocolControllerForUnit associations." )] boolean SPCAllowsNoLUs = false; [Description ( - "Set to true if the instumentation allows a client to " + "Set to true if the instrumentation allows a client to " "create a configuration where an SPC has no target " "SCSIProtocolEndpoints associated via " "CIM_SAPAvailableForELement associations." )] boolean SPCAllowsNoTargets = false; [Description ( - "Set to true if the instumentation allows a client to " + "Set to true if the instrumentation allows a client to " "create a configuration where an SPC has no " "StorageHardwareIDs associated via " "CIM_AuthorizedTarget/CIM_AuthorizedPrivilege/CIM_AuthorizedSubject." diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIInitiatorTargetLogicalUnitPath.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIInitiatorTargetLogicalUnitPath.mof index 823e280db..8a0b4c55f 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIInitiatorTargetLogicalUnitPath.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIInitiatorTargetLogicalUnitPath.mof @@ -83,7 +83,7 @@ class CIM_SCSIInitiatorTargetLogicalUnitPath { "load balancing. The steady-state value is \'No override " "in effect\'. When an administrator sets an override for " "a particular path, that path\'s AdministrativeOverride " - "is set to \'Overridding\' and all other paths to same " + "is set to \'Overriding\' and all other paths to same " "logical unit are assigned a value of \'Overridden\'. " "This property is changed using the OverridePath method " "in SCSIPathConfigurationService." ), diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIMultipathConfigurationCapabilities.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIMultipathConfigurationCapabilities.mof index 0c3417456..15513d0a1 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIMultipathConfigurationCapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIMultipathConfigurationCapabilities.mof @@ -16,8 +16,8 @@ "\n" "An instance of this capabilities class MUST be instantiated " "whenever SCSIPathConfigurationService is instantiated and they " - "MUST be assocaited one to one using ElementCapabilities. " - "Multiple instances of the service/acapabilities pair MAY exist " + "MUST be associated one to one using ElementCapabilities. " + "Multiple instances of the service/capabilities pair MAY exist " "if multiple multipath drivers are installed. Each " "LogicalDevice subclass served by the underlying multipath " "driver is associated to the associated Service instance via " @@ -151,34 +151,34 @@ class CIM_SCSIMultipathConfigurationCapabilities : CIM_Capabilities { [Description ( "Specifies whether the implementation supports " - "auto-failback (to re-enable paths that revert to a good " + "auto-fallback (to re-enable paths that revert to a good " "state) at the plugin level, the multipath logical unit " - "level, both levels or whether auto-failback is " + "level, both levels or whether auto-fallback is " "unsupported." ), ValueMap { "0", "2", "3", "4", "5" }, - Values { "Unknown", "No Autofailback support", - "Autofailback support service-wide", - "Autofailback support per logical unit", - "Autofailback support per service or logical unit" }, + Values { "Unknown", "No Autofallback support", + "Autofallback support service-wide", + "Autofallback support per logical unit", + "Autofallback support per service or logical unit" }, MappingStrings { - "MP_API.SNIA|MP_PLUGIN_PROPERTIES|autofailbackSupport" }, + "MP_API.SNIA|MP_PLUGIN_PROPERTIES|autofallbackSupport" }, ModelCorrespondence { - "CIM_SCSIMultipathConfigurationCapabilities.AutofailbackEnabled", - "CIM_SCSIMultipathSettings.AutofailbackEnabled" }] - uint16 AutofailbackSupport; + "CIM_SCSIMultipathConfigurationCapabilities.AutofallbackEnabled", + "CIM_SCSIMultipathSettings.AutofallbackEnabled" }] + uint16 AutofallbackSupport; [Description ( - "A Boolean indicating that autofailback is enabled to all " + "A Boolean indicating that autofallback is enabled to all " "logical units associated to the " "CIM_SCSIPathConfigurationService associated with this " "capabilities instance (unless overridden by " - "CIM_SCSIMultipathSettings AutoFailbackEnabled." ), + "CIM_SCSIMultipathSettings AutoFallbackEnabled." ), MappingStrings { - "MP_API.SNIA|MP_PLUGIN_PROPERTIES|autoFailbackEnabled" }, + "MP_API.SNIA|MP_PLUGIN_PROPERTIES|autoFallbackEnabled" }, ModelCorrespondence { - "CIM_SCSIMultipathConfigurationCapabilities.AutofailbackSupport", - "CIM_SCSIMultipathSettings.AutofailbackEnabled" }] - boolean AutoFailbackEnabled; + "CIM_SCSIMultipathConfigurationCapabilities.AutofallbackSupport", + "CIM_SCSIMultipathSettings.AutofallbackEnabled" }] + boolean AutoFallbackEnabled; [Description ( "The maximum polling rate (in seconds) supported by the " @@ -191,7 +191,7 @@ class CIM_SCSIMultipathConfigurationCapabilities : CIM_Capabilities { [Write, Description ( "The current rate in seconds. Only valid when " - "pollingRateMax is greater than 0 and canAutoFailback are " + "pollingRateMax is greater than 0 and canAutoFallback are " "true." ), MappingStrings { "MP_API.SNIA|MP_PLUGIN_PROPERTIES|currentPollingRate" }] diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIMultipathSettings.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIMultipathSettings.mof index 88a444218..8a7094c02 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIMultipathSettings.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIMultipathSettings.mof @@ -48,7 +48,7 @@ class CIM_SCSIMultipathSettings : CIM_SettingData { string OtherCurrentLoadBalanceType; [Write, Description ( - "The auto-failback setting for the associated logical " + "The auto-fallback setting for the associated logical " "units. Either enabled, disabled, or all associated " "logical units follow the service-wide setting from the " "capabilities class associated with the appropriate " @@ -58,16 +58,16 @@ class CIM_SCSIMultipathSettings : CIM_SettingData { "Disabled for the associated logical units", "The associated logical units use the service-wide setting" }, MappingStrings { - "MP_API.SNIA|MP_MULTIPATH_LOGICAL_UNIT_PROPERTIES|autoFailbackEnabled" }, + "MP_API.SNIA|MP_MULTIPATH_LOGICAL_UNIT_PROPERTIES|autoFallbackEnabled" }, ModelCorrespondence { - "CIM_SCSIMultipathConfigurationCapabilities.AutoFailbackEnabled" }] - uint16 AutoFailbackEnabled = 4; + "CIM_SCSIMultipathConfigurationCapabilities.AutoFallbackEnabled" }] + uint16 AutoFallbackEnabled = 4; [Write, Description ( "The maximum polling rate (in seconds) supported by the " "driver if different from the service-wide max from the " "capabilities instance. Zero (0) indicates the driver " - "either does not poll for autofailback or has not " + "either does not poll for autofallback or has not " "provided an interface to set the polling rate for " "multipath logical units. If this property and the " "service PollingRateMax are non-zero, this value has " @@ -83,7 +83,7 @@ class CIM_SCSIMultipathSettings : CIM_SettingData { uint32 PollingRateMax; [Write, Description ( - "The current polling rate (in seconds) for auto-failback. " + "The current polling rate (in seconds) for auto-fallback. " "This cannot exceed PollingRateMax. If this property and " "the service-wide Capabilities instance " "CurrentPollingRate are non-zero, this value has " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIPathConfigurationService.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIPathConfigurationService.mof index 02381416f..1ae54b23e 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIPathConfigurationService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSIPathConfigurationService.mof @@ -10,7 +10,7 @@ class CIM_SCSIPathConfigurationService : CIM_Service { [Description ( "This method requests that the target change the access " "states of the requested SCSITargetPortGroups. This will " - "have the effect of doing a failover or failback " + "have the effect of doing a failover or fallback " "operation." ), ValueMap { "0", "1", "2", "3", "4", "5", "..", "4096", "4097", "4098", "4099", "..", "32768..65535" }, diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSITargetPortGroup.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSITargetPortGroup.mof index 41380ae15..2b86e8ebe 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSITargetPortGroup.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_SCSITargetPortGroup.mof @@ -50,7 +50,7 @@ class CIM_SCSITargetPortGroup : CIM_SystemSpecificCollection { string OtherCurrentLoadBalanceType; [Write, Description ( - "The auto-failback setting for the associated logical " + "The auto-fallback setting for the associated logical " "units. Either enabled, disabled, or all associated " "logical units follow the service-wide setting from the " "capabilities class associated with the appropriate " @@ -60,16 +60,16 @@ class CIM_SCSITargetPortGroup : CIM_SystemSpecificCollection { "Disabled for the associated logical units", "The associated logical units use the service-wide setting" }, MappingStrings { - "MP_API.SNIA|MP_MULTIPATH_LOGICAL_UNIT_PROPERTIES|autoFailbackEnabled" }, + "MP_API.SNIA|MP_MULTIPATH_LOGICAL_UNIT_PROPERTIES|autoFallbackEnabled" }, ModelCorrespondence { - "CIM_SCSIMultipathConfigurationCapabilities.AutoFailbackEnabled" }] - uint16 AutoFailbackEnabled = 4; + "CIM_SCSIMultipathConfigurationCapabilities.AutoFallbackEnabled" }] + uint16 AutoFallbackEnabled = 4; [Write, Description ( "The maximum polling rate (in seconds) supported by the " "driver if different from the service-wide max from the " "capabilities instance. Zero (0) indicates the driver " - "either does not poll for autofailback or has not " + "either does not poll for autofallback or has not " "provided an interface to set the polling rate for " "multipath logical units. If this property and the " "service PollingRateMax are non-zero, this value has " @@ -85,7 +85,7 @@ class CIM_SCSITargetPortGroup : CIM_SystemSpecificCollection { uint32 PollingRateMax; [Write, Description ( - "The current polling rate (in seconds) for auto-failback. " + "The current polling rate (in seconds) for auto-fallback. " "This cannot exceed PollingRateMax. If this property and " "the service-wide Capabilities instance " "CurrentPollingRate are non-zero, this value has " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_Snapshot.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_Snapshot.mof index 09c8f4f65..2212c7565 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_Snapshot.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_Snapshot.mof @@ -3,7 +3,7 @@ Version ( "2.7.0" ), UMLPackagePath ( "CIM::Device::SccExtents" ), Description ( - "Deprecated. Snapshots are now modeled in a more abstrct way " + "Deprecated. Snapshots are now modeled in a more abstract way " "using StorageExtent and StorageSynchronized. \n" "The Snapshot class is an optional construct. It can be used to " "represent an Extent that contains a full copy of another " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_StatisticsCapabilities.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_StatisticsCapabilities.mof index 368b7f216..5cae26ed9 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_StatisticsCapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_StatisticsCapabilities.mof @@ -24,7 +24,7 @@ class CIM_StatisticsCapabilities : CIM_Capabilities { uint16 SynchronousMethodsSupported[]; [Description ( - "The asychronous mechanisms supported for retrieving statistics." + "The asynchronous mechanisms supported for retrieving statistics." ), ValueMap { "..", "0x8000.." }, Values { "DMTF Reserved", "Vendor Specific" }] diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageCapabilities.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageCapabilities.mof index 4f824d77e..2d7392ae1 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageCapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageCapabilities.mof @@ -156,7 +156,7 @@ class CIM_StorageCapabilities : CIM_Capabilities { "by default in a replica for caching changes. For a " "complete copy this would be 100%, but it can be lower in " "some implementations. This parameter sets the default " - "value, while DeletaReservationMax and DeltReservationMin " + "value, while DeltaReservationMax and DeltaReservationMin " "set the upper and lower bounds." ), Units ( "Percentage" ), MinValue ( 0 ), @@ -293,7 +293,7 @@ class CIM_StorageCapabilities : CIM_Capabilities { "can be used to the supported parity layouts." ), ValueMap { "0", "1", "2" }, Values { "Method completed OK", "Method not supported", - "Choice not aavailable for this capability" }] + "Choice not available for this capability" }] uint32 GetSupportedParityLayouts( [IN ( false ), OUT, Description ( "List of supported Parity for a Volume/Pool " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageConfigurationService.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageConfigurationService.mof index e1def8684..0920e2920 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageConfigurationService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageConfigurationService.mof @@ -209,7 +209,7 @@ class CIM_StorageConfigurationService : CIM_Service { [Description ( "Start a job to create a new storage object which is a " "replica of the specified source storage object. " - "(SourceElement). Note that using the input paramter, " + "(SourceElement). Note that using the input parameter, " "CopyType, this function can be used to instantiate the " "replica, and to create an ongoing association between " "the source and replica. If 0 is returned, the function " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageReplicationCapabilities.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageReplicationCapabilities.mof index 8fa5da40e..db4a9beb4 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageReplicationCapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageReplicationCapabilities.mof @@ -108,7 +108,7 @@ class CIM_StorageReplicationCapabilities : CIM_Capabilities { [Description ( "Indicates host access restrictions for replicas with " - "thesecapabilities. Values: 2 = not accessible. \n" + "these capabilities. Values: 2 = not accessible. \n" "3 = no restrictions. Any host may access. 4 = only " "accessible by associated source element hosts. 5 = not " "accessible by source element hosts. Other hosts OK." ), diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageSetting.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageSetting.mof index 9c6d0d935..35bd30a44 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageSetting.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageSetting.mof @@ -201,7 +201,7 @@ class CIM_StorageSetting : CIM_SettingData { "- Transient\" is the type of setting produced by the " "\"CreateSetting\" method. A client can subsequently " "request that the implementation persist the generated " - "and potentially modified setting indefinately. Only a " + "and potentially modified setting indefinitely. Only a " "\"Changeable - Transient\" setting SHALL be converted to " "a \"Changeable = Persistent\" setting; the setting SHALL " "NOT be changed back." ), @@ -220,7 +220,7 @@ class CIM_StorageSetting : CIM_SettingData { "for Stripe Length are defined using the properties " "ExtentStripeLengthMax and ExtentStripeLengthMin. " "ExtentStripeLength MUST be set to NULL if the scoping " - "StorageCapablities indicates that it is not supported in " + "StorageCapabilities indicates that it is not supported in " "this context. ExtentStripeLength can be used in " "conjunction with CreateOrModifyElementFromELements to " "explicitly configure storage. An example would be RAID " @@ -255,7 +255,7 @@ class CIM_StorageSetting : CIM_SettingData { "The desired Stripe Length is specified using " "ExtentStripeLength, while the maximum is defined by " "ExtentStripeLengthMax. ExtentStripeLengthMin MUST be set " - "to NULL if the scoping StorageCapablities indicates that " + "to NULL if the scoping StorageCapabilities indicates that " "it is not supported in this context. If the property is " "supported, and is part of StorageSettingWithHints it MAY " "be set to NULL. If used it will constrain the effects of " @@ -278,7 +278,7 @@ class CIM_StorageSetting : CIM_SettingData { "The desired Stripe Length is specified using " "ExtentStripeLength, while the minimum is defined by " "ExtentStripeLengthMin. ExtentStripeLengthMax MUST be set " - "to NULL if the scoping StorageCapablities indicates that " + "to NULL if the scoping StorageCapabilities indicates that " "it is not supported in this context. If the property is " "supported, and is part of StorageSettingWithHints it MAY " "be set to NULL. If used it will constrain the effects of " @@ -296,7 +296,7 @@ class CIM_StorageSetting : CIM_SettingData { "organization is using rotated or non-rotated parity. " "When used in a goal setting instance, ParityLayout is " "the desired value. It MUST be set to NULL if the scoping " - "StorageCapablities indicates that it is not supported in " + "StorageCapabilities indicates that it is not supported in " "this context. If the property is supported, and is part " "of StorageSettingWithHints it MAY be set to NULL. If " "used it will constrain the effects of Hint selections. " @@ -318,7 +318,7 @@ class CIM_StorageSetting : CIM_SettingData { "desired value. The bounds (max and min) for Stripe Depth " "are defined using the properties UserDataStripeDepthMax " "and UserDataStripeDepthMin. UserDataStripeDepth MUST be " - "set to NULL if the scoping StorageCapablities indicates " + "set to NULL if the scoping StorageCapabilities indicates " "that it is not supported in this context. If the " "property is supported, and is part of " "StorageSettingWithHints it MAY be set to NULL. If used " @@ -346,7 +346,7 @@ class CIM_StorageSetting : CIM_SettingData { "acceptable value. The desired Stripe Depth is specified " "using UserDataStripeDepth, while the maximum is defined " "by UserDataStripeDepthMax. UserDataStripeDepthMin MUST " - "be set to NULL if the scoping StorageCapablities " + "be set to NULL if the scoping StorageCapabilities " "indicates that it is not supported in this context. If " "the property is supported, and is part of " "StorageSettingWithHints it MAY be set to NULL. If used " @@ -373,7 +373,7 @@ class CIM_StorageSetting : CIM_SettingData { "using UserDataStripeDepthGoal, while the minimum is " "defined by UserDataStripeDepthMin. " "UserDataStripeDepthMax MUST be set to NULL if the " - "scoping StorageCapablities indicates that it is not " + "scoping StorageCapabilities indicates that it is not " "supported in this context. If the property is supported, " "and is part of StorageSettingwWithHints it MAY be set to " "NULL. If used it will constrain the effects of Hint " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageSynchronized.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageSynchronized.mof index 593f3a520..0b99996a2 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageSynchronized.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_StorageSynchronized.mof @@ -88,7 +88,7 @@ class CIM_StorageSynchronized : CIM_Synchronized { Values { "Initialized", "PrepareInProgress", "Prepared", "ResyncInProgress", "Synchronized", "Fracture In Progress", "QuiesceInProgress", "Quiesced", - "Restore In Progresss", "Idle", "Broken", "Fractured", + "Restore In Progress", "Idle", "Broken", "Fractured", "DMTF Reserved", "Vendor Specific" }] uint16 SyncState; diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_SuppliesPower.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_SuppliesPower.mof index 3ed46babf..60fda3032 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_SuppliesPower.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_SuppliesPower.mof @@ -3,7 +3,7 @@ UMLPackagePath ( "CIM::Device::CoolingAndPower" ), Description ( "The SuppliesPower relationship indicates that a " - "ManagedSystemElementis in the power domain of the referenced " + "ManagedSystemElement is in the power domain of the referenced " "PowerSource. It indicates which ManagedSystemElements are " "dependent on the PowerSource, and therefore, which " "ManagedSystemElements are affected if the PowerSource is lost." )] diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_TapeDrive.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_TapeDrive.mof index d8ac76eb1..bb64c7437 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_TapeDrive.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_TapeDrive.mof @@ -9,7 +9,7 @@ [Version ( "2.6.0" ), UMLPackagePath ( "CIM::Device::StorageDevices" ), Description ( - "Capabilities and managment of a TapeDrive, a subtype of " + "Capabilities and management of a TapeDrive, a subtype of " "MediaAccessDevice." )] class CIM_TapeDrive : CIM_MediaAccessDevice { diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_USBDevice.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_USBDevice.mof index 7d5aff68b..798b612e2 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_USBDevice.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_USBDevice.mof @@ -1,7 +1,7 @@ // Copyright (c) 2009 DMTF. All rights reserved. [Version ( "2.22.0" ), UMLPackagePath ( "CIM::Device::USB" ), - Description ( "The management characterisitics of a USB Device." )] + Description ( "The management characteristics of a USB Device." )] class CIM_USBDevice : CIM_LogicalDevice { [Description ( @@ -66,7 +66,7 @@ class CIM_USBDevice : CIM_LogicalDevice { uint16 DeviceReleaseNumber; [Description ( - "From the USB specification Device Descriptior, " + "From the USB specification Device Descriptor, " "Manufacturer string." ), MappingStrings { "Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|iManufacturer" }] @@ -117,7 +117,7 @@ class CIM_USBDevice : CIM_LogicalDevice { "applications supporting USB Redirections. When the " "Redirection Service redirects a USBDevice command to a " "remote device, and the remote device does not respond " - "before CommandTimout times out, the Redirection Service " + "before CommandTimeout times out, the Redirection Service " "will emulate a media eject event and re-try the command " "and/or try to re-establish the connection to the remote " "device. The timeout is expressed using the interval " diff --git a/Unix/share/omischema/CIM-2.32.0/Device/CIM_WORMDrive.mof b/Unix/share/omischema/CIM-2.32.0/Device/CIM_WORMDrive.mof index d31abb042..53e8e6ab4 100644 --- a/Unix/share/omischema/CIM-2.32.0/Device/CIM_WORMDrive.mof +++ b/Unix/share/omischema/CIM-2.32.0/Device/CIM_WORMDrive.mof @@ -7,7 +7,7 @@ [Version ( "2.6.0" ), UMLPackagePath ( "CIM::Device::StorageDevices" ), Description ( - "Capabilities and managment of a WORMDrive, a subtype of " + "Capabilities and management of a WORMDrive, a subtype of " "MediaAccessDevice." )] class CIM_WORMDrive : CIM_MediaAccessDevice { diff --git a/Unix/share/omischema/CIM-2.32.0/Event/CIM_AbstractIndicationSubscription.mof b/Unix/share/omischema/CIM-2.32.0/Event/CIM_AbstractIndicationSubscription.mof index b901b0849..daf9eb2c1 100644 --- a/Unix/share/omischema/CIM-2.32.0/Event/CIM_AbstractIndicationSubscription.mof +++ b/Unix/share/omischema/CIM-2.32.0/Event/CIM_AbstractIndicationSubscription.mof @@ -144,7 +144,7 @@ class CIM_AbstractIndicationSubscription { "received. If the value of RepeatNotificationPolicy is 4 " "(\"Delay\") and an Indication is received, this " "Indication MUST be suppressed if, including this " - "Indication, RepeatNoticationCount or fewer Indications " + "Indication, RepeatNotificationCount or fewer Indications " "for this event have been received during the prior time " "interval defined by RepeatNotificationInterval. If this " "Indication is the RepeatNotificationCount + 1 " diff --git a/Unix/share/omischema/CIM-2.32.0/Event/CIM_FilterCollectionSubscription.mof b/Unix/share/omischema/CIM-2.32.0/Event/CIM_FilterCollectionSubscription.mof index d540c0cd8..553f5ca00 100644 --- a/Unix/share/omischema/CIM-2.32.0/Event/CIM_FilterCollectionSubscription.mof +++ b/Unix/share/omischema/CIM-2.32.0/Event/CIM_FilterCollectionSubscription.mof @@ -3,7 +3,7 @@ UMLPackagePath ( "CIM::Event" ), Description ( "CIM_FilterCollectionSubscription associates the " - "CIM_FilterCollection with a CIM_ListenerDestionation." )] + "CIM_FilterCollection with a CIM_ListenerDestination." )] class CIM_FilterCollectionSubscription : CIM_AbstractIndicationSubscription { [Override ( "Filter" ), diff --git a/Unix/share/omischema/CIM-2.32.0/Event/CIM_IndicationFilter.mof b/Unix/share/omischema/CIM-2.32.0/Event/CIM_IndicationFilter.mof index f3920c372..c2c7f415c 100644 --- a/Unix/share/omischema/CIM-2.32.0/Event/CIM_IndicationFilter.mof +++ b/Unix/share/omischema/CIM-2.32.0/Event/CIM_IndicationFilter.mof @@ -155,7 +155,7 @@ class CIM_IndicationFilter : CIM_ManagedElement { "with the WBEM URI formatted object path of a " "CIM_ManagedElement, as in the following example, which " "selects only indications against " - "namedCIM_StorageSynchonized instances. It then uses SELF " + "namedCIM_StorageSynchronized instances. It then uses SELF " "to select the executing IndicationFilter, and then uses " "the entries of the TemplateVariable array to select " "particular instances of CIM_StorageSynchronized.\n" diff --git a/Unix/share/omischema/CIM-2.32.0/Event/CIM_IndicationHandler.mof b/Unix/share/omischema/CIM-2.32.0/Event/CIM_IndicationHandler.mof index 0e8d4a079..385a2b264 100644 --- a/Unix/share/omischema/CIM-2.32.0/Event/CIM_IndicationHandler.mof +++ b/Unix/share/omischema/CIM-2.32.0/Event/CIM_IndicationHandler.mof @@ -4,7 +4,7 @@ UMLPackagePath ( "CIM::Event" ), Description ( "CIM_IndicationHandler is an abstract superclass describing how " - "an Indication is to be processd/delivered/\'handled\'. This " + "an Indication is to be processed/delivered/\'handled\'. This " "may define a destination and protocol for delivering " "Indications, or it may define a process to invoke. This class " "is derived from CIM_ManagedElement to allow modeling the " diff --git a/Unix/share/omischema/CIM-2.32.0/Event/CIM_IndicationServiceCapabilities.mof b/Unix/share/omischema/CIM-2.32.0/Event/CIM_IndicationServiceCapabilities.mof index 630f7d949..fe68f84ed 100644 --- a/Unix/share/omischema/CIM-2.32.0/Event/CIM_IndicationServiceCapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/Event/CIM_IndicationServiceCapabilities.mof @@ -51,7 +51,7 @@ class CIM_IndicationServiceCapabilities : CIM_Capabilities { [Description ( "MaxActiveSubscriptions specifies the maximum total " - "number of instances of CIM_IndicationSubcription and " + "number of instances of CIM_IndicationSubscription and " "CIM_FilterCollectionSubscription instances supported by " "the CIM_IndicationService." ), MinValue ( 1 )] diff --git a/Unix/share/omischema/CIM-2.32.0/Event/CIM_SNMPTrapIndication.mof b/Unix/share/omischema/CIM-2.32.0/Event/CIM_SNMPTrapIndication.mof index 20eafd690..539459408 100644 --- a/Unix/share/omischema/CIM-2.32.0/Event/CIM_SNMPTrapIndication.mof +++ b/Unix/share/omischema/CIM-2.32.0/Event/CIM_SNMPTrapIndication.mof @@ -5,7 +5,7 @@ "A concrete class for mapping an SNMP Trap to CIM based on the " "IETF RFC 1157. The usefulness of this class is to describe " "common trap semantics. But, a complete understanding of any " - "trap data received relies on the Indicaton recipient having " + "trap data received relies on the Indication recipient having " "access to the sender\'s MIB. Understanding can be improved by " "mapping the SNMP domain to CIM, and using CIM LifeCycle and " "standard subclasses of CIM_ProcessIndication." )] @@ -74,7 +74,7 @@ class CIM_SNMPTrapIndication : CIM_ProcessIndication { uint32 SpecificTrap; [Description ( - "Time elapsed between the last (re)intialization of the " + "Time elapsed between the last (re)initialization of the " "managed entity and the generation of the trap." ), MappingStrings { "PDU.IETF|RFC1157-TRAP-PDU.time-stamp" }] datetime TimeStamp; diff --git a/Unix/share/omischema/CIM-2.32.0/IPsecPolicy/CIM_PeerGatewayForTunnel.mof b/Unix/share/omischema/CIM-2.32.0/IPsecPolicy/CIM_PeerGatewayForTunnel.mof index 79dfadc97..23cfc4241 100644 --- a/Unix/share/omischema/CIM-2.32.0/IPsecPolicy/CIM_PeerGatewayForTunnel.mof +++ b/Unix/share/omischema/CIM-2.32.0/IPsecPolicy/CIM_PeerGatewayForTunnel.mof @@ -11,7 +11,7 @@ class CIM_PeerGatewayForTunnel : CIM_Dependency { [Override ( "Antecedent" ), Description ( - "The security gateway for the SA. Note that the absense " + "The security gateway for the SA. Note that the absence " "of this association indicates that: \n" "- When acting as a responder, IKE will accept phase 1 " "negotiations with any other security gateway \n" diff --git a/Unix/share/omischema/CIM-2.32.0/Interop/CIM_CIMOMStatisticalData.mof b/Unix/share/omischema/CIM-2.32.0/Interop/CIM_CIMOMStatisticalData.mof index 8a6a1a46e..98efcafdf 100644 --- a/Unix/share/omischema/CIM-2.32.0/Interop/CIM_CIMOMStatisticalData.mof +++ b/Unix/share/omischema/CIM-2.32.0/Interop/CIM_CIMOMStatisticalData.mof @@ -16,7 +16,7 @@ "the difference of two snapshots of a counter at the beginning " "and end of a measurement interval should get the correct " "result, even if there was a wrap-around in between obtaining " - "the two snapshots. (Two or more wrap arounds will result in " + "the two snapshots. (Two or more wraparounds will result in " "wrong data being calculated.) The gathering of the data can be " "controlled through the property, " "CIM_ObjectManager.GatherStatisticalData. The time interval to " diff --git a/Unix/share/omischema/CIM-2.32.0/Interop/CIM_ObjectManagerAdapter.mof b/Unix/share/omischema/CIM-2.32.0/Interop/CIM_ObjectManagerAdapter.mof index 946e1e19d..9fc602912 100644 --- a/Unix/share/omischema/CIM-2.32.0/Interop/CIM_ObjectManagerAdapter.mof +++ b/Unix/share/omischema/CIM-2.32.0/Interop/CIM_ObjectManagerAdapter.mof @@ -16,7 +16,7 @@ class CIM_ObjectManagerAdapter : CIM_WBEMService { [Override ( "ElementName" ), Description ( - "The ElmentName property is used as a name of the Object " + "The ElementName property is used as a name of the Object " "Manager Adapter for human interfaces. For example, \"ACME " "ObjectManager Adapter\"." )] string ElementName; @@ -44,7 +44,7 @@ class CIM_ObjectManagerAdapter : CIM_WBEMService { "Repository - A repository is an adapter that can " "store/retrieve persistent data, such as CIM Qualifier " "Types, CIM Classes and CIM Instances. An Object Manager " - "could use multiple repositiories at one time, for " + "could use multiple repositories at one time, for " "example one could be used for CIM Schema information " "only, while another is used for instance information. " "Repositories MAY be remote or local to the CIM Object " diff --git a/Unix/share/omischema/CIM-2.32.0/Interop/CIM_ObjectManagerCommunicationMechanism.mof b/Unix/share/omischema/CIM-2.32.0/Interop/CIM_ObjectManagerCommunicationMechanism.mof index 385dc3a20..6cd4a3803 100644 --- a/Unix/share/omischema/CIM-2.32.0/Interop/CIM_ObjectManagerCommunicationMechanism.mof +++ b/Unix/share/omischema/CIM-2.32.0/Interop/CIM_ObjectManagerCommunicationMechanism.mof @@ -110,7 +110,7 @@ class CIM_ObjectManagerCommunicationMechanism : CIM_ServiceAccessPoint { "access point. . It is used by the advertising services " "of the WBEM infrastructure to determine what should be " "advertised, via what mechanisms. The property is an " - "array so that the communicationMechansim MAY be " + "array so that the communicationMechanism MAY be " "advertised using several mechanisms. Note: If this " "property is null/uninitialized, this is equivalent to " "specifying the value 2, \"Not Advertised\"." ), diff --git a/Unix/share/omischema/CIM-2.32.0/Interop/CIM_RegisteredProfile.mof b/Unix/share/omischema/CIM-2.32.0/Interop/CIM_RegisteredProfile.mof index a38d00c4c..dbbf82171 100644 --- a/Unix/share/omischema/CIM-2.32.0/Interop/CIM_RegisteredProfile.mof +++ b/Unix/share/omischema/CIM-2.32.0/Interop/CIM_RegisteredProfile.mof @@ -256,7 +256,7 @@ class CIM_RegisteredProfile : CIM_ManagedElement { "the CIM Client whether the enumeration session is " "exhausted. If EndOfSequence is true upon " "successful completion of this invocation, no more " - "elements are available and the implmeentation " + "elements are available and the implementation " "shall close the enumeration session, releasing any " "possibly allocated resources related to the " "enumeration session. If EndOfSequence is false, " @@ -315,7 +315,7 @@ class CIM_RegisteredProfile : CIM_ManagedElement { "The EnumerationContext parameter is the " "enumeration context value representing the " "enumeration session to be used.\n" - "On input, it shall be the EnumerationContext ouput " + "On input, it shall be the EnumerationContext output " "value from the previous invocation of " "OpenConformantInstances or PullConformantInstances " "within an open enumeration session.If the session " diff --git a/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_BaseMetricDefinition.mof b/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_BaseMetricDefinition.mof index d80d55346..79f0ee33f 100644 --- a/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_BaseMetricDefinition.mof +++ b/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_BaseMetricDefinition.mof @@ -115,7 +115,7 @@ class CIM_BaseMetricDefinition : CIM_ManagedElement { "Such counters, also known as rollover counters, can be " "used for instance to count the number of network errors " "or the number of transactions processed. The only way " - "for a client application to keep track of wrap arounds " + "for a client application to keep track of wraparounds " "is to retrieve the value of the counter in appropriately " "short intervals. \n" "4=\"Gauge\": The metric is a gauge metric. These have " diff --git a/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_BaseMetricValue.mof b/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_BaseMetricValue.mof index 5111b8639..6044fc977 100644 --- a/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_BaseMetricValue.mof +++ b/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_BaseMetricValue.mof @@ -80,7 +80,7 @@ class CIM_BaseMetricValue : CIM_ManagedElement { "when the instance is created. For a given " "CIM_BaseMetricValue instance, the TimeStamp changes " "whenever a new measurement snapshot is taken if Volatile " - "is true. A managmenet application may establish a time " + "is true. A management application may establish a time " "series of metric data by retrieving the instances of " "CIM_BaseMetricValue and sorting them according to their " "TimeStamp." ), diff --git a/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_MetricService.mof b/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_MetricService.mof index 5578b71a5..cc7f6a2ce 100644 --- a/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_MetricService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_MetricService.mof @@ -44,7 +44,7 @@ class CIM_MetricService : CIM_Service { "method the ManagedElements parameter shall contain a " "reference to each CIM_ManagedElement instance to which " "the CIM_BaseMetricDefinition instance referenced by the " - "Definition parameteris associated through " + "Definition parameter is associated through " "CIM_MetricDefForME and the MetricCollectionEnabled " "parameter shall contain a value corresponding to the " "value of the MetricCollectionEnabled property of the " @@ -83,7 +83,7 @@ class CIM_MetricService : CIM_Service { CIM_ManagedElement REF Subject, [IN, Description ( "The Definition parameter identifies an instance of " - "CIM_BaseMetricDefintion. The method returns " + "CIM_BaseMetricDefinition. The method returns " "references to instances of CIM_ManagedElement for " "which metrics defined by the instance of " "CIM_BaseMetricDefinition are available to be " diff --git a/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_UnitOfWork.mof b/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_UnitOfWork.mof index 5fbabc074..7ada31629 100644 --- a/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_UnitOfWork.mof +++ b/Unix/share/omischema/CIM-2.32.0/Metrics/CIM_UnitOfWork.mof @@ -13,7 +13,7 @@ "UnitsOfWork. The length of time that a UnitOfWork instance " "exists after the UnitOfWork completes is not defined and " "should be assumed to be implementation-dependent. This class " - "is weak to its definition (CIM_UnitOfWorkDefintion)." )] + "is weak to its definition (CIM_UnitOfWorkDefinition)." )] class CIM_UnitOfWork : CIM_ManagedElement { [Override ( "Description" ), @@ -21,7 +21,7 @@ class CIM_UnitOfWork : CIM_ManagedElement { "Since UnitOfWork is designed to be an extremely " "lightweight object, it is recommended that this property " "not be used. The Description specified for the " - "instance\'s associated CIM_UnitOfWorkDefintion should " + "instance\'s associated CIM_UnitOfWorkDefinition should " "apply." )] string Description; @@ -54,7 +54,7 @@ class CIM_UnitOfWork : CIM_ManagedElement { datetime ElapsedTime; [Description ( - "An enumeration identifing the status of the UnitOfWork. " + "An enumeration identifying the status of the UnitOfWork. " "Most of the property values are self-explanatory, but a " "few need additional text: \n" "3=\"Completed\" - Should be used to represent a " diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_AdministrativeDistance.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_AdministrativeDistance.mof index a77895028..c8505cd9f 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_AdministrativeDistance.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_AdministrativeDistance.mof @@ -53,7 +53,7 @@ class CIM_AdministrativeDistance : CIM_LogicalElement { uint8 DirectConnect = 0; [Description ( - "The distance for staticly connected peers. It has a " + "The distance for statically connected peers. It has a " "default value of 1." )] uint8 Static = 1; diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_BGPPathAttributes.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_BGPPathAttributes.mof index 0a1da1a5b..079d5e029 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_BGPPathAttributes.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_BGPPathAttributes.mof @@ -131,7 +131,7 @@ class CIM_BGPPathAttributes : CIM_LogicalElement { uint16 PathAttrBest; [Description ( - "This contains one or more path atributes not understood " + "This contains one or more path attributes not understood " "by this BGP speaker. It is a array of path attributes " "that are not understood. The number of attributes is " "placed in a separate property of this class, " diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_CalculatedRoutes.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_CalculatedRoutes.mof index 45b1388f9..52c36cd06 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_CalculatedRoutes.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_CalculatedRoutes.mof @@ -9,7 +9,7 @@ Version ( "2.7.0" ), UMLPackagePath ( "CIM::Network::Routes" ), Description ( - "This assocation makes explicit the routes that are calculated " + "This association makes explicit the routes that are calculated " "by a specific RouteCalculationService. Thus, every " "RouteCalculationService can have its own unique set of " "calculated routes. The association is not necessary in the " diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_DropThresholdCalculationService.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_DropThresholdCalculationService.mof index 8f9a8a901..1a2a42625 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_DropThresholdCalculationService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_DropThresholdCalculationService.mof @@ -12,7 +12,7 @@ "properties of this Service, describing how it operates and its " "necessary parameters. The Service does the calculation on " "behalf of a RED dropper (as indicated by the association, " - "CalculationServiceForDroppper). A " + "CalculationServiceForDropper). A " "DropThresholdCalculationService is always associated to the " "single queue that it examines via the Calculation BasedOnQueue " "relationship." )] diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_ESPTransform.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_ESPTransform.mof index c16e69a82..6c3803b1f 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_ESPTransform.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_ESPTransform.mof @@ -41,7 +41,7 @@ class CIM_ESPTransform : CIM_SATransform { [Description ( "CipherTransformId is an enumeration that specifies the " - "ESP encrypion algorithm to be used. The list of values " + "ESP encryption algorithm to be used. The list of values " "is defined in RFC2407, Section 4.4.4, where the RFC\'s " "NULL value maps to 2-\"None\". Note that the enumeration " "is different than the RFC list, since \'Other\' is added " diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_ForwardedRoutes.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_ForwardedRoutes.mof index c0d0944f9..031f54570 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_ForwardedRoutes.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_ForwardedRoutes.mof @@ -8,7 +8,7 @@ Version ( "2.7.0" ), UMLPackagePath ( "CIM::Network::Routes" ), Description ( - "This assocation makes explicit the IP routes that are defined " + "This association makes explicit the IP routes that are defined " "in the context of a specific ForwardingService. Every " "ForwardingService can have its own unique set of IP routing " "destinations. The association is deprecated since it is " diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_HostedForwardingServices.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_HostedForwardingServices.mof index 20bfb07c0..3c09c753c 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_HostedForwardingServices.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_HostedForwardingServices.mof @@ -12,7 +12,7 @@ "association between a Service and the System on which the " "functionality resides. The class, HostedForwardingServices, is " "deprecated since it provides no additional semantics over " - "HostedService, and unecessarily restricts the Service to a " + "HostedService, and unnecessarily restricts the Service to a " "single ComputerSystem, when the Service could reside in a " "Network or other higher level System." )] class CIM_HostedForwardingServices : CIM_HostedService { diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_HostedRoutingServices.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_HostedRoutingServices.mof index 30da5ae92..5ddeec027 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_HostedRoutingServices.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_HostedRoutingServices.mof @@ -12,7 +12,7 @@ "association between a Service and the System on which the " "functionality resides. The class, HostedRoutingServices, is " "deprecated since it provides no additional semantics over " - "HostedService, and unecessarily restricts the Service to a " + "HostedService, and unnecessarily restricts the Service to a " "single ComputerSystem, when the Service could reside in a " "Network or other higher level System." )] class CIM_HostedRoutingServices : CIM_HostedService { diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_IPConfigurationService.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_IPConfigurationService.mof index d60af7254..07bd26c36 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_IPConfigurationService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_IPConfigurationService.mof @@ -52,10 +52,10 @@ class CIM_IPConfigurationService : CIM_Service { CIM_ConcreteJob REF Job); [Description ( - "Apply the IP Version respresented by the " + "Apply the IP Version represented by the " "CIM_IPVersionSettingData to the specified " "ComputerSystem. The IP Version may take effect or " - "disable immediatley or may be set to take effect or " + "disable immediately or may be set to take effect or " "disable in the next boot, depending on ComputerSystem " "and the value specified for Mode. This will reflect in " "the IsCurrent & IsNext property of " @@ -114,11 +114,11 @@ class CIM_IPConfigurationService : CIM_Service { CIM_ConcreteJob REF Job); [Description ( - "Apply the IP setting respresented by the " + "Apply the IP setting represented by the " "CIM_IPAssignmentSettingData and/or the IPVersion Setting " - "respresented by the CIM_IPVersionSettingData to the " + "represented by the CIM_IPVersionSettingData to the " "specified IPNetworkConnection. The settings may take " - "effect or disable immediatley or may be set to take " + "effect or disable immediately or may be set to take " "effect or disable in the next boot, depending on system, " "IPNetworkConnection, Setting and the value specified for " "Mode. This will reflect in the IsCurrent & IsNext " @@ -126,7 +126,7 @@ class CIM_IPConfigurationService : CIM_Service { "associating the SettingData and or IPVersionSettingData " "with the IPNetworkConnection. For cases, enabling one " "setting can result in automatic disabling of another " - "setting, it will be refelected in the properties of " + "setting, it will be reflected in the properties of " "ElementSettingData associating those settings to the " "IPNetworkConnection.Refer the description for the Mode " "parameter for more details.\n" diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_IPProtocolEndpoint.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_IPProtocolEndpoint.mof index 1925de09e..9d3b39ea4 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_IPProtocolEndpoint.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_IPProtocolEndpoint.mof @@ -84,7 +84,7 @@ class CIM_IPProtocolEndpoint : CIM_ProtocolEndpoint { "A value of 7 \"DHCPv6\" shall indicate the values were " "assigned using DHCPv6. See RFC 3315. \n" "A value of 8 \"IPv6 AutoConfig\" shall indicate the " - "values were assinged using the IPv6 AutoConfig Protocol. " + "values were assigned using the IPv6 AutoConfig Protocol. " "See RFC 4862. \n" "A value of 9 \"Stateless\" shall indicate Stateless " "values were assigned. \n" @@ -99,7 +99,7 @@ class CIM_IPProtocolEndpoint : CIM_ProtocolEndpoint { uint16 AddressOrigin = 0; [Description ( - "IPv6AddressType indentified the type of address found in " + "IPv6AddressType identified the type of address found in " "the IPv6Address property. The values of this property " "shall be interpreted according to RFC4291, Section 2.4" ), ValueMap { "2", "3", "4", "5", "6", "7", "8", "..", diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_IPVersionSettingData.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_IPVersionSettingData.mof index 0f5ad3499..4bcdc1d89 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_IPVersionSettingData.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_IPVersionSettingData.mof @@ -5,7 +5,7 @@ "This SettingData instance represents an IP version. This " "instance can be associated to one or more CIM_ManagedElements " "(Eg. CIM_ComputerSystem or CIM_IPNetworkConnection) to " - "respresent the IP version. The properties of the " + "represent the IP version. The properties of the " "CIM_ElementSettingData can be used show the IPVersions that " "are configured as default, current or Next boot." )] class CIM_IPVersionSettingData : CIM_SettingData { diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_MediaRedirectionCapabilities.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_MediaRedirectionCapabilities.mof index a27aefbe4..1abf316df 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_MediaRedirectionCapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_MediaRedirectionCapabilities.mof @@ -11,7 +11,7 @@ class CIM_MediaRedirectionCapabilities : CIM_RedirectionServiceCapabilities { "value set to 2 = \"Listen\" shall indicate that the SAP " "will listen for a connection request from the remote " "Media redirection server. A CIM_BindsTo association to a " - "CIM_ProtocolEndoint may be used to represent where the " + "CIM_ProtocolEndpoint may be used to represent where the " "SAP is listening for the connection request. A value set " "to 3 = \"Connect\" shall indicate that the the SAP shall " "initiate the connection to the remote Media redirection " diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_NetworkPortConfigurationService.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_NetworkPortConfigurationService.mof index aa65e4b86..61c6bb077 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_NetworkPortConfigurationService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_NetworkPortConfigurationService.mof @@ -11,7 +11,7 @@ class CIM_NetworkPortConfigurationService : CIM_Service { "Create a CIM_LANEndpoint instance and associate it with " "the specified NetworkPort instance via an instance of " "CIM_PortImplementsEndpoint. The newly created instance " - "of CIM_LANEndpont contains the configuration properties " + "of CIM_LANEndpoint contains the configuration properties " "specified or default values applicable for the specified " "NetworkPort instance. This method will also create an " "instance of CIM_HostedAccessPoint which associates the " diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_NextHopRoute.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_NextHopRoute.mof index 3ab45af00..30b159532 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_NextHopRoute.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_NextHopRoute.mof @@ -5,7 +5,7 @@ "NextHopRoute represents one of a series of \'hops\' to reach a " "network destination. A route is administratively defined, or " "calculated/learned by a particular routing process. A " - "ConcreteDependency associaton may be instantiated between a " + "ConcreteDependency association may be instantiated between a " "route and its routing service to indicate this. (In this " "scenario, the route is dependent on the service.)" )] class CIM_NextHopRoute : CIM_ManagedElement { diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_OSPFArea.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_OSPFArea.mof index 45808e488..8dd9e562f 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_OSPFArea.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_OSPFArea.mof @@ -15,7 +15,7 @@ "reduction in routing traffic. Also, routing within the area is " "determined only by the area\'s own topology, lending the area " "protection from bad routing data.\' This class has a \'Type\' " - "propery, which distinguishes between the different area types. " + "property, which distinguishes between the different area types. " "This approach was chosen, because it provides a simpler way to " "indicate the type of an area, and additional subclassing is " "not needed at this time." )] diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_OSPFAreaConfiguration.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_OSPFAreaConfiguration.mof index 6968d363b..2b66e6a61 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_OSPFAreaConfiguration.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_OSPFAreaConfiguration.mof @@ -36,7 +36,7 @@ "RangeOfIPAddresses would be associated to an OSPFArea, " "satisfying this semantic. \n" "- This class is inherited from LogicalElement, because a " - "suitable subclass \'lower\' in the inheritance hiearchy does " + "suitable subclass \'lower\' in the inheritance hierarchy does " "not exist." )] class CIM_OSPFAreaConfiguration : CIM_LogicalElement { diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_OutboundVLAN.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_OutboundVLAN.mof index 57aa6d866..25392241d 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_OutboundVLAN.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_OutboundVLAN.mof @@ -28,7 +28,7 @@ class CIM_OutboundVLAN : CIM_SAPSAPDependency { Description ( "If Tagged is TRUE, then the packet will be transmitted " "in encapsulated form, tagged with the associated VLAN " - "tag. If Tagged is FALSE, the packet will be trasmitted " + "tag. If Tagged is FALSE, the packet will be transmitted " "without any VLAN tag." )] boolean Tagged; diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_RangesOfConfiguration.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_RangesOfConfiguration.mof index 3e8f38092..5aa99a356 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_RangesOfConfiguration.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_RangesOfConfiguration.mof @@ -15,7 +15,7 @@ "router\'s OSPFAreaConfiguration, using this relationship. The " "association between the range and area configuration contains " "a property (EnableAdvertise) defining the handling - to allow " - "or disallow advertismenets in the range." )] + "or disallow advertisements in the range." )] class CIM_RangesOfConfiguration : CIM_Dependency { [Override ( "Antecedent" ), diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_RouteForwardedByService.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_RouteForwardedByService.mof index d6b31ac9e..ff31c79c9 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_RouteForwardedByService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_RouteForwardedByService.mof @@ -8,7 +8,7 @@ Version ( "2.7.0" ), UMLPackagePath ( "CIM::Network::Routes" ), Description ( - "This assocation makes explicit the next hops that are " + "This association makes explicit the next hops that are " "forwarded by a specific ForwardingService, to reach the " "destination. Every ForwardingService can have its own unique " "set of routing destinations and next hops. The association is " diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_RoutingProtocolDomainInAS.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_RoutingProtocolDomainInAS.mof index c7d0e9c1d..3cf190e6a 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_RoutingProtocolDomainInAS.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_RoutingProtocolDomainInAS.mof @@ -7,7 +7,7 @@ [Association, Aggregation, Version ( "2.7.0" ), UMLPackagePath ( "CIM::Network::RoutingForwarding" ), Description ( - "This assocation connects an AutonomousSystem to the routing " + "This association connects an AutonomousSystem to the routing " "domains that it contains." )] class CIM_RoutingProtocolDomainInAS : CIM_ContainedDomain { diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_SCSIProtocolEndpoint.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_SCSIProtocolEndpoint.mof index 2f43c4d26..abc5d13fc 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_SCSIProtocolEndpoint.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_SCSIProtocolEndpoint.mof @@ -20,7 +20,7 @@ class CIM_SCSIProtocolEndpoint : CIM_ProtocolEndpoint { "ConnectionType specific subclass is defined, the " "subclass may override Name to define the format. For " "other ConnectionTypes, the format (and content) should " - "match that of PermamnentAddress of the corresponding " + "match that of PermanentAddress of the corresponding " "LogicalPort." ), MaxLen ( 256 ), MappingStrings { diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_Switchable.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_Switchable.mof index 063ff5b47..a1741962d 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_Switchable.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_Switchable.mof @@ -9,7 +9,7 @@ UMLPackagePath ( "CIM::Network::SwitchingBridging" ), Description ( "A switch port has a LANEndpoint that is exposed via this " - "relationship. The associaiton is deprecated since a binding is " + "relationship. The association is deprecated since a binding is " "not the correct relationship. The SwitchPort is simply another " "aspect of the LANEndpoint - which is indicated by the " "EndpointIdentity relationship." )] diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_USBRedirectionCapabilities.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_USBRedirectionCapabilities.mof index 50268abc2..dd1ed1714 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_USBRedirectionCapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_USBRedirectionCapabilities.mof @@ -11,7 +11,7 @@ class CIM_USBRedirectionCapabilities : CIM_RedirectionServiceCapabilities { "value set to 2 = \"Listen\" shall indicate that the SAP " "will listen for a connection request from the remote USB " "redirection server. A CIM_BindsTo association to a " - "CIM_ProtocolEndoint may be used to represent where the " + "CIM_ProtocolEndpoint may be used to represent where the " "SAP is listening for the connection request. A value set " "to 3 = \"Connect\" shall indicate that the the SAP shall " "initiate the connection to the remote USB redirection " @@ -67,7 +67,7 @@ class CIM_USBRedirectionCapabilities : CIM_RedirectionServiceCapabilities { "An enumeration indicating the USB Device SubClasses " "which are supported. Note that each entry of this array " "is related to the entries of the USBVersionsSupported, " - "ClassesSupproted, MaxDevicesSupported, and " + "ClassesSupported, MaxDevicesSupported, and " "MaxDevicesPerSAP arrays that are located at the same " "index." ), ArrayType ( "Indexed" ), @@ -143,7 +143,7 @@ class CIM_USBRedirectionCapabilities : CIM_RedirectionServiceCapabilities { [Description ( "An enumeration indicating which of the formats for " - "CIM_RemoteServiceAcccessPoint.InfoFormat are supported " + "CIM_RemoteServiceAccessPoint.InfoFormat are supported " "by the USB Redirection Service. When a USB Redirection " "Session is configured with ConnectionMode = 3 \'Connect\' " "the USB Redirection SAP needs to know the remote service " diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_USBRedirectionService.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_USBRedirectionService.mof index cb2531235..00212a274 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_USBRedirectionService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_USBRedirectionService.mof @@ -44,7 +44,7 @@ class CIM_USBRedirectionService : CIM_RedirectionService { "CIM_ComputerSystem that has the USB device being " "redirection with the new SAP, " "EnabledLogicalElementCapabilities that describes the " - "capabilities of the new SAP, ElementCapabilties " + "capabilities of the new SAP, ElementCapabilities " "associating the new EnabledLogicalElementCapabilities " "with the new SAP, SAPAvailableForElement associating the " "new SAP with the USBDevices specified in the parameters " @@ -71,7 +71,7 @@ class CIM_USBRedirectionService : CIM_RedirectionService { "capability for the newly created SAP. The values " "specified for this parameter must be from the set " "of values found in the Redirection Service\'s " - "CIM_USBRedirectionCapabilities.RequestedStatesSupporteForCreatedSAP " + "CIM_USBRedirectionCapabilities.RequestedStatesSupportForCreatedSAP " "array." ), ModelCorrespondence { "CIM_USBRedirectionCapabilities.RequestedStatesSupportedForCreatedSAP" }] @@ -211,7 +211,7 @@ class CIM_USBRedirectionService : CIM_RedirectionService { string NewUSBDevice, [IN, Description ( "If not empty, this is a reference to a concrete " - "subclasss of CIM_LogicalDevice representing the " + "subclass of CIM_LogicalDevice representing the " "device to be redirected by the USB Redirection " "Service. This might, for example, be a " "CIM_CDROMDrive or a CIM_DisketteDrive." )] diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_VLAN.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_VLAN.mof index f34c8fedb..f76189088 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_VLAN.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_VLAN.mof @@ -14,7 +14,7 @@ "textual name of the VLAN, if there is one. Otherwise, " "synthesize a textual name, e.g., VLAN 0003. (Consider leading " "zero fill, as shown, to ensure that if the textual VLAN names " - "are extracted and presented by a management applictions, the " + "are extracted and presented by a management applications, the " "VLAN names will sort in the expected order.) The numeric part " "of the name should be at least four digits wide since 802.1Q " "specifies 4095 VLANs. \n" diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_WiFiEndpointSettings.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_WiFiEndpointSettings.mof index 7d8f8f419..d6be2148e 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_WiFiEndpointSettings.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_WiFiEndpointSettings.mof @@ -107,7 +107,7 @@ class CIM_WiFiEndpointSettings : CIM_SettingData { "\t* WPA2 PSK (6): shall indicate that the desired " "authentication method is WPA2 (Wi-Fi Protected Access " "Version 2) PSK (Pre-Shared Key). AuthenticationMethod " - "should containt 6 only if EncryptionMethod contains 3 " + "should contain 6 only if EncryptionMethod contains 3 " "(\"TKIP\") or 4 (\"CCMP\").\n" "\t* WPA2 IEEE 802.1x (7): shall indicated that the " "desired authentication method is WPA2 (Wi-Fi Protected " diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_WiFiNetworkDetectionSettings.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_WiFiNetworkDetectionSettings.mof index 11be463e3..7f7651af8 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_WiFiNetworkDetectionSettings.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_WiFiNetworkDetectionSettings.mof @@ -14,7 +14,7 @@ class CIM_WiFiNetworkDetectionSettings : CIM_SettingData { "are enforced on the SSIDs searched for.\n" "A value of 3 \"Preferred\" shall indicate that only " "networks listed in the PreferredNetworks property are " - "searced for." ), + "searched for." ), ValueMap { "2", "3", "..", "16384..32767" }, Values { "Any", "Preferred", "DMTF Reserved", "Vendor Reserved" }] diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSICapabilities.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSICapabilities.mof index b715673da..d32da9d6d 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSICapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSICapabilities.mof @@ -2,7 +2,7 @@ [Version ( "2.11.0" ), UMLPackagePath ( "CIM::Network::iSCSI" ), Description ( - "The capabilites for an iSCSI Network Entity. An instance of " + "The capabilities for an iSCSI Network Entity. An instance of " "this class will be associated by ElementCapabilities to a " "instance of ComputerSystem that represents the Network Entity. " "These capability properties are associated to a Network " diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSIConnection.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSIConnection.mof index 67dadf8a5..172d01795 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSIConnection.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSIConnection.mof @@ -119,7 +119,7 @@ class CIM_iSCSIConnection : CIM_NetworkPipe { "required to authenticate itself to the Initiator, in " "addition to the Initiator authenticating itself to the " "Target. When false, and AuthenticationMethod is other " - "than \'No Authentication\', only the Initatior " + "than \'No Authentication\', only the Initiator " "authenticated itself to the Target. \n" "When AuthenticationMethodUsed is \'No Authentication\', " "this property must be false." )] diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSIConnectionSettings.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSIConnectionSettings.mof index d95f7243b..a29804cc3 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSIConnectionSettings.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSIConnectionSettings.mof @@ -3,9 +3,9 @@ UMLPackagePath ( "CIM::Network::iSCSI" ), Description ( "The settings for the usage of an iSCSI NetworkPortal by an " - "iSCSIProtcolEndpoint. These settings are the starting point " + "iSCSIProtocolEndpoint. These settings are the starting point " "for negotiation for connection establishment. If an " - "implmentation supports different connections settings for a " + "implementation supports different connections settings for a " "NetworkPortal for each iSCSIProtocolEndpoint that is bound to " "it, an instance of this class will be associated by " "ElementSettingData to an instance of iSCSIProtocolEndpoint. If " diff --git a/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSILoginStatistics.mof b/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSILoginStatistics.mof index be0f8c7b0..7b4226b39 100644 --- a/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSILoginStatistics.mof +++ b/Unix/share/omischema/CIM-2.32.0/Network/CIM_iSCSILoginStatistics.mof @@ -94,7 +94,7 @@ class CIM_iSCSILoginStatistics : CIM_StatisticalData { [Description ( "The count of Login Response PDUs with status 0x0000, " - "Accept Login, received by this node(initator), or " + "Accept Login, received by this node(initiator), or " "transmitted by this node (target)." ), Counter, MappingStrings { "MIB.IETF|iSCSI-MIB.iscsiIntrLoginAcceptRsps", diff --git a/Unix/share/omischema/CIM-2.32.0/Physical/CIM_Chassis.mof b/Unix/share/omischema/CIM-2.32.0/Physical/CIM_Chassis.mof index e70ca6d8a..27a3213db 100644 --- a/Unix/share/omischema/CIM-2.32.0/Physical/CIM_Chassis.mof +++ b/Unix/share/omischema/CIM-2.32.0/Physical/CIM_Chassis.mof @@ -100,7 +100,7 @@ class CIM_Chassis : CIM_PhysicalFrame { "Expansion Chassis", "SubChassis", // 20 "Bus Expansion Chassis", - "Peripheral Chassis", "Storage Chassis", "SMBIOS Reseved", + "Peripheral Chassis", "Storage Chassis", "SMBIOS Reserved", "Sealed-Case PC", "SMBIOS Reserved", "CompactPCI", "AdvancedTCA", "Blade Enclosure", "DMTF Reserved", "Vendor Reserved" }, diff --git a/Unix/share/omischema/CIM-2.32.0/Physical/CIM_PhysicalComponent.mof b/Unix/share/omischema/CIM-2.32.0/Physical/CIM_PhysicalComponent.mof index 50c38a896..0c51c5d6f 100644 --- a/Unix/share/omischema/CIM-2.32.0/Physical/CIM_PhysicalComponent.mof +++ b/Unix/share/omischema/CIM-2.32.0/Physical/CIM_PhysicalComponent.mof @@ -15,7 +15,7 @@ class CIM_PhysicalComponent : CIM_PhysicalElement { [Description ( - "The RemovalCapabilites property is used to describe the " + "The RemovalCapabilities property is used to describe the " "conditions under which a PhysicalPackage can be removed. " "Since all PhysicalPackages are not removable, this " "property defaults to 2, \'Not Applicable\'." ), diff --git a/Unix/share/omischema/CIM-2.32.0/Physical/CIM_PhysicalConnector.mof b/Unix/share/omischema/CIM-2.32.0/Physical/CIM_PhysicalConnector.mof index 6606e1cbf..48b1f7407 100644 --- a/Unix/share/omischema/CIM-2.32.0/Physical/CIM_PhysicalConnector.mof +++ b/Unix/share/omischema/CIM-2.32.0/Physical/CIM_PhysicalConnector.mof @@ -159,7 +159,7 @@ class CIM_PhysicalConnector : CIM_PhysicalElement { "PCI Express connector layout, where the actual layout as " "far as the length is concerned is unknown. 19 - 25 " "(PCI-E xN) - describes the PCI Express connector layout, " - "where N is the lane count that appropriately descirbes " + "where N is the lane count that appropriately describes " "the length of the PCI-E connector." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", diff --git a/Unix/share/omischema/CIM-2.32.0/Physical/CIM_PhysicalPackage.mof b/Unix/share/omischema/CIM-2.32.0/Physical/CIM_PhysicalPackage.mof index 209f40ac9..27347c97c 100644 --- a/Unix/share/omischema/CIM-2.32.0/Physical/CIM_PhysicalPackage.mof +++ b/Unix/share/omischema/CIM-2.32.0/Physical/CIM_PhysicalPackage.mof @@ -8,7 +8,7 @@ class CIM_PhysicalPackage : CIM_PhysicalElement { [Description ( - "The RemovalCapabilites property is used to describe the " + "The RemovalCapabilities property is used to describe the " "conditions under which a PhysicalPackage can be removed. " "Since all PhysicalPackages are not removable, this " "property defaults to 2, \'Not Applicable\'." ), @@ -147,7 +147,7 @@ class CIM_PhysicalPackage : CIM_PhysicalElement { "compatible with, and can be inserted in a slot that " "reports this string as one of the array element in the " "VendorCompatibilityStrings This allows system " - "administrators to determine whether it is appropriateto " + "administrators to determine whether it is appropriate to " "insert a package into a slot \n" "In order to ensure uniqueness within the NameSpace, each " "value defined by the vendor for use in the " diff --git a/Unix/share/omischema/CIM-2.32.0/Policy/CIM_PolicySetValidityPeriod.mof b/Unix/share/omischema/CIM-2.32.0/Policy/CIM_PolicySetValidityPeriod.mof index 3ba0a1cef..195f07988 100644 --- a/Unix/share/omischema/CIM-2.32.0/Policy/CIM_PolicySetValidityPeriod.mof +++ b/Unix/share/omischema/CIM-2.32.0/Policy/CIM_PolicySetValidityPeriod.mof @@ -16,13 +16,13 @@ "is in a valid period if at least one of the aggregate\'s " "PolicyTimePeriodCondition instances evaluates to TRUE and at " "least one of its own PolicyTimePeriodCondition instances also " - "evalutes to TRUE. (In other words, the " + "evaluates to TRUE. (In other words, the " "PolicyTimePeriodConditions are ORed to determine whether the " "PolicySet is in a valid time period and then ANDed with the " "ORed PolicyTimePeriodConditions of each of PolicySet instances " "in the PolicySetComponent hierarchy to determine if the " "PolicySet is in a valid time period and, if also \"Enabled\", " - "therefore, active, i.e., the hierachy ANDs the ORed " + "therefore, active, i.e., the hierarchy ANDs the ORed " "PolicyTimePeriodConditions of the elements of the hierarchy. \n" "\n" "A Time Period may be aggregated by multiple PolicySets. A Set " diff --git a/Unix/share/omischema/CIM-2.32.0/Support/PRS_Activity.mof b/Unix/share/omischema/CIM-2.32.0/Support/PRS_Activity.mof index dd83f9951..a13f88f24 100644 --- a/Unix/share/omischema/CIM-2.32.0/Support/PRS_Activity.mof +++ b/Unix/share/omischema/CIM-2.32.0/Support/PRS_Activity.mof @@ -42,7 +42,7 @@ class PRS_Activity : PRS_ExchangeElement { [Description ( "The date of the Activity. This property is set by the " - "PRS_SISService StartSISTranasaction method." )] + "PRS_SISService StartSISTransaction method." )] datetime LocalDate; [Description ( "Description of the activity performed." )] diff --git a/Unix/share/omischema/CIM-2.32.0/Support/PRS_Contact.mof b/Unix/share/omischema/CIM-2.32.0/Support/PRS_Contact.mof index bbdca1eeb..bb8a0f193 100644 --- a/Unix/share/omischema/CIM-2.32.0/Support/PRS_Contact.mof +++ b/Unix/share/omischema/CIM-2.32.0/Support/PRS_Contact.mof @@ -8,7 +8,7 @@ UMLPackagePath ( "PRS::Support" ), Description ( "PRS_Contact is used to anchor associations to PRS_Person and " - "PRS_Orgnaization. PRS_Contact is also used to anchor " + "PRS_Organization. PRS_Contact is also used to anchor " "associations to PRS_Revision and PRS_Resolution, as well as " "PRS_ServiceIncident." )] class PRS_Contact : PRS_ExchangeElement { diff --git a/Unix/share/omischema/CIM-2.32.0/Support/PRS_Resource.mof b/Unix/share/omischema/CIM-2.32.0/Support/PRS_Resource.mof index ac53e4eed..241584e81 100644 --- a/Unix/share/omischema/CIM-2.32.0/Support/PRS_Resource.mof +++ b/Unix/share/omischema/CIM-2.32.0/Support/PRS_Resource.mof @@ -10,7 +10,7 @@ "Each PRS_Resolution may have an associated cost of " "implementation. This cost may have several components such as " "time, material costs, labor cost, etc. To capture these costs, " - "a PRS_Resouce is associated with a PRS_Resolution. For Service " + "a PRS_Resource is associated with a PRS_Resolution. For Service " "Incidents, one or more PRS_Resource objects may be associated " "with an Activity." )] class PRS_Resource : PRS_ExchangeElement { diff --git a/Unix/share/omischema/CIM-2.32.0/Support/PRS_SISService.mof b/Unix/share/omischema/CIM-2.32.0/Support/PRS_SISService.mof index 05999aa99..7ee41051d 100644 --- a/Unix/share/omischema/CIM-2.32.0/Support/PRS_SISService.mof +++ b/Unix/share/omischema/CIM-2.32.0/Support/PRS_SISService.mof @@ -83,7 +83,7 @@ class PRS_SISService : CIM_Service { "method did not complete successfully. If D31 is reset, " "but the rest of the return value is non-zero, this is a " "Notification that the operation did complete " - "successfully, but that there is a conditon of which the " + "successfully, but that there is a condition of which the " "caller should be aware. \n" "\n" "If D30 is set, the return value is vendor specific. If " diff --git a/Unix/share/omischema/CIM-2.32.0/Support/PRS_Statement.mof b/Unix/share/omischema/CIM-2.32.0/Support/PRS_Statement.mof index 5367be950..5807af414 100644 --- a/Unix/share/omischema/CIM-2.32.0/Support/PRS_Statement.mof +++ b/Unix/share/omischema/CIM-2.32.0/Support/PRS_Statement.mof @@ -60,7 +60,7 @@ class PRS_Statement : PRS_ExpressionElement { string Text; [Description ( - "When the PRS_Adminstrative object indicates Level 2 " + "When the PRS_Administrative object indicates Level 2 " "compliance, StatementOperator describes the relationship " "between an associated PRS_Feature and the FeatureValue " "property. This property is ignored if there is no " @@ -68,7 +68,7 @@ class PRS_Statement : PRS_ExpressionElement { string StatementOperator; [Description ( - "When the PRS_Adminstrative object indicates Level 2 " + "When the PRS_Administrative object indicates Level 2 " "compliance, FeatureValue is the specific value selected " "from the associated PRS_Feature. This property is " "ignored if there is no PRS_Feature associated with this " diff --git a/Unix/share/omischema/CIM-2.32.0/Support/PRS_Transaction.mof b/Unix/share/omischema/CIM-2.32.0/Support/PRS_Transaction.mof index 86856f76e..b035eb273 100644 --- a/Unix/share/omischema/CIM-2.32.0/Support/PRS_Transaction.mof +++ b/Unix/share/omischema/CIM-2.32.0/Support/PRS_Transaction.mof @@ -39,7 +39,7 @@ class PRS_Transaction : PRS_ExchangeElement { [Description ( "The status of the transaction after it has reached the " "\'Closed\' state. A CompletionStatus of zero (0) means " - "the tranasaction completed successfully. A non-zero " + "the transaction completed successfully. A non-zero " "CompletionStatus indicates the transaction did not " "complete successfully. Non-zero values are " "implementation-specific. While the transaction is \'Open\' " diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_AffectedJobElement.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_AffectedJobElement.mof index 20bf6574f..431d296b7 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_AffectedJobElement.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_AffectedJobElement.mof @@ -14,7 +14,7 @@ "It may not be feasible for the Job to describe all of the " "affected elements. The main purpose of this association is to " "provide information when a Job requires exclusive use of the " - "\'affected\' ManagedElment(s) or when describing that side " + "\'affected\' ManagedElement(s) or when describing that side " "effects may result." )] class CIM_AffectedJobElement { diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_BIOSAttribute.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_BIOSAttribute.mof index 68a1fcfe5..87dc38ae2 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_BIOSAttribute.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_BIOSAttribute.mof @@ -88,11 +88,11 @@ class CIM_BIOSAttribute : CIM_ManagedElement { [Description ( "This property specifies if the underlying system BIOS or " "BIOSService will not allow the Attribute to be modified " - "through calls tothe methods " + "through calls to the methods " "CIM_BIOSService.SetBIOSAttribute or " "CIM_BIOSService.SetBIOSDefaults. This does not mean the " "Attribute can not be modified through other means. Only " - "that the CIM interfaceis not capable of making a change" )] + "that the CIM interface is not capable of making a change" )] boolean IsReadOnly; diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_BIOSInteger.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_BIOSInteger.mof index 370efcba7..ef9170023 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_BIOSInteger.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_BIOSInteger.mof @@ -3,7 +3,7 @@ UMLPackagePath ( "CIM::System::BIOS" ), Description ( "The BIOSInteger object may be used to instantiate and provide " - "detailed information describing BIOS attributeswith integer " + "detailed information describing BIOS attributes with integer " "values." )] class CIM_BIOSInteger : CIM_BIOSAttribute { diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_BIOSService.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_BIOSService.mof index df0ac0cc0..dc8941ada 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_BIOSService.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_BIOSService.mof @@ -186,7 +186,7 @@ class CIM_BIOSService : CIM_Service { "NumberOfBytes parameter and the actual number of bytes " "available between Offset and the end of the BIOS area, " "starting at specified by the Offset parameter " - "arereturned in the Data parameter." ), + "are returned in the Data parameter." ), ValueMap { "0", "1", "2", "..", "65536..4294967295" }, Values { "Completed with No Error", "Not Supported", "Unknown/Unspecified Error", "DMTF Reserved", diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_ComputerSystem.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_ComputerSystem.mof index 65b6fcbf0..a5e5e052b 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_ComputerSystem.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_ComputerSystem.mof @@ -134,7 +134,7 @@ class CIM_ComputerSystem : CIM_System { "An enumerated array describing the power management " "capabilities of the ComputerSystem. The use of this " "property has been deprecated. Instead, the Power " - "Capabilites property in an associated PowerManagement " + "Capabilities property in an associated PowerManagement " "Capabilities class should be used." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7" }, Values { "Unknown", "Not Supported", "Disabled", "Enabled", diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_ComputerSystemPackage.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_ComputerSystemPackage.mof index 8f717cfad..cfd670501 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_ComputerSystemPackage.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_ComputerSystemPackage.mof @@ -26,7 +26,7 @@ class CIM_ComputerSystemPackage : CIM_SystemPackaging { CIM_ComputerSystem REF Dependent; [Description ( - "A Gloabally Unique Identifier for the System\'s Package." )] + "A Globally Unique Identifier for the System\'s Package." )] string PlatformGUID; diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticSetting.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticSetting.mof index 12de7d943..99a0b3ee0 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticSetting.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticSetting.mof @@ -274,7 +274,7 @@ class CIM_DiagnosticSetting : CIM_Setting { "the managed element being serviced. \n" "* \"Service Errors\" (value = 8): Log errors related to " "the service itself rather than the element being " - "serviced, such as \'Resource Allocaton Failure\'. \n" + "serviced, such as \'Resource Allocation Failure\'. \n" "* \"Setting Data\" (value=9): Log the property values of " "the DiagnosticSetting object used to configure the " "service. \n" diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticSettingData.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticSettingData.mof index aaea3924e..341669b69 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticSettingData.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticSettingData.mof @@ -184,7 +184,7 @@ class CIM_DiagnosticSettingData : CIM_SettingData { "the managed element being serviced. \n" "* \"Service Errors\" (value = 8): Log errors related to " "the service itself rather than the element being " - "serviced, such as \'Resource Allocaton Failure\'. \n" + "serviced, such as \'Resource Allocation Failure\'. \n" "* \"Setting Data\" (value=9): Log the property values of " "the DiagnosticSettingData object used to configure the " "service. \n" diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticTest.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticTest.mof index 89a140866..60979e8a6 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticTest.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticTest.mof @@ -192,7 +192,7 @@ class CIM_DiagnosticTest : CIM_DiagnosticService { "specified using the Setting input parameter. If a " "reference is not passed into the method, then a default " "DiagnosticSetting may be used. This default Setting is " - "associated with the DiagnoticTest using the " + "associated with the DiagnosticTest using the " "DefaultSetting relationship of the Core Model. \n" "When RunTest starts execution, the settings, which are " "time sensitive, should be evaluated and captured. This " @@ -228,7 +228,7 @@ class CIM_DiagnosticTest : CIM_DiagnosticService { "input parameter. If a reference is not passed into " "the method, then a default DiagnosticSetting may " "be used. This default Setting is associated with " - "the DiagnoticTest using the DefaultSetting " + "the DiagnosticTest using the DefaultSetting " "relationship of the Core Model." )] CIM_DiagnosticSetting REF Setting, [IN ( false ), OUT, Description ( @@ -241,7 +241,7 @@ class CIM_DiagnosticTest : CIM_DiagnosticService { Description ( "This method is deprecated in favor of using the " "corresponding functionality contained in the Log class, " - "this is consistant with the deprecation of the Result " + "this is consistent with the deprecation of the Result " "class in favor of Log. \n" "Execution of this method will delete all instances of " "the DiagnosticResultForMSE object, for this " diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticTestForMSE.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticTestForMSE.mof index 764609519..67fe0cb75 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticTestForMSE.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_DiagnosticTestForMSE.mof @@ -47,7 +47,7 @@ class CIM_DiagnosticTestForMSE : CIM_ProvidesServiceToElement { [Deprecated { "CIM_ServiceAffectsElement.ElementEffects" }, Description ( "This property is being deprecated since the same " - "characterisitic can be published in the " + "characteristic can be published in the " "CIM_ServiceAffectsElement.ElementEffects array as Value " "= 2, \"Exclusive Use\". \n" "If the DiagnosticTest referenced in this object can be " diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_HelpService.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_HelpService.mof index 556e8e596..d53ce5081 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_HelpService.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_HelpService.mof @@ -11,7 +11,7 @@ "describe and provide access to its Help information. Support " "for various delivery mechanisms and data formats can be " "specified so that the most suitable data representation can be " - "chosen. In adddition, a request can be made to launch a \"Help\" " + "chosen. In addition, a request can be made to launch a \"Help\" " "program, if available." )] class CIM_HelpService : CIM_Service { diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_LogRecord.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_LogRecord.mof index cd6c5b000..338c0e348 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_LogRecord.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_LogRecord.mof @@ -1,5 +1,5 @@ // Copyright (c) 2005 DMTF. All rights reserved. -// Updat description of +// Update description of // MessageTimestamp property to indicate what the value for unknown // should be. // Add UmlPackagePath diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_MessageLog.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_MessageLog.mof index 83b4eafa8..bcd981cac 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_MessageLog.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_MessageLog.mof @@ -488,7 +488,7 @@ class CIM_MessageLog : CIM_Log { [Description ( "Requests that the record indicated by the " - "IterationIdentifier be flagged as overwriteable. This " + "IterationIdentifier be flagged as overridable. This " "method is only supported when the Capabilities array " "includes a value of 10, \"Can Flag Records for " "Overwrite\". After updating the entry, the " diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_MethodResult.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_MethodResult.mof index 6c786cdcc..78782314c 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_MethodResult.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_MethodResult.mof @@ -57,14 +57,14 @@ class CIM_MethodResult : CIM_ManagedElement { [Description ( "This property contains a CIM_InstMethodCall Indication " "that describes the pre-execution values of the " - "extrinisic method invocation." ), + "extrinsic method invocation." ), EmbeddedInstance ( "CIM_InstMethodCall" )] string PreCallIndication; [Description ( "This property contains a CIM_InstMethodCall Indication " "that describes the post-execution values of the " - "extrinisic method invocation." ), + "extrinsic method invocation." ), EmbeddedInstance ( "CIM_InstMethodCall" )] string PostCallIndication; diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_ParticipatingCS.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_ParticipatingCS.mof index 62d9ea603..a5aab2526 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_ParticipatingCS.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_ParticipatingCS.mof @@ -13,7 +13,7 @@ "\n" "When first establishing or bringing up a Cluster, only one " "ComputerSystem may be defined as participating in it. " - "Therfore, the cardinality of the association for the " + "Therefore, the cardinality of the association for the " "ComputerSystem reference is Min (1)." )] class CIM_ParticipatingCS : CIM_Dependency { diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_ServiceProcess.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_ServiceProcess.mof index 75b191d3f..d51acf786 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_ServiceProcess.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_ServiceProcess.mof @@ -38,7 +38,7 @@ class CIM_ServiceProcess { "Process\" indicates that the Service is hosted in a " "Process that already exists in the system. The lifecycle " "of the Service is separate from that of the Process. " - "\"Exeutes as Independent Process\" indicates that the " + "\"Executes as Independent Process\" indicates that the " "Service is responsible for the lifecycle of the Process. " "When the Service is started, the Process is created. For " "example, ServletEngines can run \"InProcess\" within the " diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_UnitaryComputerSystem.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_UnitaryComputerSystem.mof index c752e6089..f1584e8a6 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_UnitaryComputerSystem.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_UnitaryComputerSystem.mof @@ -36,7 +36,7 @@ class CIM_UnitaryComputerSystem : CIM_ComputerSystem { "managed. The use of this property has been deprecated. " "Instead, the existence of an associated " "PowerManagementCapabilities class (associated using the " - "ElementCapabilites relationship) indicates that power " + "ElementCapabilities relationship) indicates that power " "management is supported." )] boolean PowerManagementSupported; diff --git a/Unix/share/omischema/CIM-2.32.0/System/CIM_UnixThread.mof b/Unix/share/omischema/CIM-2.32.0/System/CIM_UnixThread.mof index 780468bad..4961d5c89 100644 --- a/Unix/share/omischema/CIM-2.32.0/System/CIM_UnixThread.mof +++ b/Unix/share/omischema/CIM-2.32.0/System/CIM_UnixThread.mof @@ -15,7 +15,7 @@ class CIM_UnixThread : CIM_Thread { [Description ( "Indicates the thread\'s scheduling policy. Set to " - "\"Other\" when using OtherSchedPolicy to specifiy " + "\"Other\" when using OtherSchedPolicy to specify " "additional values. \"Other\" represents SCHED_OTHER as " "defined in sched.h." ), ValueMap { "0", "1", "2", "3" }, diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_AccessControlInformation.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_AccessControlInformation.mof index bbd05b309..7d8229c59 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_AccessControlInformation.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_AccessControlInformation.mof @@ -70,7 +70,7 @@ class CIM_AccessControlInformation : CIM_LogicalElement { "corresponding permission applies. For example, it can be " "used to specify a generic access such as \'Read-only\', " "\'Read/Write\', etc. for file or record access control " - "or it can be used to specifiy an entry point name for " + "or it can be used to specify an entry point name for " "service access control." ), ArrayType ( "Indexed" ), ModelCorrespondence { diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_AccountManagementService.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_AccountManagementService.mof index 860edeba1..487d5a188 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_AccountManagementService.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_AccountManagementService.mof @@ -4,7 +4,7 @@ Description ( "CIM_AccountManagementService creates, manages, and if " "necessary destroys Accounts on behalf of other " - "SecuritySerices." )] + "SecurityServices." )] class CIM_AccountManagementService : CIM_SecurityService { diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_AccountSettingData.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_AccountSettingData.mof index 3c9e3c43d..cc5e52013 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_AccountSettingData.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_AccountSettingData.mof @@ -8,7 +8,7 @@ "this class may be used to constrain the properties of " "instances of CIM_Accountcreated using the service. When " "associated with an instance of CIM_Account, this class may be " - "used to manage the configuration of the CIM_Acount instance." )] + "used to manage the configuration of the CIM_Account instance." )] class CIM_AccountSettingData : CIM_SettingData { [Description ( diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_AuthenticateForUse.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_AuthenticateForUse.mof index b85f4cca5..aa1b0a280 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_AuthenticateForUse.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_AuthenticateForUse.mof @@ -18,7 +18,7 @@ class CIM_AuthenticateForUse : CIM_Dependency { [Deprecated { "No value" }, Override ( "Antecedent" ), - Description ( "AuthenticationRequirementfor use." )] + Description ( "AuthenticationRequirement for use." )] CIM_AuthenticationRequirement REF Antecedent; [Deprecated { "No value" }, diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_CertificateAuthority.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_CertificateAuthority.mof index f1750afff..1472d0dd7 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_CertificateAuthority.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_CertificateAuthority.mof @@ -13,7 +13,7 @@ class CIM_CertificateAuthority : CIM_CredentialManagementService { [Description ( "The CAPolicyStatement describes what care is taken by " "the CertificateAuthority when signing a new certificate. " - "The CAPolicyStatment may be a dot-delimited ASN.1 OID " + "The CAPolicyStatement may be a dot-delimited ASN.1 OID " "string which identifies to the formal policy statement." )] string CAPolicyStatement; diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_CertificateManagementCapabilities.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_CertificateManagementCapabilities.mof index b39543274..5e39f7c92 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_CertificateManagementCapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_CertificateManagementCapabilities.mof @@ -33,7 +33,7 @@ class CIM_CertificateManagementCapabilities : CIM_CredentialManagementCapabiliti "the associated CIM_CertificateManagementService " "instance(s)." ), ValueMap { "2", "3", "4", "..", "32768..65535" }, - Values { "RSA", "DSA", "ECDSA", "DMTF Rserved", + Values { "RSA", "DSA", "ECDSA", "DMTF Reserved", "Vendor Reserved" }] uint16 KeyAlgorithmSupported[]; @@ -43,7 +43,7 @@ class CIM_CertificateManagementCapabilities : CIM_CredentialManagementCapabiliti "Revocation List by the methods in the associated " "CIM_CertificateManagementService instance(s)." ), ValueMap { "2", "3", "4", "5", "..", "32768..65535" }, - Values { "DER", "PEM", "PKCS7", "PKCS12", "DMTF Rserved", + Values { "DER", "PEM", "PKCS7", "PKCS12", "DMTF Reserved", "Vendor Reserved" }] uint16 InputFormatsSupported[]; @@ -53,7 +53,7 @@ class CIM_CertificateManagementCapabilities : CIM_CredentialManagementCapabiliti "Revocation List by the methods in the associated " "CIM_CertificateManagementService instance(s)." ), ValueMap { "2", "3", "4", "5", "..", "32768..65535" }, - Values { "DER", "PEM", "PKCS7", "PKCS12", "DMTF Rserved", + Values { "DER", "PEM", "PKCS7", "PKCS12", "DMTF Reserved", "Vendor Reserved" }] uint16 OutputFormatsSupported[]; diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_CertificateManagementService.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_CertificateManagementService.mof index 5591c9d21..6d89dfc76 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_CertificateManagementService.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_CertificateManagementService.mof @@ -15,7 +15,7 @@ class CIM_CertificateManagementService : CIM_KeyBasedCredentialManagementService "through Subject parameter. The CSR utilizes PKCS#10 " "structure as defined in RFC2986. If either Subject " "parameter or AltSubject parameter are NULL, the method " - "shall return 2 (Error Occured). If the " + "shall return 2 (Error Occurred). If the " "PublicPrivateKeyPair parameter is NULL, then 1) " "PublicKeyAlgorithm shall specify the algorithm to be " "used for the public key, 2) the PublicKeySize shall " @@ -31,13 +31,13 @@ class CIM_CertificateManagementService : CIM_KeyBasedCredentialManagementService "has a value that is not equal to any values in the " "OutputFormatsSupported property on the associated " "CIM_CertificateManagementCapabilities instance, then the " - "method shall return 2 (Error Occured). Upon the " + "method shall return 2 (Error Occurred). Upon the " "successful execution, the CSR output parameter shall " "contain the CSR in PKCS#10 structure." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096", "4097..32767", "32768..65535" }, Values { "Completed with No Error", "Not Supported", - "Error Occured", "Busy", "Invalid Reference", + "Error Occurred", "Busy", "Invalid Reference", "Invalid Parameter", "Access Denied", "DMTF Reserved", "Job Started", "Method Reserved", "Vendor Specified" }] uint32 CreateCertificateSigningRequest( @@ -131,7 +131,7 @@ class CIM_CertificateManagementService : CIM_KeyBasedCredentialManagementService CIM_ConcreteJob REF Job, [Required, IN ( false ), OUT, Description ( "The CSR parameter is an output parameter that upon " - "successful exection of this method will contain " + "successful execution of this method will contain " "the formated Certificate Signing Request.Only the " "first element of the array property shall be " "populated." ), @@ -142,7 +142,7 @@ class CIM_CertificateManagementService : CIM_KeyBasedCredentialManagementService "This method is called to generate to generate a " "self-signed certificate. If either Subject parameter or " "AltSubject parameter are NULL, the method shall return 2 " - "(Error Occured). If the PublicPrivateKeyPair parameter " + "(Error Occurred). If the PublicPrivateKeyPair parameter " "is NULL, the following numbered requirements shall " "apply: 1) the PublicKeyAlgorithm shall be non-NULL and " "specify the algorithm to be used for the public key, 3) " @@ -175,7 +175,7 @@ class CIM_CertificateManagementService : CIM_KeyBasedCredentialManagementService ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096", "4097..32767", "32768..65535" }, Values { "Completed with No Error", "Not Supported", - "Error Occured", "Busy", "Invalid Reference", + "Error Occurred", "Busy", "Invalid Reference", "Invalid Parameter", "Access Denied", "DMTF Reserved", "Job Started", "Method Reserved", "Vendor Specified" }] uint32 CreateSelfSignedCertificate( @@ -209,10 +209,10 @@ class CIM_CertificateManagementService : CIM_KeyBasedCredentialManagementService "The PublicPrivateKeyPair parameter specifies a " "reference to an instance of CIM_UnsignedCredential " "which represents a public private key pair to be " - "utilized by the newly created selef signed " + "utilized by the newly created self signed " "certificate. The PublicKey and " "PublicKeyEncodingproperties of the instance of " - "CIM_UnsignedCredentialshall be Non-NULL." )] + "CIM_UnsignedCredential shall be Non-NULL." )] CIM_UnsignedCredential REF PublicPrivateKeyPair, [IN, Description ( "The Keystore parameter denotes the reference to " @@ -285,17 +285,17 @@ class CIM_CertificateManagementService : CIM_KeyBasedCredentialManagementService "referenced in the Keystore parameter. If the " "CredentialContext parameter is not NULL, the newly " "created instance(s) of the CIM_X509Certificate shall be " - "associated to the insatnces of CIM_ManagedElement " + "associated to the instances of CIM_ManagedElement " "referenced in the CredentialContext property through the " "CIM_CredentialContext association. If the " "CredentialContext parameter is NULL, the newly created " "instance(s) of the CIM_X509Certificate shall not be " - "associated to the insatnces of CIM_ManagedElement " + "associated to the instances of CIM_ManagedElement " "through the CIM_CredentialContext association." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096", "4097..32767", "32768..65535" }, Values { "Completed with No Error", "Not Supported", - "Error Occured", "Busy", "Invalid Reference", + "Error Occurred", "Busy", "Invalid Reference", "Invalid Parameter", "Access Denied", "DMTF Reserved", "Job Started", "Method Reserved", "Vendor Specified" }] uint32 ImportEncodedCertificates( @@ -377,17 +377,17 @@ class CIM_CertificateManagementService : CIM_KeyBasedCredentialManagementService "referenced in the Keystore parameter. If the " "CredentialContext parameter is not NULL, the newly " "created instance(s) of the CIM_X509Certificate shall be " - "associated to the insatnces of CIM_ManagedElement " + "associated to the instances of CIM_ManagedElement " "referenced in the CredentialContext property through the " "CIM_CredentialContext association.If the " "CredentialContext parameter is NULL, the newly created " "instance(s) of the CIM_X509Certificate shall not be " - "associated to the insatnces of CIM_ManagedElement " + "associated to the instances of CIM_ManagedElement " "through the CIM_CredentialContext association." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096", "4097..32767", "32768..65535" }, Values { "Completed with No Error", "Not Supported", - "Error Occured", "Busy", "Invalid Reference", + "Error Occurred", "Busy", "Invalid Reference", "Invalid Parameter", "Access Denied", "DMTF Reserved", "Job Started", "Method Reserved", "Vendor Specified" }] uint32 ImportCertificates( @@ -457,7 +457,7 @@ class CIM_CertificateManagementService : CIM_KeyBasedCredentialManagementService ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096", "4097..32767", "32768..65535" }, Values { "Completed with No Error", "Not Supported", - "Error Occured", "Busy", "Invalid Reference", + "Error Occurred", "Busy", "Invalid Reference", "Invalid Parameter", "Access Denied", "DMTF Reserved", "Job Started", "Method Reserved", "Vendor Specified" }] uint32 ExportEncodedCertificates( @@ -499,13 +499,13 @@ class CIM_CertificateManagementService : CIM_KeyBasedCredentialManagementService "instance(s) of CIM_X509CRL shall be associated to the " "instance of the CIM_Keystore referenced in the Keystore " "parameter. The newly created instance(s) of the " - "CIM_X509CRL shall be associated to the insatnces of " + "CIM_X509CRL shall be associated to the instances of " "CIM_ManagedElement referenced in the CredentialContext " "property through the CIM_CredentialContext association." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096", "4097..32767", "32768..65535" }, Values { "Completed with No Error", "Not Supported", - "Error Occured", "Busy", "Invalid Reference", + "Error Occurred", "Busy", "Invalid Reference", "Invalid Parameter", "Access Denied", "DMTF Reserved", "Job Started", "Method Reserved", "Vendor Specified" }] uint32 ApplyCRL( @@ -556,13 +556,13 @@ class CIM_CertificateManagementService : CIM_KeyBasedCredentialManagementService "instance(s) of CIM_X509CRL shall be associated to the " "instance of the CIM_Keystore referenced in the Keystore " "parameter. The newly created instance(s) of the " - "CIM_X509CRL shall be associated to the insatnces of " + "CIM_X509CRL shall be associated to the instances of " "CIM_ManagedElement referenced in the CredentialContext " "property through the CIM_CredentialContext association." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096", "4097..32767", "32768..65535" }, Values { "Completed with No Error", "Not Supported", - "Error Occured", "Busy", "Invalid Reference", + "Error Occurred", "Busy", "Invalid Reference", "Invalid Parameter", "Access Denied", "DMTF Reserved", "Job Started", "Method Reserved", "Vendor Specified" }] uint32 ApplyDecodedCRL( diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_CredentialManagementCapabilities.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_CredentialManagementCapabilities.mof index 6802eaaa4..083c9eb68 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_CredentialManagementCapabilities.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_CredentialManagementCapabilities.mof @@ -23,10 +23,10 @@ class CIM_CredentialManagementCapabilities : CIM_EnabledLogicalElementCapabiliti "accumulate the user\'s privileges for credentials or " "credential stores that are directly or indirectly " "associated with the CIM_CredentialManagementService that " - "this instace represents the capability of. \r\n" + "this instance represents the capability of. \r\n" "This methodology is applicable to the credentials and " "credential stores that are members of another credential store.\r\n" - "The methodology describes how the same user\'s privilges " + "The methodology describes how the same user\'s privileges " "for a credential gets reconciled with that user\'s " "privileges for the credential store that the credential " "belongs to. The methodology is also applicable for " @@ -38,21 +38,21 @@ class CIM_CredentialManagementCapabilities : CIM_EnabledLogicalElementCapabiliti "CIM_MemberOfCollection association, overrides the same " "user\'s privileges on the CIM_Credential and/or " "CIM_CredentialStore referenced by the Member property of " - "the same CIM_MemberOfCollection asscociation.\r\n" + "the same CIM_MemberOfCollection association.\r\n" "3 - Member Privileges Override - the user\'s privileges " "on the instance of CIM_Credential and/or " "CIM_CredentialStore that is referenced by the Member " "property of CIM_MemberOfCollection association, " "overrides the same user\'s privileges on the " "CIM_CredentialStore referenced by the Collection " - "property of the same CIM_MemberOfCollection asscociation.\r\n" + "property of the same CIM_MemberOfCollection association.\r\n" "4 - Collection-Member Privileges Union - the user\'s " "privileges on the instance of CIM_Credential and/or " "CIM_CredentialStore that is referenced by the Member " "property of CIM_MemberOfCollection association, are " "added to the same user\'s privileges on the " "CIM_CredentialStore referenced by the Collection " - "property of the same CIM_MemberOfCollection asscociation.\r\n" + "property of the same CIM_MemberOfCollection association.\r\n" "5 - Collection-Member Privileges Intersection - the " "user\'s privileges on the instance of CIM_Credential " "and/or CIM_CredentialStore that is referenced by the " @@ -60,7 +60,7 @@ class CIM_CredentialManagementCapabilities : CIM_EnabledLogicalElementCapabiliti "are valid only if the privileges are mirrored with the " "same user\'s privileges on the CIM_CredentialStore " "referenced by the Collection property of the same " - "CIM_MemberOfCollection asscociation." ), + "CIM_MemberOfCollection association." ), ValueMap { "2", "3", "4", "5" }, Values { "Collection Privileges Override", "Member Privileges Override", diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_Group.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_Group.mof index 99d620d73..7edb3bcdb 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_Group.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_Group.mof @@ -1,5 +1,5 @@ // Copyright (c) 2005 DMTF. All rights reserved. -// Clarify inteeded use for +// Clarify intended use for // LDAP, not general // Add UmlPackagePath // qualifier values to CIM Schema. diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_KeyBasedCredentialManagementService.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_KeyBasedCredentialManagementService.mof index 14b9c5922..09882e8d1 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_KeyBasedCredentialManagementService.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_KeyBasedCredentialManagementService.mof @@ -5,8 +5,8 @@ UMLPackagePath ( "CIM::User::SecurityServices" ), Description ( "CIM_KeyBasedCredentialManagementService manages key based " - "credentials such as symmetric and assymetric key pairs and " - "certificates. It also manages the infrustracture necessary for " + "credentials such as symmetric and asymmetric key pairs and " + "certificates. It also manages the infrastructure necessary for " "the key based credentials such as key repositories." )] class CIM_KeyBasedCredentialManagementService : CIM_CredentialManagementService { @@ -14,7 +14,7 @@ class CIM_KeyBasedCredentialManagementService : CIM_CredentialManagementService [Description ( "This method is called to request an import of " "public/private key pair. The method is used when " - "assymetric private/public keys are generated elsewhere " + "asymmetric private/public keys are generated elsewhere " "but are required by the managed system for creation of " "Certificate Signing Requests (CSRs) or self-signed " "certificates or any other key based credentials. Upon " @@ -31,7 +31,7 @@ class CIM_KeyBasedCredentialManagementService : CIM_CredentialManagementService ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096", "4097..32767", "32768..65535" }, Values { "Completed with No Error", "Not Supported", - "Error Occured", "Busy", "Invalid Reference", + "Error Occurred", "Busy", "Invalid Reference", "Invalid Parameter", "Access Denied", "DMTF Reserved", "Job Started", "Method Reserved", "Vendor Specified" }] uint32 ImportPublicPrivateKeyPair( @@ -103,7 +103,7 @@ class CIM_KeyBasedCredentialManagementService : CIM_CredentialManagementService ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096", "4097..32767", "32768..65535" }, Values { "Completed with No Error", "Not Supported", - "Error Occured", "Busy", "Invalid Reference", + "Error Occurred", "Busy", "Invalid Reference", "Invalid Parameter", "Access Denied", "DMTF Reserved", "Job Started", "Method Reserved", "Vendor Specified" }] uint32 CreateKeystore( diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_MemberPrincipal.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_MemberPrincipal.mof index 6b17842a7..64b9873c3 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_MemberPrincipal.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_MemberPrincipal.mof @@ -33,7 +33,7 @@ class CIM_MemberPrincipal : CIM_MemberOfCollection { [Deprecated { "No value" }, Description ( - "A MemberPrincipal may be identifed in several ways that " + "A MemberPrincipal may be identified in several ways that " "may be either direct or indirect membership in the " "collection. \n" "-A \'UsersAccess\' membership directly identifies the " diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_Notary.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_Notary.mof index 5125b2782..f2554728d 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_Notary.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_Notary.mof @@ -21,7 +21,7 @@ class CIM_Notary : CIM_CredentialManagementService { ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8" }, Values { "N/A", "Other", "Facial", "Retina", "Mark", "Finger", "Voice", "DNA-RNA", "EEG" }] - uint16 Comparitors; + uint16 Comparators; [Description ( "The SealProtocol is how the decision of the Notary is " diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_PrivilegeManagementService.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_PrivilegeManagementService.mof index 93967a06e..25c7b0fc8 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_PrivilegeManagementService.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_PrivilegeManagementService.mof @@ -125,7 +125,7 @@ class CIM_PrivilegeManagementService : CIM_AuthorizationService { "named Target. AuthorizedPrivilege instances used " "as a templates in this property SHOULD have a " "HostedDependency association to the " - "PriviligeManagementService and SHOULD NOT have any " + "PrivilegeManagementService and SHOULD NOT have any " "AuthorizedTarget or AuthorizedSubject associations " "to it." )] CIM_AuthorizedPrivilege REF Privilege); diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_SecurityService.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_SecurityService.mof index 3c70e5929..e130d1f05 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_SecurityService.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_SecurityService.mof @@ -6,7 +6,7 @@ // ================================================================== [Abstract, Version ( "2.6.0" ), UMLPackagePath ( "CIM::User::SecurityServices" ), - Description ( "A service providing security functionaity." )] + Description ( "A service providing security functionality." )] class CIM_SecurityService : CIM_Service { diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_SharedSecretService.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_SharedSecretService.mof index 229bcdb55..fb8fc5009 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_SharedSecretService.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_SharedSecretService.mof @@ -13,7 +13,7 @@ "on the basis of knowledge of the shared secret, or a transport " "integrity service (like Kerberos provides) that includes a " "message authenticity code that proves each message in the " - "messsage stream came from someone who knows the shared secret " + "message stream came from someone who knows the shared secret " "session key." )] class CIM_SharedSecretService : CIM_LocalCredentialManagementService { diff --git a/Unix/share/omischema/CIM-2.32.0/User/CIM_SystemAdministrator.mof b/Unix/share/omischema/CIM-2.32.0/User/CIM_SystemAdministrator.mof index a4f2717e6..6653b0160 100644 --- a/Unix/share/omischema/CIM-2.32.0/User/CIM_SystemAdministrator.mof +++ b/Unix/share/omischema/CIM-2.32.0/User/CIM_SystemAdministrator.mof @@ -17,7 +17,7 @@ class CIM_SystemAdministrator : CIM_Dependency { [Override ( "Dependent" ), Description ( - "The UserEntity that provides the admininstrative " + "The UserEntity that provides the administrative " "function for the associated system." )] CIM_UserEntity REF Dependent; diff --git a/Unix/share/omischema/CIM-2.32.0/qualifiers.mof b/Unix/share/omischema/CIM-2.32.0/qualifiers.mof index cf9724c15..39f16524c 100644 --- a/Unix/share/omischema/CIM-2.32.0/qualifiers.mof +++ b/Unix/share/omischema/CIM-2.32.0/qualifiers.mof @@ -124,14 +124,14 @@ Qualifier ModelCorrespondence : string[], Scope(any); /* -The Nonlocal qualifer has been removed (as an errata) as of CIM 2.3 +The Nonlocal qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier Nonlocal : string = null, Scope(reference); /* -The NonlocalType qualifer has been removed (as an errata) as of CIM 2.3 +The NonlocalType qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier NonlocalType : string = null, @@ -183,14 +183,14 @@ Qualifier Schema : string = null, Flavor(DisableOverride, ToSubclass, Translatable); /* -The Source qualifer has been removed (as an errata) as of CIM 2.3 +The Source qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier Source : string = null, Scope(class, association, indication); /* -The SourceType qualifer has been removed (as an errata) as of CIM 2.3 +The SourceType qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier SourceType : string = null, diff --git a/Unix/sock/selector.c b/Unix/sock/selector.c index 58661205b..fd6e289fb 100644 --- a/Unix/sock/selector.c +++ b/Unix/sock/selector.c @@ -112,7 +112,7 @@ typedef struct _SelectorRep /* flag that allows empty selector running when empty selector runs, it only can be interrupted by - internal funcitons, since it has no sockets to monitor + internal functions, since it has no sockets to monitor */ MI_Boolean allowEmptySelector; @@ -340,7 +340,7 @@ void _Selector_WakeupFromWait( /* * This function guaranties that callback is called in 'Run'/'IO' thread context, - * so locking is required for accessing sokcet objects, updating buffers etc + * so locking is required for accessing socket objects, updating buffers etc */ MI_Result Selector_CallInIOThread( Selector* self, diff --git a/Unix/sock/selector.h b/Unix/sock/selector.h index a999419fc..30a490693 100644 --- a/Unix/sock/selector.h +++ b/Unix/sock/selector.h @@ -79,7 +79,7 @@ MI_Result Selector_ContainsHandler( self - selector timeoutUsec - time to run - Retunrs: + Returns: OK - was stopped by StopRunning call FAILED - system call 'select' failed or no more sockets to monitor TIMEOUT - timeout reached @@ -91,8 +91,8 @@ MI_Result Selector_Run( int Selector_IsSelectorThread(Selector* self, ThreadID *id); -/* Informs selector's Run method that it should exit normaly. - Funciton is safe for calling from signal hanlder */ +/* Informs selector's Run method that it should exit normally. + Function is safe for calling from signal handler */ MI_Result Selector_StopRunning( Selector* self); MI_Result Selector_StopRunningNoReadsMode( @@ -107,7 +107,7 @@ MI_Result Selector_Wakeup( /* * This function guaranties that callback is called in 'Run'/'IO' thread context, - * so no locking is required for accessing sokcet objects, updating buffers etc + * so no locking is required for accessing socket objects, updating buffers etc */ MI_Result Selector_CallInIOThread( Selector* self, diff --git a/Unix/strhash/strhash.cpp b/Unix/strhash/strhash.cpp index a1bd23d7d..faa97975b 100644 --- a/Unix/strhash/strhash.cpp +++ b/Unix/strhash/strhash.cpp @@ -388,7 +388,7 @@ static void GenFastHashStrFunction( Map m; - // Conslidate tuples with like str length + // Consolidate tuples with like str length for (size_t i = 0; i < tuples.size(); i++) { size_t n = tuples[i].str.size(); @@ -459,7 +459,7 @@ static void GenSmallHashStrFunction( Map m; - // Conslidate tuples with like hash code: + // Consolidate tuples with like hash code: for (size_t i = 0; i < tuples.size(); i++) { const string& s = tuples[i].str; diff --git a/Unix/tests/base/schema.c b/Unix/tests/base/schema.c index 3ba9e3906..e7aca4792 100644 --- a/Unix/tests/base/schema.c +++ b/Unix/tests/base/schema.c @@ -2484,7 +2484,7 @@ static MI_CONST MI_PropertyDecl CIM_ManagedSystemElement_DetailedStatus_prop = NULL, }; -static MI_CONST MI_Char* CIM_ManagedSystemElement_OperatingStatus_Description_qual_value = MI_T("OperatingStatus provides a current status value for the operational condition of the element and can be used for providing more detail with respect to the value of EnabledState. It can also provide the transitional states when an element is transitioning from one state to another, such as when an element is transitioning between EnabledState and RequestedState, as well as other transitional conditions.\nOperatingStatus consists of one of the following values: Unknown, Not Available, In Service, Starting, Stopping, Stopped, Aborted, Dormant, Completed, Migrating, Emmigrating, Immigrating, Snapshotting. Shutting Down, In Test \nA Null return indicates the implementation (provider) does not implement this property. \n\"Unknown\" indicates the implementation is in general capable of returning this property, but is unable to do so at this time. \n\"None\" indicates that the implementation (provider) is capable of returning a value for this property, but not ever for this particular piece of hardware/software or the property is intentionally not used because it adds no meaningful information (as in the case of a property that is intended to add additional info to another property). \n\"Servicing\" describes an element being configured, maintained, cleaned, or otherwise administered. \n\"Starting\" describes an element being initialized. \n\"Stopping\" describes an element being brought to an orderly stop. \n\"Stopped\" and \"Aborted\" are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the state and configuration of the element might need to be updated. \n\"Dormant\" indicates that the element is inactive or quiesced. \n\"Completed\" indicates that the element has completed its operation. This value should be combined with either OK, Error, or Degraded in the PrimaryStatus so that a client can tell if the complete operation Completed with OK (passed), Completed with Error (failed), or Completed with Degraded (the operation finished, but it did not complete OK or did not report an error). \n\"Migrating\" element is being moved between host elements. \n\"Immigrating\" element is being moved to new host element. \n\"Emigrating\" element is being moved away from host element. \n\"Shutting Down\" describes an element being brought to an abrupt stop. \n\"In Test\" element is performing test functions. \n\"Transitioning\" describes an element that is between states, that is, it is not fully available in either its previous state or its next state. This value should be used if other values indicating a transition to a specific state are not applicable.\n\"In Service\" describes an element that is in service and operational."); +static MI_CONST MI_Char* CIM_ManagedSystemElement_OperatingStatus_Description_qual_value = MI_T("OperatingStatus provides a current status value for the operational condition of the element and can be used for providing more detail with respect to the value of EnabledState. It can also provide the transitional states when an element is transitioning from one state to another, such as when an element is transitioning between EnabledState and RequestedState, as well as other transitional conditions.\nOperatingStatus consists of one of the following values: Unknown, Not Available, In Service, Starting, Stopping, Stopped, Aborted, Dormant, Completed, Migrating, Emigrating, Immigrating, Snapshotting. Shutting Down, In Test \nA Null return indicates the implementation (provider) does not implement this property. \n\"Unknown\" indicates the implementation is in general capable of returning this property, but is unable to do so at this time. \n\"None\" indicates that the implementation (provider) is capable of returning a value for this property, but not ever for this particular piece of hardware/software or the property is intentionally not used because it adds no meaningful information (as in the case of a property that is intended to add additional info to another property). \n\"Servicing\" describes an element being configured, maintained, cleaned, or otherwise administered. \n\"Starting\" describes an element being initialized. \n\"Stopping\" describes an element being brought to an orderly stop. \n\"Stopped\" and \"Aborted\" are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the state and configuration of the element might need to be updated. \n\"Dormant\" indicates that the element is inactive or quiesced. \n\"Completed\" indicates that the element has completed its operation. This value should be combined with either OK, Error, or Degraded in the PrimaryStatus so that a client can tell if the complete operation Completed with OK (passed), Completed with Error (failed), or Completed with Degraded (the operation finished, but it did not complete OK or did not report an error). \n\"Migrating\" element is being moved between host elements. \n\"Immigrating\" element is being moved to new host element. \n\"Emigrating\" element is being moved away from host element. \n\"Shutting Down\" describes an element being brought to an abrupt stop. \n\"In Test\" element is performing test functions. \n\"Transitioning\" describes an element that is between states, that is, it is not fully available in either its previous state or its next state. This value should be used if other values indicating a transition to a specific state are not applicable.\n\"In Service\" describes an element that is in service and operational."); static MI_CONST MI_Qualifier CIM_ManagedSystemElement_OperatingStatus_Description_qual = { diff --git a/Unix/tests/base/test_base.cpp b/Unix/tests/base/test_base.cpp index 7bf9f156a..3997b0279 100644 --- a/Unix/tests/base/test_base.cpp +++ b/Unix/tests/base/test_base.cpp @@ -1474,7 +1474,7 @@ NitsEndTest ** ** TestBuf() ** -** This test excercises the Buf implementation. It packs and unpacks +** This test exercises the Buf implementation. It packs and unpacks ** integer values of lengths 8-bit, 16-bit, 32-bit, and 64-bit. The values ** and the lengths are selected randomly. The unpacked values are compared ** with the original packed values (the original values are save in a @@ -1586,7 +1586,7 @@ NitsEndTest ** ** TestBuf2() ** -** This test excercises the string pack/unpack functions of Buf. +** This test exercises the string pack/unpack functions of Buf. ** It packs N decimal formatted strings and then unpacks them, comparing ** that backed and unpacked forms are consistent. ** @@ -1629,7 +1629,7 @@ NitsEndTest ** ** TestBuf3() ** -** This test excercises the integer array pack/unpack functions of Buf. +** This test exercises the integer array pack/unpack functions of Buf. ** It packs N arrays of various lengths and attempts to unpack them and ** compare the results. ** @@ -1742,7 +1742,7 @@ NitsEndTest ** ** TestBuf4() ** -** This test excercises the string array pack/unpack functions of Buf. +** This test exercises the string array pack/unpack functions of Buf. ** **============================================================================== */ @@ -3586,7 +3586,7 @@ NitsTestWithSetup(TestStrandEnter, TestBaseSetup) Strand_ScheduleAck( strand1 ); - // Thet one should run either + // That one should run either TEST_ASSERT( !strand1->info.otherAckPending ); TEST_ASSERT( strand2->info.thisAckPending ); @@ -3606,7 +3606,7 @@ NitsTestWithSetup(TestStrandEnter, TestBaseSetup) Strand_Close( strand1 ); Strand_Leave( strand1 ); - // Previous Leave Strand gets the Post/Ack the oportunity to run + // Previous Leave Strand gets the Post/Ack the opportunity to run TEST_ASSERT( 0 == strandTest.numFinished ); diff --git a/Unix/tests/base/test_class.cpp b/Unix/tests/base/test_class.cpp index c7e399bd5..886aac730 100644 --- a/Unix/tests/base/test_class.cpp +++ b/Unix/tests/base/test_class.cpp @@ -339,7 +339,7 @@ NitsTest(Test_Class_GetElementAt) NitsCompareString(name, PAL_T("Key"), PAL_T("param 0 of AllTypes should be Key")); NitsCompare(type, MI_UINT32, PAL_T("param 0 of AllTypes should be UINT32")); NitsCompare(flags, MI_FLAG_PROPERTY|MI_FLAG_KEY, PAL_T("param 0 of AllTypes should have MI_FLAG_PROPERTY|MI_FLAG_KEY flags")); - NitsCompare(MI_Class_GetElementAt(newClass, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL), MI_RESULT_OK, PAL_T("Getting MI_Class_GetElementAt should succeed with only madatory parameters")); + NitsCompare(MI_Class_GetElementAt(newClass, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL), MI_RESULT_OK, PAL_T("Getting MI_Class_GetElementAt should succeed with only mandatory parameters")); MI_Class_Delete(newClass); } } @@ -1226,9 +1226,9 @@ NitsTest(Class_New_NoParent) PAL_T("root"), /* Not needed if parentClass is passed in */ PAL_T("localhost"), /* Not needed if parentClass is passed in */ PAL_T("MyClass"), /* class name */ - 0, /* number of extra class qualifiers you want to create. Allowes us to pre-create array of correct size */ - 0, /* number of extra properties you want to create. Allowes us to pre-create array of correct size */ - 0, /* number of extra methods you want to create. Allowes us to pre-create array of correct size */ + 0, /* number of extra class qualifiers you want to create. Allows us to pre-create array of correct size */ + 0, /* number of extra properties you want to create. Allows us to pre-create array of correct size */ + 0, /* number of extra methods you want to create. Allows us to pre-create array of correct size */ &newClass /* Object that is ready to receive new qualifiers/properties/methods */ ); if (NitsCompare(res, MI_RESULT_OK, PAL_T("RC Class Creation should succeed"))) @@ -1249,9 +1249,9 @@ NitsTest(Class_New_ClassQualifiers_NoParent) PAL_T("root"), /* Not needed if parentClass is passed in */ PAL_T("localhost"), /* Not needed if parentClass is passed in */ PAL_T("MyClass"), /* class name */ - 2, /* number of extra class qualifiers you want to create. Allowes us to pre-create array of correct size */ - 0, /* number of extra properties you want to create. Allowes us to pre-create array of correct size */ - 0, /* number of extra methods you want to create. Allowes us to pre-create array of correct size */ + 2, /* number of extra class qualifiers you want to create. Allows us to pre-create array of correct size */ + 0, /* number of extra properties you want to create. Allows us to pre-create array of correct size */ + 0, /* number of extra methods you want to create. Allows us to pre-create array of correct size */ &newClass /* Object that is ready to receive new qualifiers/properties/methods */ ); if (NitsCompare(res, MI_RESULT_OK, PAL_T("RC Class Creation should succeed"))) @@ -1277,9 +1277,9 @@ NitsTest(Class_New_Methods_NoParent) PAL_T("root"), /* Not needed if parentClass is passed in */ PAL_T("localhost"), /* Not needed if parentClass is passed in */ PAL_T("MyClass"), /* class name */ - 0, /* number of extra class qualifiers you want to create. Allowes us to pre-create array of correct size */ - 0, /* number of extra properties you want to create. Allowes us to pre-create array of correct size */ - 1, /* number of extra methods you want to create. Allowes us to pre-create array of correct size */ + 0, /* number of extra class qualifiers you want to create. Allows us to pre-create array of correct size */ + 0, /* number of extra properties you want to create. Allows us to pre-create array of correct size */ + 1, /* number of extra methods you want to create. Allows us to pre-create array of correct size */ &newClass /* Object that is ready to receive new qualifiers/properties/methods */ ); if (NitsCompare(res, MI_RESULT_OK, PAL_T("RC Class Creation should succeed"))) @@ -1317,9 +1317,9 @@ NitsTest(Class_New_EverythingWithValidation_NoParent) PAL_T("root"), /* Not needed if parentClass is passed in */ PAL_T("localhost"), /* Not needed if parentClass is passed in */ PAL_T("BaseClass"), /* class name */ - 1, /* number of extra class qualifiers you want to create. Allowes us to pre-create array of correct size */ - 1, /* number of extra properties you want to create. Allowes us to pre-create array of correct size */ - 1, /* number of extra methods you want to create. Allowes us to pre-create array of correct size */ + 1, /* number of extra class qualifiers you want to create. Allows us to pre-create array of correct size */ + 1, /* number of extra properties you want to create. Allows us to pre-create array of correct size */ + 1, /* number of extra methods you want to create. Allows us to pre-create array of correct size */ &baseClass /* Object that is ready to receive new qualifiers/properties/methods */ ); @@ -1390,9 +1390,9 @@ NitsTest(Class_New_ClassElement_NoParent) PAL_T("root"), /* Not needed if parentClass is passed in */ PAL_T("localhost"), /* Not needed if parentClass is passed in */ PAL_T("MyClass"), /* class name */ - 0, /* number of extra class qualifiers you want to create. Allowes us to pre-create array of correct size */ - 1, /* number of extra properties you want to create. Allowes us to pre-create array of correct size */ - 0, /* number of extra methods you want to create. Allowes us to pre-create array of correct size */ + 0, /* number of extra class qualifiers you want to create. Allows us to pre-create array of correct size */ + 1, /* number of extra properties you want to create. Allows us to pre-create array of correct size */ + 0, /* number of extra methods you want to create. Allows us to pre-create array of correct size */ &newClass /* Object that is ready to receive new qualifiers/properties/methods */ ); if (NitsCompare(res, MI_RESULT_OK, PAL_T("RC Class Creation should succeed"))) @@ -1426,9 +1426,9 @@ NitsTest(Class_New_WithParent) PAL_T("root"), /* Not needed if parentClass is passed in */ PAL_T("localhost"), /* Not needed if parentClass is passed in */ PAL_T("BaseClass"), /* class name */ - 1, /* number of extra class qualifiers you want to create. Allowes us to pre-create array of correct size */ - 1, /* number of extra properties you want to create. Allowes us to pre-create array of correct size */ - 1, /* number of extra methods you want to create. Allowes us to pre-create array of correct size */ + 1, /* number of extra class qualifiers you want to create. Allows us to pre-create array of correct size */ + 1, /* number of extra properties you want to create. Allows us to pre-create array of correct size */ + 1, /* number of extra methods you want to create. Allows us to pre-create array of correct size */ &baseClass /* Object that is ready to receive new qualifiers/properties/methods */ ); if (NitsCompare(res, MI_RESULT_OK, PAL_T("RC Class Creation should succeed")) && @@ -1452,9 +1452,9 @@ NitsTest(Class_New_WithParent) NULL, /* Not needed if parentClass is passed in */ NULL, /* Not needed if parentClass is passed in */ PAL_T("DerivedClass"),/* class name */ - 1, /* number of extra class qualifiers you want to create. Allowes us to pre-create array of correct size */ - 1, /* number of extra properties you want to create. Allowes us to pre-create array of correct size */ - 1, /* number of extra methods you want to create. Allowes us to pre-create array of correct size */ + 1, /* number of extra class qualifiers you want to create. Allows us to pre-create array of correct size */ + 1, /* number of extra properties you want to create. Allows us to pre-create array of correct size */ + 1, /* number of extra methods you want to create. Allows us to pre-create array of correct size */ &derivedClass /* Object that is ready to receive new qualifiers/properties/methods */ ); if (NitsCompare(res, MI_RESULT_OK, PAL_T("RC derived Class Creation should succeed")) && @@ -1540,9 +1540,9 @@ NitsTest(Class_New_WithParent_ButOverridden) PAL_T("root"), /* Not needed if parentClass is passed in */ PAL_T("localhost"), /* Not needed if parentClass is passed in */ PAL_T("BaseClass"), /* class name */ - 1, /* number of extra class qualifiers you want to create. Allowes us to pre-create array of correct size */ - 1, /* number of extra properties you want to create. Allowes us to pre-create array of correct size */ - 1, /* number of extra methods you want to create. Allowes us to pre-create array of correct size */ + 1, /* number of extra class qualifiers you want to create. Allows us to pre-create array of correct size */ + 1, /* number of extra properties you want to create. Allows us to pre-create array of correct size */ + 1, /* number of extra methods you want to create. Allows us to pre-create array of correct size */ &baseClass /* Object that is ready to receive new qualifiers/properties/methods */ ); if (NitsCompare(res, MI_RESULT_OK, PAL_T("RC Class Creation should succeed")) && @@ -1566,9 +1566,9 @@ NitsTest(Class_New_WithParent_ButOverridden) NULL, /* Not needed if parentClass is passed in */ NULL, /* Not needed if parentClass is passed in */ PAL_T("DerivedClass"),/* class name */ - 1, /* number of extra class qualifiers you want to create. Allowes us to pre-create array of correct size */ - 1, /* number of extra properties you want to create. Allowes us to pre-create array of correct size */ - 1, /* number of extra methods you want to create. Allowes us to pre-create array of correct size */ + 1, /* number of extra class qualifiers you want to create. Allows us to pre-create array of correct size */ + 1, /* number of extra properties you want to create. Allows us to pre-create array of correct size */ + 1, /* number of extra methods you want to create. Allows us to pre-create array of correct size */ &derivedClass /* Object that is ready to receive new qualifiers/properties/methods */ ); if (NitsCompare(res, MI_RESULT_OK, PAL_T("RC derived Class Creation should succeed")) && diff --git a/Unix/tests/base/test_timer.cpp b/Unix/tests/base/test_timer.cpp index fd4fce0eb..6e7dd1b1d 100644 --- a/Unix/tests/base/test_timer.cpp +++ b/Unix/tests/base/test_timer.cpp @@ -204,7 +204,7 @@ NitsTest1(TimerTest_BasicFireTimer, TimerTest_SetupSelectorAndStrand, NitsEmptyV NitsEndTest // -// Verifies that the timer is fired/closed uppon strand finish. +// Verifies that the timer is fired/closed upon strand finish. // NitsTest1(TimerTest_StrandFinish, TimerTest_SetupSelectorAndStrand, NitsEmptyValue) { @@ -219,7 +219,7 @@ NitsTest1(TimerTest_StrandFinish, TimerTest_SetupSelectorAndStrand, NitsEmptyVal Strand_StartTimer( &timerTestStrand.strand, &timer, SIXTY_SECONDS_AS_USEC ); // Large value to ensure that the timer gets canceled. The system will not actually wait this long unless the test case fails. - // Simutlate closed interaction + // Simulate closed interaction timerTestStrand.strand.info.thisAckPending = timerTestStrand.strand.info.otherAckPending = MI_FALSE; timerTestStrand.strand.info.thisClosedOther = timerTestStrand.strand.info.otherClosedThis = MI_TRUE; diff --git a/Unix/tests/cli/test_cli.cpp b/Unix/tests/cli/test_cli.cpp index 8b7377522..8f6fdab9e 100644 --- a/Unix/tests/cli/test_cli.cpp +++ b/Unix/tests/cli/test_cli.cpp @@ -2811,7 +2811,7 @@ NitsTestWithSetup(TestOMICLI_PreExec1, TestCliSetupSudo) NitsResult rslt = NitsTrue; - // We have a knonw provider, which produces a file named "cli_preexec.txt" when the preexec is run. + // We have a known provider, which produces a file named "cli_preexec.txt" when the preexec is run. // The first request to the agent should cause the preexec to be run. The second should not produce the file struct passwd *root_pw_info = getpwuid(0); string out; @@ -2824,7 +2824,7 @@ NitsTestWithSetup(TestOMICLI_PreExec1, TestCliSetupSudo) removeIfExist(resultFile); // remove cli_preexec.txt is case there is one laying around string str; - // Verify that the preexec gets called the firrst request to a provider with a defined preexec. + // Verify that the preexec gets called the first request to a provider with a defined preexec. string expect; char resultids[100]; sprintf(resultids, "%u %u 0 %d\n", (unsigned) getuid(), (unsigned) getgid(), root_pw_info->pw_gid); @@ -2861,7 +2861,7 @@ NitsTestWithSetup(TestOMICLI_PreExec1, TestCliSetupSudo) goto Done; } - // Verify that the preexec does not get called after the firrst request to a provider with a defined preexec. + // Verify that the preexec does not get called after the first request to a provider with a defined preexec. removeIfExist(resultFile); // remove cli_preexec.txt // Execute the request, but we should not see the file produced by the preexec. diff --git a/Unix/tests/codec/mof/blue/consts.c b/Unix/tests/codec/mof/blue/consts.c index 19b51d79f..6451c4bdc 100644 --- a/Unix/tests/codec/mof/blue/consts.c +++ b/Unix/tests/codec/mof/blue/consts.c @@ -648,36 +648,36 @@ const MI_Uint32 cDscSchemaCount = 5; #define MOF_PROPERTY_DOUBLE_SEMICOLON "instance of C\n"\ "{Value=1;; test='C'};" -#define MOF_INSTASNCE_DOUBLE_BRACKET "instance of D {{"\ - "instane of D {{" +#define MOF_INSTANCE_DOUBLE_BRACKET "instance of D {{"\ + "instance of D {{" -#define MOF_INSTASNCE_WRONG_ALIAS_VALUE "INSTANCe of MSFT_STOCK {price=$40, " +#define MOF_INSTANCE_WRONG_ALIAS_VALUE "INSTANCe of MSFT_STOCK {price=$40, " -#define MOF_INSTASNCE_WRONG_ROPERTY_NAME "INSTANCe of MSFT_STOCK {123ABC=A, " +#define MOF_INSTANCE_WRONG_PROPERTY_NAME "INSTANCe of MSFT_STOCK {123ABC=A, " -#define MOF_INSTASNCE_WRONG_PROPERTY_NAME_LINE "\n\nINSTANCe \n\nof \n\n\nMSFT_STOCK {123ABC=A, " +#define MOF_INSTANCE_WRONG_PROPERTY_NAME_LINE "\n\nINSTANCe \n\nof \n\n\nMSFT_STOCK {123ABC=A, " -#define MOF_INSTASNCE_WRONG_PRAGMA_TOKEN "#pragmax include \"x.mof\"" +#define MOF_INSTANCE_WRONG_PRAGMA_TOKEN "#pragmax include \"x.mof\"" -#define MOF_INSTASNCE_WRONG_PRAGMA_VALUE "#pragma INVALID \"x.mof\"" +#define MOF_INSTANCE_WRONG_PRAGMA_VALUE "#pragma INVALID \"x.mof\"" -#define MOF_INSTASNCE_STRING_INCOMPLETE "[description(\"this is a test) ]class A{string key;};" +#define MOF_INSTANCE_STRING_INCOMPLETE "[description(\"this is a test) ]class A{string key;};" -#define MOF_INSTASNCE_CHAR16_EMPTY "instance of A{key='';};" +#define MOF_INSTANCE_CHAR16_EMPTY "instance of A{key='';};" -#define MOF_INSTASNCE_CHAR16_ESCAPED_INCOMPLETE "instance of A{key='\\;};" +#define MOF_INSTANCE_CHAR16_ESCAPED_INCOMPLETE "instance of A{key='\\;};" -#define MOF_INSTASNCE_CHAR16_ESCAPED_HEX_LONG "instance of A{key='\\x123456';};" +#define MOF_INSTANCE_CHAR16_ESCAPED_HEX_LONG "instance of A{key='\\x123456';};" -#define MOF_INSTASNCE_CHAR16_ESCAPED_HEX_NON_NUMBER "instance of A{key='\\xZGD';};" +#define MOF_INSTANCE_CHAR16_ESCAPED_HEX_NON_NUMBER "instance of A{key='\\xZGD';};" -#define MOF_INSTASNCE_CHAR16_ESCAPED_TWO_CHAR "instance of A{key='\\rr';};" +#define MOF_INSTANCE_CHAR16_ESCAPED_TWO_CHAR "instance of A{key='\\rr';};" -#define MOF_INSTASNCE_CHAR16_ESCAPED_INVALID_CHAR "instance of A{key='\\m';};" +#define MOF_INSTANCE_CHAR16_ESCAPED_INVALID_CHAR "instance of A{key='\\m';};" -#define MOF_INSTASNCE_CHAR16_INVALID_CHAR "instance of A{key='cc';};" +#define MOF_INSTANCE_CHAR16_INVALID_CHAR "instance of A{key='cc';};" -#define MOF_INSTASNCE_CHAR16_EOF_BUFFER "instance of A{key='" +#define MOF_INSTANCE_CHAR16_EOF_BUFFER "instance of A{key='" #define MOF_INVALID_COMMENT_NON_CLOSED "/*asnfasdfsdf instance of C" @@ -706,8 +706,8 @@ InvalidMofResult InvalidMofs[] = NULL, NULL}, { - MOF_INSTASNCE_DOUBLE_BRACKET, - sizeof(MOF_INSTASNCE_DOUBLE_BRACKET), + MOF_INSTANCE_DOUBLE_BRACKET, + sizeof(MOF_INSTANCE_DOUBLE_BRACKET), MI_RESULT_FAILED, ID_SYNTAX_ERROR, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -715,8 +715,8 @@ InvalidMofResult InvalidMofs[] = NULL, NULL}, { - MOF_INSTASNCE_WRONG_ALIAS_VALUE, - sizeof(MOF_INSTASNCE_WRONG_ALIAS_VALUE), + MOF_INSTANCE_WRONG_ALIAS_VALUE, + sizeof(MOF_INSTANCE_WRONG_ALIAS_VALUE), MI_RESULT_FAILED, ID_SYNTAX_ERROR_INVALID_TOKEN, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -724,8 +724,8 @@ InvalidMofResult InvalidMofs[] = NULL, NULL}, { - MOF_INSTASNCE_WRONG_ROPERTY_NAME, - sizeof(MOF_INSTASNCE_WRONG_ROPERTY_NAME), + MOF_INSTANCE_WRONG_PROPERTY_NAME, + sizeof(MOF_INSTANCE_WRONG_PROPERTY_NAME), MI_RESULT_FAILED, ID_SYNTAX_ERROR_INVALID_NUMBER_VALUE, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -733,8 +733,8 @@ InvalidMofResult InvalidMofs[] = NULL, NULL}, { - MOF_INSTASNCE_WRONG_PROPERTY_NAME_LINE, - sizeof(MOF_INSTASNCE_WRONG_PROPERTY_NAME_LINE), + MOF_INSTANCE_WRONG_PROPERTY_NAME_LINE, + sizeof(MOF_INSTANCE_WRONG_PROPERTY_NAME_LINE), MI_RESULT_FAILED, ID_SYNTAX_ERROR_INVALID_NUMBER_VALUE, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -742,8 +742,8 @@ InvalidMofResult InvalidMofs[] = NULL, NULL}, { - MOF_INSTASNCE_WRONG_PRAGMA_TOKEN, - sizeof(MOF_INSTASNCE_WRONG_PRAGMA_TOKEN), + MOF_INSTANCE_WRONG_PRAGMA_TOKEN, + sizeof(MOF_INSTANCE_WRONG_PRAGMA_TOKEN), MI_RESULT_FAILED, ID_SYNTAX_ERROR_INVALID_TOKEN, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -751,8 +751,8 @@ InvalidMofResult InvalidMofs[] = NULL, NULL}, { - MOF_INSTASNCE_WRONG_PRAGMA_VALUE, - sizeof(MOF_INSTASNCE_WRONG_PRAGMA_VALUE), + MOF_INSTANCE_WRONG_PRAGMA_VALUE, + sizeof(MOF_INSTANCE_WRONG_PRAGMA_VALUE), MI_RESULT_FAILED, ID_SYNTAX_ERROR, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -762,8 +762,8 @@ InvalidMofResult InvalidMofs[] = }, { - MOF_INSTASNCE_STRING_INCOMPLETE, - sizeof(MOF_INSTASNCE_STRING_INCOMPLETE), + MOF_INSTANCE_STRING_INCOMPLETE, + sizeof(MOF_INSTANCE_STRING_INCOMPLETE), MI_RESULT_FAILED, ID_SYNTAX_ERROR_INCOMPLETE_STRING_VALUE, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -773,8 +773,8 @@ InvalidMofResult InvalidMofs[] = }, { - MOF_INSTASNCE_CHAR16_EMPTY, - sizeof(MOF_INSTASNCE_CHAR16_EMPTY), + MOF_INSTANCE_CHAR16_EMPTY, + sizeof(MOF_INSTANCE_CHAR16_EMPTY), MI_RESULT_FAILED, ID_SYNTAX_ERROR_INVALID_CHAR16_VALUE, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -784,8 +784,8 @@ InvalidMofResult InvalidMofs[] = }, { - MOF_INSTASNCE_CHAR16_ESCAPED_INCOMPLETE, - sizeof(MOF_INSTASNCE_CHAR16_ESCAPED_INCOMPLETE), + MOF_INSTANCE_CHAR16_ESCAPED_INCOMPLETE, + sizeof(MOF_INSTANCE_CHAR16_ESCAPED_INCOMPLETE), MI_RESULT_FAILED, ID_SYNTAX_ERROR_INCOMPLETE_ESCAPED_CHAR16_VALUE, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -795,8 +795,8 @@ InvalidMofResult InvalidMofs[] = }, { - MOF_INSTASNCE_CHAR16_ESCAPED_HEX_LONG, - sizeof(MOF_INSTASNCE_CHAR16_ESCAPED_HEX_LONG), + MOF_INSTANCE_CHAR16_ESCAPED_HEX_LONG, + sizeof(MOF_INSTANCE_CHAR16_ESCAPED_HEX_LONG), MI_RESULT_FAILED, ID_ILLEGAL_HEX_CHARACTER, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -806,8 +806,8 @@ InvalidMofResult InvalidMofs[] = }, { - MOF_INSTASNCE_CHAR16_ESCAPED_HEX_NON_NUMBER, - sizeof(MOF_INSTASNCE_CHAR16_ESCAPED_HEX_NON_NUMBER), + MOF_INSTANCE_CHAR16_ESCAPED_HEX_NON_NUMBER, + sizeof(MOF_INSTANCE_CHAR16_ESCAPED_HEX_NON_NUMBER), MI_RESULT_FAILED, ID_ILLEGAL_HEX_CHARACTER, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -817,8 +817,8 @@ InvalidMofResult InvalidMofs[] = }, { - MOF_INSTASNCE_CHAR16_ESCAPED_TWO_CHAR, - sizeof(MOF_INSTASNCE_CHAR16_ESCAPED_TWO_CHAR), + MOF_INSTANCE_CHAR16_ESCAPED_TWO_CHAR, + sizeof(MOF_INSTANCE_CHAR16_ESCAPED_TWO_CHAR), MI_RESULT_FAILED, ID_SYNTAX_ERROR_INVALID_ESCAPED_CHAR16_VALUE, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -828,8 +828,8 @@ InvalidMofResult InvalidMofs[] = }, { - MOF_INSTASNCE_CHAR16_ESCAPED_INVALID_CHAR, - sizeof(MOF_INSTASNCE_CHAR16_ESCAPED_INVALID_CHAR), + MOF_INSTANCE_CHAR16_ESCAPED_INVALID_CHAR, + sizeof(MOF_INSTANCE_CHAR16_ESCAPED_INVALID_CHAR), MI_RESULT_FAILED, ID_SYNTAX_ERROR_INVALID_ESCAPED_CHAR, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -839,8 +839,8 @@ InvalidMofResult InvalidMofs[] = }, { - MOF_INSTASNCE_CHAR16_INVALID_CHAR, - sizeof(MOF_INSTASNCE_CHAR16_INVALID_CHAR), + MOF_INSTANCE_CHAR16_INVALID_CHAR, + sizeof(MOF_INSTANCE_CHAR16_INVALID_CHAR), MI_RESULT_FAILED, ID_SYNTAX_ERROR_INVALID_CHAR16_VALUE, MI_ERRORCATEGORY_SYNTAX_ERROR, @@ -850,8 +850,8 @@ InvalidMofResult InvalidMofs[] = }, { - MOF_INSTASNCE_CHAR16_EOF_BUFFER, - sizeof(MOF_INSTASNCE_CHAR16_EOF_BUFFER), + MOF_INSTANCE_CHAR16_EOF_BUFFER, + sizeof(MOF_INSTANCE_CHAR16_EOF_BUFFER), MI_RESULT_FAILED, ID_SYNTAX_ERROR_INVALID_CHAR16_VALUE, MI_ERRORCATEGORY_SYNTAX_ERROR, diff --git a/Unix/tests/codec/mof/blue/mofs/dscschema.mof b/Unix/tests/codec/mof/blue/mofs/dscschema.mof index 0efe13ae1..9f3618e15 100644 --- a/Unix/tests/codec/mof/blue/mofs/dscschema.mof +++ b/Unix/tests/codec/mof/blue/mofs/dscschema.mof @@ -84,7 +84,7 @@ class MSFT_FileDirectoryConfiguration:MSFT_BaseResourceConfiguration [Read, Description("Modified date")] datetime ModifiedDate; - //We are using definitions of FileAttributes enumaration in .NET, except "Device" which is reserved for future use + //We are using definitions of FileAttributes enumeration in .NET, except "Device" which is reserved for future use [Write, Values{"ReadOnly", "Hidden", "System", "Archive"}, Description("Attributes for file / directory")] string Attributes[]; diff --git a/Unix/tests/codec/mof/blue/test_mof.cpp b/Unix/tests/codec/mof/blue/test_mof.cpp index 255aa8b3d..a552058ac 100644 --- a/Unix/tests/codec/mof/blue/test_mof.cpp +++ b/Unix/tests/codec/mof/blue/test_mof.cpp @@ -81,7 +81,7 @@ NitsTest(TestClassArrayDeserializer_HEXString) int c = Tcscasecmp(ca->data[0]->classDecl->name, MI_T("A")); NitsAssert(c == 0, L"Class name error"); - NitsAssert(ca->data[0]->classDecl->numQualifiers == 1, L"Class should have 1 qualifer"); + NitsAssert(ca->data[0]->classDecl->numQualifiers == 1, L"Class should have 1 qualifier"); MI_Value *qv = (MI_Value *)ca->data[0]->classDecl->qualifiers[0]->value; MI_Char qvc[5] = {(MI_Char)0xDCFF, (MI_Char)'s', (MI_Char)'d', (MI_Char)'f', 0}; c = Tcscasecmp(qv->string, (ZChar*)qvc); @@ -566,7 +566,7 @@ MI_Result _InitializeClassesFromMof( return r; } -/*Initliaze global test data*/ +/*Initialize global test data*/ MI_Result InitializeTestData() { MI_Result r = MI_RESULT_OK; @@ -617,8 +617,8 @@ MI_Result MI_CALL ClassObjectNeededCallback( _Outptr_ MI_Class **requestedClassObject) { MofCodecer* codecer = (MofCodecer*)context; - NitsAssert(codecer != NULL, L"coecer is NULL"); - NitsAssert(codecer->magicnumber == cmagicnumber, L"coecer is invalid"); + NitsAssert(codecer != NULL, L"codecer is NULL"); + NitsAssert(codecer->magicnumber == cmagicnumber, L"codecer is invalid"); if (codecer->servername) { int c = Tcscmp(serverName, codecer->servername); @@ -664,7 +664,7 @@ MI_Result _getIncludedFileBufferCallback( { *fileBuffer = NULL; *bufferLength = 0; - NitsAssert(codecer->stackposstackposstackpos >= INCLUDE_STACK_SIZE) return MI_RESULT_FAILED; while(cm->file != NULL) { @@ -695,8 +695,8 @@ MI_Result MI_CALL GetIncludedFileBufferCallback( NitsAssert(codecer != NULL, L"codecer is NULL"); if (codecer == NULL) return MI_RESULT_INVALID_PARAMETER; - NitsAssert(codecer->magicnumber == cmagicnumber, L"coecer is invalid"); - NitsAssert(codecer->stackpos < INCLUDE_STACK_SIZE, L"coecer included buffer overflowed"); + NitsAssert(codecer->magicnumber == cmagicnumber, L"codecer is invalid"); + NitsAssert(codecer->stackpos < INCLUDE_STACK_SIZE, L"codecer included buffer overflowed"); codecer->includeFileCalledTimes ++; *fileBuffer = NULL; *bufferLength = 0; @@ -718,9 +718,9 @@ void MI_CALL FreeIncludedFileBufferCallback( _In_ MI_Uint8 *Buffer) { MofCodecer* codecer = (MofCodecer*)context; - NitsAssert(codecer != NULL, L"coecer is NULL"); - NitsAssert(codecer->magicnumber == cmagicnumber, L"coecer is invalid"); - NitsAssert(codecer->stackpos > 0, L"coecer included buffer stack is invalid"); + NitsAssert(codecer != NULL, L"codecer is NULL"); + NitsAssert(codecer->magicnumber == cmagicnumber, L"codecer is invalid"); + NitsAssert(codecer->stackpos > 0, L"codecer included buffer stack is invalid"); codecer->stackpos--; codecer->freeincludeFileCalledTimes ++; _Analysis_assume_(codecer->stackpos < INCLUDE_STACK_SIZE); @@ -784,7 +784,7 @@ NitsTest(TestClass_Callbacks) NitsAssert( r==MI_RESULT_OK, L"deserialize class mof failed"); if (r!=MI_RESULT_OK) goto CleanUp; NitsAssert( err==NULL, L"deserialize class should not output error instance"); - NitsAssert( ca!=NULL, L"deserialize class should output class arary"); + NitsAssert( ca!=NULL, L"deserialize class should output class array"); _Analysis_assume_(ca != NULL); NitsAssert( ca->size == 1, L"deserialize class mof failed"); NitsAssert( codecer.classNeedCalledTimes == 1, L"deserialize classNeeded callback time is wrong"); @@ -913,7 +913,7 @@ NitsTest(TestInstance_Callbacks) if (r!=MI_RESULT_OK) goto CleanUp; NitsAssert( err==NULL, L"deserialize should not output error instance"); - NitsAssert( ia!=NULL, L"deserialize should output instance arary"); + NitsAssert( ia!=NULL, L"deserialize should output instance array"); NitsAssert( ia->size == 2, L"deserialize class mof failed"); NitsAssert( readbytes == (moflen-1), L"deserializer read length is wrong"); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); @@ -986,7 +986,7 @@ NitsTest(TestInstance_SchemaValidationOptions_OneClassUndefined) &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize should fail"); NitsAssert( err!=NULL, L"deserialize should not output error instance"); - NitsAssert( ia==NULL, L"deserialize should output instance arary"); + NitsAssert( ia==NULL, L"deserialize should output instance array"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, ID_UNDEFINED_CLASS, MI_ERRORCATEGORY_SYNTAX_ERROR); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); MI_Instance_DeleteHelper(err); @@ -1011,7 +1011,7 @@ NitsTest(TestInstance_SchemaValidationOptions_OneClassUndefined) &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize should fail"); NitsAssert( err!=NULL, L"deserialize should not output error instance"); - NitsAssert( ia==NULL, L"deserialize should output instance arary"); + NitsAssert( ia==NULL, L"deserialize should output instance array"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, ID_UNDEFINED_CLASS, MI_ERRORCATEGORY_SYNTAX_ERROR); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); MI_Instance_DeleteHelper(err); @@ -1036,7 +1036,7 @@ NitsTest(TestInstance_SchemaValidationOptions_OneClassUndefined) &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize should fail"); NitsAssert( err!=NULL, L"deserialize should not output error instance"); - NitsAssert( ia==NULL, L"deserialize should output instance arary"); + NitsAssert( ia==NULL, L"deserialize should output instance array"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, ID_UNDEFINED_CLASS, MI_ERRORCATEGORY_SYNTAX_ERROR); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); MI_Instance_DeleteHelper(err); @@ -1061,7 +1061,7 @@ NitsTest(TestInstance_SchemaValidationOptions_OneClassUndefined) &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize should fail"); NitsAssert( err!=NULL, L"deserialize should not output error instance"); - NitsAssert( ia==NULL, L"deserialize should output instance arary"); + NitsAssert( ia==NULL, L"deserialize should output instance array"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, ID_UNDEFINED_CLASS, MI_ERRORCATEGORY_SYNTAX_ERROR); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); MI_Instance_DeleteHelper(err); @@ -1088,7 +1088,7 @@ NitsTest(TestInstance_SchemaValidationOptions_OneClassUndefined) if ( r!=MI_RESULT_OK ) goto CleanUp; NitsAssert( err==NULL, L"deserialize should not output error instance"); - NitsAssert( ia!=NULL, L"deserialize should output instance arary"); + NitsAssert( ia!=NULL, L"deserialize should output instance array"); NitsAssert( ia->size == 2, L"deserialize class mof failed"); NitsAssert( readbytes == (moflen-1), L"deserializer read length is wrong"); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); @@ -1154,7 +1154,7 @@ NitsTest(TestInstance_SchemaValidationOptions_OnePropertyMissedFromClass) &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize should fail"); NitsAssert( err!=NULL, L"deserialize should not output error instance"); - NitsAssert( ia==NULL, L"deserialize should output instance arary"); + NitsAssert( ia==NULL, L"deserialize should output instance array"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, ID_UNDEFINED_PROPERTY, MI_ERRORCATEGORY_SYNTAX_ERROR); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); MI_Instance_DeleteHelper(err); @@ -1179,7 +1179,7 @@ NitsTest(TestInstance_SchemaValidationOptions_OnePropertyMissedFromClass) &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize should fail"); NitsAssert( err!=NULL, L"deserialize should not output error instance"); - NitsAssert( ia==NULL, L"deserialize should output instance arary"); + NitsAssert( ia==NULL, L"deserialize should output instance array"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, ID_UNDEFINED_PROPERTY, MI_ERRORCATEGORY_SYNTAX_ERROR); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); MI_Instance_DeleteHelper(err); @@ -1204,7 +1204,7 @@ NitsTest(TestInstance_SchemaValidationOptions_OnePropertyMissedFromClass) &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize should fail"); NitsAssert( err!=NULL, L"deserialize should not output error instance"); - NitsAssert( ia==NULL, L"deserialize should output instance arary"); + NitsAssert( ia==NULL, L"deserialize should output instance array"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, ID_UNDEFINED_PROPERTY, MI_ERRORCATEGORY_SYNTAX_ERROR); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); MI_Instance_DeleteHelper(err); @@ -1234,7 +1234,7 @@ NitsTest(TestInstance_SchemaValidationOptions_OnePropertyMissedFromClass) return; } NitsAssert( err==NULL, L"deserialize should not output error instance"); - NitsAssert( ia!=NULL, L"deserialize should output instance arary"); + NitsAssert( ia!=NULL, L"deserialize should output instance array"); NitsAssert( ia->size == 2, L"deserialize class mof failed"); NitsAssert( readbytes == (moflen-1), L"deserializer read length is wrong"); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); @@ -1281,7 +1281,7 @@ NitsTest(TestInstance_SchemaValidationOptions_OnePropertyMissedFromClass) return; } NitsAssert( err==NULL, L"deserialize should not output error instance"); - NitsAssert( ia!=NULL, L"deserialize should output instance arary"); + NitsAssert( ia!=NULL, L"deserialize should output instance array"); NitsAssert( ia->size == 2, L"deserialize class mof failed"); NitsAssert( readbytes == (moflen-1), L"deserializer read length is wrong"); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); @@ -1340,7 +1340,7 @@ NitsTest(TestInstance_SchemaValidationOptions_WrongPropertyType) &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize should fail"); NitsAssert( err!=NULL, L"deserialize should not output error instance"); - NitsAssert( ia==NULL, L"deserialize should output instance arary"); + NitsAssert( ia==NULL, L"deserialize should output instance array"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, ID_CONVERT_PROPERTY_VALUE_FAILED, MI_ERRORCATEGORY_SYNTAX_ERROR); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); MI_Instance_DeleteHelper(err); @@ -1365,7 +1365,7 @@ NitsTest(TestInstance_SchemaValidationOptions_WrongPropertyType) &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize should fail"); NitsAssert( err!=NULL, L"deserialize should not output error instance"); - NitsAssert( ia==NULL, L"deserialize should output instance arary"); + NitsAssert( ia==NULL, L"deserialize should output instance array"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, ID_CONVERT_PROPERTY_VALUE_FAILED, MI_ERRORCATEGORY_SYNTAX_ERROR); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); MI_Instance_DeleteHelper(err); @@ -1390,7 +1390,7 @@ NitsTest(TestInstance_SchemaValidationOptions_WrongPropertyType) &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize should fail"); NitsAssert( err!=NULL, L"deserialize should not output error instance"); - NitsAssert( ia==NULL, L"deserialize should output instance arary"); + NitsAssert( ia==NULL, L"deserialize should output instance array"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, ID_CONVERT_PROPERTY_VALUE_FAILED, MI_ERRORCATEGORY_SYNTAX_ERROR); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); MI_Instance_DeleteHelper(err); @@ -1420,7 +1420,7 @@ NitsTest(TestInstance_SchemaValidationOptions_WrongPropertyType) return; } NitsAssert( err==NULL, L"deserialize should not output error instance"); - NitsAssert( ia!=NULL, L"deserialize should output instance arary"); + NitsAssert( ia!=NULL, L"deserialize should output instance array"); NitsAssert( ia->size == 2, L"deserialize class mof failed"); NitsAssert( readbytes == (moflen-1), L"deserializer read length is wrong"); NitsAssert( codecer.classNeedCalledTimes == 2, L"deserialize classNeeded callback count is wrong"); @@ -1464,7 +1464,7 @@ NitsTest(TestInstance_SchemaValidationOptions_WrongPropertyType) return; } NitsAssert( err==NULL, L"deserialize should not output error instance"); - NitsAssert( ia!=NULL, L"deserialize should output instance arary"); + NitsAssert( ia!=NULL, L"deserialize should output instance array"); _Analysis_assume_(ia != NULL); NitsAssert( ia->size == 2, L"deserialize class mof failed"); NitsAssert( readbytes == (moflen-1), L"deserializer read length is wrong"); @@ -1531,7 +1531,7 @@ NitsTest(TestInstance_Schema_Miscs) return; } NitsAssert( err==NULL, L"deserialize should not output error instance"); - NitsAssert( ia!=NULL, L"deserialize should output instance arary"); + NitsAssert( ia!=NULL, L"deserialize should output instance array"); NitsAssert( ia->size == 2, L"deserialize class mof failed"); NitsAssert( readbytes == (moflen-1), L"deserializer read length is wrong"); @@ -1598,7 +1598,7 @@ NitsTest(TestInstance_Schema_Miscs) return; } NitsAssert( err==NULL, L"deserialize should not output error instance"); - NitsAssert( ia!=NULL, L"deserialize should output instance arary"); + NitsAssert( ia!=NULL, L"deserialize should output instance array"); NitsAssert( ia->size == 3, L"deserialize class mof failed"); NitsAssert( readbytes == (mof2len-1), L"deserializer read length is wrong"); @@ -1675,7 +1675,7 @@ NitsTest(TestInstance_Schema_Miscs) return; } NitsAssert( err==NULL, L"deserialize should not output error instance"); - NitsAssert( ia!=NULL, L"deserialize should output instance arary"); + NitsAssert( ia!=NULL, L"deserialize should output instance array"); NitsAssert( ia->size == 3, L"deserialize class mof failed"); NitsAssert( readbytes == (mof3len-1), L"deserializer read length is wrong"); @@ -1815,7 +1815,7 @@ NitsTest(TestInstance_AliasMiscs) return; } NitsAssert( err==NULL, L"deserialize should not output error instance"); - NitsAssert( ia!=NULL, L"deserialize should output instance arary"); + NitsAssert( ia!=NULL, L"deserialize should output instance array"); NitsAssert( ia->size == 2, L"deserialize mof failed"); NitsAssert( readbytes == (moflen-1), L"deserializer read length is wrong"); @@ -1899,7 +1899,7 @@ char classmof[] = "#pragma include (\"etc/a.mof\")"\ return; } NitsAssert( err==NULL, L"deserialize class should not output error instance"); - NitsAssert( ca!=NULL, L"deserialize class should output class arary"); + NitsAssert( ca!=NULL, L"deserialize class should output class array"); _Analysis_assume_(ca != NULL); NitsAssert( ca->size == 2, L"deserialize class mof failed"); NitsAssert( codecer.classNeedCalledTimes == 0, L"deserialize classNeeded callback time is wrong"); @@ -1954,7 +1954,7 @@ NitsTest(TestClass_IncludeMof_RecurseInclude) return; } NitsAssert( err==NULL, L"deserialize class should not output error instance"); - NitsAssert( ca!=NULL, L"deserialize class should output class arary"); + NitsAssert( ca!=NULL, L"deserialize class should output class array"); _Analysis_assume_(ca != NULL); NitsAssert( ca->size == 5, L"deserialize class mof failed"); NitsAssert( codecer.classNeedCalledTimes == 0, L"deserialize classNeeded callback time is wrong"); @@ -2021,7 +2021,7 @@ char classmof[] = "#pragma include (\"etc/a.mof\")"\ return; } NitsAssert( err==NULL, L"deserialize class should not output error instance"); - NitsAssert( ca!=NULL, L"deserialize class should output class arary"); + NitsAssert( ca!=NULL, L"deserialize class should output class array"); _Analysis_assume_(ca != NULL); NitsAssert( ca->size == 1, L"deserialize class mof failed"); NitsAssert( codecer.classNeedCalledTimes == 0, L"deserialize classNeeded callback time is wrong"); @@ -2080,7 +2080,7 @@ NitsTest(TestInstance_IncludeSimpleMof) return; } NitsAssert( err==NULL, L"deserialize should not output error instance"); - NitsAssert( ia!=NULL, L"deserialize should output instance arary"); + NitsAssert( ia!=NULL, L"deserialize should output instance array"); _Analysis_assume_(ia != NULL); NitsAssert( ia->size == 5, L"deserialize class mof failed"); NitsAssert( readbytes == (moflen-1), L"deserializer read length is wrong"); @@ -2149,7 +2149,7 @@ NitsTest(TestInstance_IncludeRecurseMof) return; } NitsAssert( err==NULL, L"deserialize should not output error instance"); - NitsAssert( ia!=NULL, L"deserialize should output instance arary"); + NitsAssert( ia!=NULL, L"deserialize should output instance array"); _Analysis_assume_(ia != NULL); NitsAssert( ia->size == 2, L"deserialize class mof failed"); NitsAssert( readbytes == (moflen-1), L"deserializer read length is wrong"); @@ -2313,14 +2313,14 @@ NitsTest(TestClass_BLUEBUG_61179_61201_61218) MI_Uint32 qflag; MI_Uint32 index; r = MI_QualifierSet_GetQualifier(&set, MI_T("EmbeddedInstance"), &t, &qflag, &v, &index); - NitsAssert( r==MI_RESULT_OK, L"get EmbeddedInstance qualifer failed"); - NitsAssert( t==MI_STRING, L"EmbeddedInstance qualifer type should be MI_STRING"); + NitsAssert( r==MI_RESULT_OK, L"get EmbeddedInstance qualifier failed"); + NitsAssert( t==MI_STRING, L"EmbeddedInstance qualifier type should be MI_STRING"); f = qflag & MI_FLAG_TOSUBCLASS; - NitsAssert( f ==MI_FLAG_TOSUBCLASS, L"EmbeddedInstance qualifer should have MI_FLAG_TOSUBCLASS flag"); + NitsAssert( f ==MI_FLAG_TOSUBCLASS, L"EmbeddedInstance qualifier should have MI_FLAG_TOSUBCLASS flag"); f = qflag & MI_FLAG_ENABLEOVERRIDE; - NitsAssert( f ==MI_FLAG_ENABLEOVERRIDE, L"EmbeddedInstance qualifer should have MI_FLAG_ENABLEOVERRIDE flag"); + NitsAssert( f ==MI_FLAG_ENABLEOVERRIDE, L"EmbeddedInstance qualifier should have MI_FLAG_ENABLEOVERRIDE flag"); c = Tcscasecmp(v.string, MI_T("ReferenceClass")); - NitsAssert(c == 0, L"EmbeddedInstance qualifer value should be 'ReferenceClass'"); + NitsAssert(c == 0, L"EmbeddedInstance qualifier value should be 'ReferenceClass'"); r = MI_Class_GetElement(ca->data[1], MI_T("v_test"), &v, &exist, NULL, NULL, NULL, &flag, NULL); NitsAssert( r==MI_RESULT_OK, L"get v_test property failed"); @@ -2471,7 +2471,7 @@ NitsTest(TestClass_BLUEBUG_366961) DeleteMofCodecer(&codecer); NitsEndTest -/* qualifer callback */ +/* qualifier callback */ static MI_QualifierDecl dscversionQualifier = {MI_T("DSCVersion"), 0x0000000D, 0x00000031, 0x00000A80, 0x00000000, NULL}; typedef struct _QCBContext { @@ -2527,8 +2527,8 @@ NitsTest(TestClass_QualiferCallback) int c = Tcscasecmp(cls->data[0]->classDecl->name, MI_T("A")); NitsAssert(c == 0, L"Class name error"); - NitsAssert(cls->data[0]->classDecl->numQualifiers == 1, L"Class qualifers count is wrong"); - NitsAssert(cls->data[0]->classDecl->qualifiers[0]->value != NULL, L"Class qualifers value is NULL"); + NitsAssert(cls->data[0]->classDecl->numQualifiers == 1, L"Class qualifiers count is wrong"); + NitsAssert(cls->data[0]->classDecl->qualifiers[0]->value != NULL, L"Class qualifiers value is NULL"); NitsAssert(Tcscasecmp(cls->data[0]->classDecl->qualifiers[0]->name, MI_T("dscversion")) == 0, L"Class DSCVersion qualifier name is wrong"); MI_Char * v = *((MI_Char**)cls->data[0]->classDecl->qualifiers[0]->value); NitsAssert(Tcscasecmp(v, MI_T("1")) == 0, L"Class DSCVersion qualifier value is wrong"); @@ -2644,10 +2644,10 @@ NitsTest(TestInstance_Ref_InvalidReferencePropertyValue) NitsAssert( r==MI_RESULT_OK, L"Create mof deserializer failed"); if (r != MI_RESULT_OK) goto CleanUp; - MI_InstanceA *insta; + MI_InstanceA *instance; MI_Instance *err = NULL; r = MI_Deserializer_DeserializeInstanceArray( - &codecer.de, 0, NULL, NULL, (MI_Uint8*)classmof, sizeof(classmof), NULL, NULL, &insta, &err); + &codecer.de, 0, NULL, NULL, (MI_Uint8*)classmof, sizeof(classmof), NULL, NULL, &instance, &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize should fail"); NitsAssert( err != NULL, L"deserialize should get error"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, 69, MI_ERRORCATEGORY_SYNTAX_ERROR); @@ -2675,10 +2675,10 @@ NitsTest(TestInstance_Ref_InvalidEmbeddedPropertyValue) NitsAssert( r==MI_RESULT_OK, L"Create mof deserializer failed"); if (r != MI_RESULT_OK) goto CleanUp; - MI_InstanceA *insta; + MI_InstanceA *instance; MI_Instance *err = NULL; r = MI_Deserializer_DeserializeInstanceArray( - &codecer.de, 0, NULL, NULL, (MI_Uint8*)classmof, sizeof(classmof), NULL, NULL, &insta, &err); + &codecer.de, 0, NULL, NULL, (MI_Uint8*)classmof, sizeof(classmof), NULL, NULL, &instance, &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize should fail"); NitsAssert( err != NULL, L"deserialize should get error"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, 69, MI_ERRORCATEGORY_SYNTAX_ERROR); @@ -2708,10 +2708,10 @@ NitsTest(TestInstance_Ref_InvalidEmbeddedArrayPropertyValue) NitsAssert( r==MI_RESULT_OK, L"Create mof deserializer failed"); if (r != MI_RESULT_OK) goto CleanUp; - MI_InstanceA *insta; + MI_InstanceA *instance; MI_Instance *err = NULL; r = MI_Deserializer_DeserializeInstanceArray( - &codecer.de, 0, NULL, NULL, (MI_Uint8*)classmof, sizeof(classmof), NULL, NULL, &insta, &err); + &codecer.de, 0, NULL, NULL, (MI_Uint8*)classmof, sizeof(classmof), NULL, NULL, &instance, &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize should fail"); NitsAssert( err != NULL, L"deserialize should get error"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, 69, MI_ERRORCATEGORY_SYNTAX_ERROR); @@ -2788,10 +2788,10 @@ NitsTest(TestInstance_DatetimeValue) DeleteMofCodecer(&codecer); return; } - MI_InstanceA *insta; + MI_InstanceA *instance; MI_Instance *err = NULL; r = MI_Deserializer_DeserializeInstanceArray( - &codecer.de, 0, NULL, NULL, (MI_Uint8*)p->mof, p->len, NULL, NULL, &insta, &err); + &codecer.de, 0, NULL, NULL, (MI_Uint8*)p->mof, p->len, NULL, NULL, &instance, &err); NitsAssert( r==MI_RESULT_FAILED, L"deserialize failed"); NitsAssert( err != NULL, L"deserialize failed"); ValidateErrorInstance(err, MI_RESULT_TYPE_MOF_PARSER, p->errorcode, MI_ERRORCATEGORY_SYNTAX_ERROR); @@ -2807,10 +2807,10 @@ NitsTest(TestInstance_DatetimeValue) DeleteMofCodecer(&codecer); return; } - MI_InstanceA *insta; + MI_InstanceA *instance; MI_Instance *err = NULL; r = MI_Deserializer_DeserializeInstanceArray( - &codecer.de, 0, NULL, NULL, (MI_Uint8*)p->mof, p->len, NULL, NULL, &insta, &err); + &codecer.de, 0, NULL, NULL, (MI_Uint8*)p->mof, p->len, NULL, NULL, &instance, &err); NitsAssert( r==MI_RESULT_OK, L"deserialize failed"); if (r != MI_RESULT_OK) { @@ -2818,8 +2818,8 @@ NitsTest(TestInstance_DatetimeValue) return; } NitsAssert( err == NULL, L"deserialize gets error instance"); - NitsAssert( insta->size == 1, L"deserialize should get 1 instance"); - MI_Deserializer_ReleaseInstanceArray(insta); + NitsAssert( instance->size == 1, L"deserialize should get 1 instance"); + MI_Deserializer_ReleaseInstanceArray(instance); DeleteMofCodecer(&codecer); } NitsEndTest diff --git a/Unix/tests/codec/mof/tools/main.cpp b/Unix/tests/codec/mof/tools/main.cpp index 4b76dfc7c..2862f37da 100644 --- a/Unix/tests/codec/mof/tools/main.cpp +++ b/Unix/tests/codec/mof/tools/main.cpp @@ -182,7 +182,7 @@ void printSingleCharTable() /*============================================================================= ** -** Read content from file and translate to string defition in C code +** Read content from file and translate to string definition in C code ** =============================================================================*/ void file2str(const char * file, const char * opt) @@ -433,7 +433,7 @@ MI_Result MI_CALL GetIncludedFileBufferCallback( } if (codecer->stackpos >= INCLUDE_STACK_SIZE) { - printf("coedcer included buffer overflowed"); + printf("codecer included buffer overflowed"); return MI_RESULT_FAILED; } @@ -499,7 +499,7 @@ void MI_CALL FreeIncludedFileBufferCallback( } if (codecer->stackpos == 0) { - printf("coedcer included buffer underflowed"); + printf("codecer included buffer underflowed"); return; } codecer->stackpos--; @@ -779,7 +779,7 @@ void printUsage() printf(" [sctable] - print single char table. The chars are treated as separate token for mof LALR(1) grammar\n"); printf(" [file2str] - read text from file and print out in const string format. -a output ANSI string, -u outputs UNICODE string\n"); printf(" [file2lex] - parse mof file and print out tokens.\n"); - printf(" [printqual filename] - parse mof file and print out qualifiers declarasions.\n"); + printf(" [printqual filename] - parse mof file and print out qualifiers declarations.\n"); printf(" [parse filename [-c -i] -incroot dir [-pause]] - parse mof file and print out result. [-incrootpath] is a root path for search and load file(s), default is current folder.\n"); printf(" [sparse filename [-c -i] - parse mof file with one class / instance and print result.\n"); printf(" [createmof filename [-instance] [-count ]] - create a large class or instance mof file, contains 10K classes and 10K instances\n"); diff --git a/Unix/tests/codec/mof/util/util.h b/Unix/tests/codec/mof/util/util.h index 242e3a5f0..5e9a73668 100644 --- a/Unix/tests/codec/mof/util/util.h +++ b/Unix/tests/codec/mof/util/util.h @@ -53,7 +53,7 @@ typedef struct _MofCodecer /* options for callback */ MI_Result retvalueClassNeed; MI_Uint32 classNeedCalledTimes; - MI_Uint32 classNeedCallbackOptions; /*0-default, 1-search extened class*/ + MI_Uint32 classNeedCallbackOptions; /*0-default, 1-search extended class*/ MI_Result retvalueIncludeFile; MI_Uint32 includeFileCalledTimes; MI_Uint32 freeincludeFileCalledTimes; diff --git a/Unix/tests/codec/sample/main.c b/Unix/tests/codec/sample/main.c index 44fdb8bc2..f1aca5f5f 100644 --- a/Unix/tests/codec/sample/main.c +++ b/Unix/tests/codec/sample/main.c @@ -115,7 +115,7 @@ void DeserializeClassAndInstance() printf("\n\n\n"); - /* deserialize insance */ + /* deserialize instance */ { char instmof[] = "instance of MSFT_Embedded as $x{name=\"abc\";};\n" " instance of MSFT_Test {object=$x;};"; diff --git a/Unix/tests/http/test_httpclient.cpp b/Unix/tests/http/test_httpclient.cpp index 0d1f24c49..6f2264499 100644 --- a/Unix/tests/http/test_httpclient.cpp +++ b/Unix/tests/http/test_httpclient.cpp @@ -545,7 +545,7 @@ NitsTestWithSetup(TestHttpClient_BasicOperations, TestHttpClientSetup) HttpClient* http = 0; //const char* header_strings[] = { // "Content-Type: text/html", - // //"User-Agent: xplat http cleint" , + // //"User-Agent: xplat http client" , // "Host: host" //}; diff --git a/Unix/tests/indication/test_classlist.cpp b/Unix/tests/indication/test_classlist.cpp index 3cf8d9f47..2ab5005ce 100644 --- a/Unix/tests/indication/test_classlist.cpp +++ b/Unix/tests/indication/test_classlist.cpp @@ -153,7 +153,7 @@ NitsTest1(TestClassList_Success_OneClass, Test_Setup, sTestCS1) IndicationClassList_Delete(clist); NitsEndTest -void _VerifyIndicaitonClassDiscoveryResult( +void _VerifyIndicationClassDiscoveryResult( _In_ Test_ClasslistStruct* tcs, _In_opt_ StringTagElement* ste, _In_ MI_Uint32 steSize, @@ -221,7 +221,7 @@ static struct Test_ClasslistStruct sTestCS2 = { NULL}; NitsTest1(TestClassList_Success_ClassHierarchy, Test_Setup, sTestCS2) - _VerifyIndicaitonClassDiscoveryResult( + _VerifyIndicationClassDiscoveryResult( NitsContext()->_Test_Setup->_Test_ClasslistStruct, sTestCS2_ClassList, MI_COUNT(sTestCS2_ClassList)); @@ -285,7 +285,7 @@ static struct Test_ClasslistStruct sTestCS5 = { MI_FALSE, NULL}; NitsTest1(TestClassList_Success_Lifecycle_IndicationClassOnly, Test_Setup, sTestCS5) - _VerifyIndicaitonClassDiscoveryResult( + _VerifyIndicationClassDiscoveryResult( NitsContext()->_Test_Setup->_Test_ClasslistStruct, sTestCS5_ClassList, MI_COUNT(sTestCS5_ClassList), @@ -296,7 +296,7 @@ NitsEndTest **============================================================================== ** ** Positive test for lifecycle indication query -** Following test cases are designed to test discoverying Indication Classes for a +** Following test cases are designed to test discovering Indication Classes for a ** given lifecycle query targets to both indication & normal classes ** **============================================================================== @@ -316,7 +316,7 @@ static struct Test_ClasslistStruct sTestCS_Mixed1 = { MI_FALSE, NULL}; NitsTest1(TestClassList_Success_Lifecycle_Mixed, Test_Setup, sTestCS_Mixed1) - _VerifyIndicaitonClassDiscoveryResult( + _VerifyIndicationClassDiscoveryResult( NitsContext()->_Test_Setup->_Test_ClasslistStruct, s_ClassListMixed, MI_COUNT(s_ClassListMixed), @@ -331,7 +331,7 @@ static struct Test_ClasslistStruct sTestCS_Mixed2 = { MI_FALSE, NULL}; NitsTest1(TestClassList_Success_Lifecycle_Mixed2, Test_Setup, sTestCS_Mixed2) - _VerifyIndicaitonClassDiscoveryResult( + _VerifyIndicationClassDiscoveryResult( NitsContext()->_Test_Setup->_Test_ClasslistStruct, s_ClassListMixed, MI_COUNT(s_ClassListMixed), @@ -342,7 +342,7 @@ NitsEndTest **============================================================================== ** ** Positive test for lifecycle indication query -** Following test cases are designed to test discoverying Indication Classes for a +** Following test cases are designed to test discovering Indication Classes for a ** given lifecycle query targets to only normal classes (no indication class ** inherits from CIM_InstModification under root/indication2 ** @@ -361,7 +361,7 @@ static struct Test_ClasslistStruct sTestCS_NormalClassOnly = { MI_FALSE, NULL}; NitsTest1(TestClassList_Success_Lifecycle_Mixed3, Test_Setup, sTestCS_NormalClassOnly) - _VerifyIndicaitonClassDiscoveryResult( + _VerifyIndicationClassDiscoveryResult( NitsContext()->_Test_Setup->_Test_ClasslistStruct, s_ClassList_NormalClassOnly, MI_COUNT(s_ClassList_NormalClassOnly), @@ -376,7 +376,7 @@ static struct Test_ClasslistStruct sTestCS_NormalClassOnly2 = { MI_FALSE, NULL}; NitsTest1(TestClassList_Success_Lifecycle_Mixed4, Test_Setup, sTestCS_NormalClassOnly2) - _VerifyIndicaitonClassDiscoveryResult( + _VerifyIndicationClassDiscoveryResult( NitsContext()->_Test_Setup->_Test_ClasslistStruct, s_ClassList_NormalClassOnly, MI_COUNT(s_ClassList_NormalClassOnly), @@ -387,7 +387,7 @@ NitsEndTest **============================================================================== ** ** Positive test for lifecycle indication query -** Following test cases are designed to test discoverying Indication Classes for a +** Following test cases are designed to test discovering Indication Classes for a ** given lifecycle query targets to only one class ** **============================================================================== @@ -404,7 +404,7 @@ static struct Test_ClasslistStruct sTestCS_OneClass = { MI_FALSE, NULL}; NitsTest1(TestClassList_Success_Lifecycle_OneClass, Test_Setup, sTestCS_OneClass) - _VerifyIndicaitonClassDiscoveryResult( + _VerifyIndicationClassDiscoveryResult( NitsContext()->_Test_Setup->_Test_ClasslistStruct, s_ClassList_OneClass, MI_COUNT(s_ClassList_OneClass), @@ -428,7 +428,7 @@ static struct Test_ClasslistStruct sTestCS_NOTFOUND = { NULL}; NitsTest1(TestClassList_Fail_Lifecycle_NOT_FOUND, Test_Setup, sTestCS_NOTFOUND) Test_ClasslistStruct* tcs = NitsContext()->_Test_Setup->_Test_ClasslistStruct; - _VerifyIndicaitonClassDiscoveryResult( + _VerifyIndicationClassDiscoveryResult( tcs, NULL, 0, @@ -444,7 +444,7 @@ NitsEndTest **============================================================================== */ static struct Test_ClasslistStruct sTestCS_InvalidQuery1 = { - MI_T("select * from CIM_InstRead where (SourceInstance isa UnkownClass) OR (2>1)"), + MI_T("select * from CIM_InstRead where (SourceInstance isa UnknownClass) OR (2>1)"), QUERY_LANGUAGE_CQL, MI_T("root/indication2"), NULL, @@ -452,7 +452,7 @@ static struct Test_ClasslistStruct sTestCS_InvalidQuery1 = { NULL}; NitsTest1(TestClassList_Fail_Lifecycle_InvalidQuery1, Test_Setup, sTestCS_InvalidQuery1) Test_ClasslistStruct* tcs = NitsContext()->_Test_Setup->_Test_ClasslistStruct; - _VerifyIndicaitonClassDiscoveryResult( + _VerifyIndicationClassDiscoveryResult( tcs, NULL, 0, @@ -476,7 +476,7 @@ static struct Test_ClasslistStruct sTestCS_InvalidQuery2 = { NULL}; NitsTest1(TestClassList_Fail_Lifecycle_InvalidQuery2, Test_Setup, sTestCS_InvalidQuery2) Test_ClasslistStruct* tcs = NitsContext()->_Test_Setup->_Test_ClasslistStruct; - _VerifyIndicaitonClassDiscoveryResult( + _VerifyIndicationClassDiscoveryResult( tcs, NULL, 0, @@ -500,7 +500,7 @@ static struct Test_ClasslistStruct sTestCS_InvalidQuery3 = { NULL}; NitsTest1(TestClassList_Fail_Lifecycle_InvalidQuery3, Test_Setup, sTestCS_InvalidQuery3) Test_ClasslistStruct* tcs = NitsContext()->_Test_Setup->_Test_ClasslistStruct; - _VerifyIndicaitonClassDiscoveryResult( + _VerifyIndicationClassDiscoveryResult( tcs, NULL, 0, diff --git a/Unix/tests/indication/test_e2e.cpp b/Unix/tests/indication/test_e2e.cpp index 91e5c9433..b7c037475 100644 --- a/Unix/tests/indication/test_e2e.cpp +++ b/Unix/tests/indication/test_e2e.cpp @@ -700,7 +700,7 @@ static void Config_Subscribe_Validate(_In_ AlertTestStruct* ats) /* Cleanup actual result */ memset((void*)&ats->actual, 0, sizeof(ats->actual)); - /* Configure target indciation class(es)' behavior */ + /* Configure target indication class(es)' behavior */ miResult = _ConfigTargetClasses(ats); if (miResult != MI_RESULT_OK) { @@ -795,7 +795,7 @@ NitsEndSplit */ NitsSetup0(AlertTest_StartServer_Setup, AlertTestStruct) /* - * MI_Application_Intialize create global log file handler _os, + * MI_Application_Initialize create global log file handler _os, * MI_Application_Close closes it, * thus the test case needs to make sure not closing _os while * there are active MI_Application(s) objects @@ -815,7 +815,7 @@ NitsEndSetup */ NitsCleanup(AlertTest_StartServer_Setup) /* - * MI_Application_Intialize create global log file handler _os + * MI_Application_Initialize create global log file handler _os * MI_Application_Close closes it, * thus the test case needs to make sure not closing _os while * there are active MI_Application(s) objects @@ -870,7 +870,7 @@ NitsTest1(Test_Alert_OneClass_Success, AlertTest_StartServer_Setup, ATS1) 0 /* MI_Uint32 supportedSubscriptionTypes */); // - // Final result aggregated by mgrstand.c:SubscribeElem + // Final result aggregated by mgrstrand.c:SubscribeElem // if all indication class (provider) post OK during unsubscribe call, // then final result is MI_RESULT_OK; // current Test_Indication class do post MI_RESULT_OK during unsubscribe @@ -938,7 +938,7 @@ NitsTest1(Test_Alert_ComplexClass_Success, AlertTest_StartServer_Setup, ATS2) 0 /* MI_Uint32 supportedSubscriptionTypes */); // - // Final result aggregated by mgrstand.c:SubscribeElem + // Final result aggregated by mgrstrand.c:SubscribeElem // if all indication class (provider) post OK during unsubscribe call, // then final result is MI_RESULT_OK; // current Test_Indication class do post MI_RESULT_OK during unsubscribe @@ -1001,7 +1001,7 @@ NitsTest1(Test_Alert_PolymorphismClasses_Success, AlertTest_StartServer_Setup, A 0 /* MI_Uint32 supportedSubscriptionTypes */); // - // Final result aggregated by mgrstand.c:SubscribeElem + // Final result aggregated by mgrstrand.c:SubscribeElem // if all indication class (provider) post OK during unsubscribe call, // then final result is MI_RESULT_OK; // current Test_Indication class do post MI_RESULT_OK during unsubscribe @@ -1166,7 +1166,7 @@ static void Lifecycle_Config_Subscribe_Validate( /* Cleanup actual result */ memset((void*)&ats->actual, 0, sizeof(ats->actual)); - /* Configure target indciation class(es)' behavior */ + /* Configure target indication class(es)' behavior */ miResult = _ConfigTargetClasses(ats); if (miResult != MI_RESULT_OK) { @@ -1262,7 +1262,7 @@ NitsTest1(Test_Lifecycle_OneClass_Success, AlertTest_StartServer_Setup, ATS_Life MI_LIFECYCLE_INDICATION_CREATE /* MI_Uint32 supportedSubscriptionTypes */); // - // Final result aggregated by mgrstand.c:SubscribeElem + // Final result aggregated by mgrstrand.c:SubscribeElem // if all indication class (provider) post OK during unsubscribe call, // then final result is MI_RESULT_OK; // current Test_Indication class do post MI_RESULT_OK during unsubscribe @@ -1332,7 +1332,7 @@ NitsTest1(Test_Lifecycle_Complex_Success, AlertTest_StartServer_Setup, ATS_Lifec MI_LIFECYCLE_INDICATION_CREATE /* MI_Uint32 supportedSubscriptionTypes */); // - // Final result aggregated by mgrstand.c:SubscribeElem + // Final result aggregated by mgrstrand.c:SubscribeElem // if all indication class (provider) post OK during unsubscribe call, // then final result is MI_RESULT_OK; // current Test_Indication class do post MI_RESULT_OK during unsubscribe diff --git a/Unix/tests/indication/test_mgr.cpp b/Unix/tests/indication/test_mgr.cpp index 1e9648167..5dc589e24 100644 --- a/Unix/tests/indication/test_mgr.cpp +++ b/Unix/tests/indication/test_mgr.cpp @@ -127,7 +127,7 @@ NITS_EXTERN_C void _StrandProtocol_Post(_In_ Strand* self, _In_ Message* msg) msg->next = sp->postedMsgList; sp->postedMsgList = msg; - /* Ack to indicaiton manager */ + /* Ack to indication manager */ Strand_Ack(self); if (msg->tag == PostResultMsgTag) @@ -174,7 +174,7 @@ NITS_EXTERN_C void _StrandProtocol_Finished( _In_ Strand* self) /* to clean up StrandProtocol */ } -StrandFT _StrandProcotolFT1 = { +StrandFT _StrandProtocolFT1 = { _StrandProtocol_Post, _StrandProtocol_PostControl, _StrandProtocol_Ack, @@ -688,7 +688,7 @@ NitsEndTest NitsTest1(TestMgr_AddRemoveSubscription, TestMgr_Setup, sTestIM1) NitsFaultSimMarkForRerun; - // Disable Nits Fault injection here, beacuse in RegFile_New function (Called internally in ProvReg_Init) will + // Disable Nits Fault injection here, because in RegFile_New function (Called internally in ProvReg_Init) will // return NULL in both cases Failure OR failed to allocate. And Nits doesn't like that. NitsDisableFaultSim; @@ -892,7 +892,7 @@ void TestMgr_Subscribe_Unsubscribe_Cancel(_In_ Test_IndiMgrStruct* tts) StrandProtocol* sp = (StrandProtocol*)Strand_New( STRAND_DEBUG(StrandProtocol) - &_StrandProcotolFT1, + &_StrandProtocolFT1, sizeof(StrandProtocol), STRAND_FLAG_ENTERSTRAND, NULL); @@ -1101,7 +1101,7 @@ struct Unsubscribe_Struct MI_Boolean shouldUnsubscribe; }; -NitsSetup1(Subscription_Unsubscibe, Unsubscribe_Struct, TestMgr_Setup, sTestIM2) +NitsSetup1(Subscription_Unsubscribe, Unsubscribe_Struct, TestMgr_Setup, sTestIM2) NitsContext()->_Unsubscribe_Struct->shouldUnsubscribe = MI_TRUE; NitsEndSetup @@ -1109,7 +1109,7 @@ NitsSetup1(Subscription_Cancel, Unsubscribe_Struct, TestMgr_Setup, sTestIM2) NitsContext()->_Unsubscribe_Struct->shouldUnsubscribe = MI_FALSE; NitsEndSetup -NitsSplit2(Subscription_UnsubCancel, Unsubscribe_Struct, Subscription_Unsubscibe, Subscription_Cancel) +NitsSplit2(Subscription_UnsubCancel, Unsubscribe_Struct, Subscription_Unsubscribe, Subscription_Cancel) NitsEndSplit /* @@ -1132,7 +1132,7 @@ NitsTest1(TestMgr_SubscribeAllSuccess_Unsubscribe, Subscription_UnsubCancel, Sub {MI_RESULT_OK, MI_RESULT_OK, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_OK, MI_RESULT_OK, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1170,7 +1170,7 @@ NitsTest1(TestMgr_HandleSubscribe_Response_AllSuccess_SomeFailedLater, Subscript {MI_RESULT_OK, MI_RESULT_OK, MI_RESULT_CANCELED, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_OK, MI_RESULT_OK, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1207,7 +1207,7 @@ NitsTest1(TestMgr_HandleSubscribe_Response_AllSuccess_AllFailedLater, Subscripti {MI_RESULT_OK, MI_RESULT_OK, MI_RESULT_CANCELED, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_OK, MI_RESULT_OK, MI_RESULT_FAILED, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1244,7 +1244,7 @@ NitsTest1(TestMgr_HandleSubscribe_Response_SomeSuccess, Subscription_UnsubCancel {MI_RESULT_OK, MI_RESULT_OK, MI_RESULT_OK, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_OK, MI_RESULT_FAILED, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1281,7 +1281,7 @@ NitsTest1(TestMgr_HandleSubscribe_Response_SomeSuccess_SomeFailedLater, Subscrip {MI_RESULT_OK, MI_RESULT_OK, MI_RESULT_FAILED, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_OK, MI_RESULT_FAILED, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1318,7 +1318,7 @@ NitsTest1(TestMgr_HandleSubscribe_Response_SomeSuccess_AllFailedLater, Subscript {MI_RESULT_OK, MI_RESULT_OK, MI_RESULT_FAILED, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_OK, MI_RESULT_FAILED, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1355,7 +1355,7 @@ NitsTest1(TestMgr_HandleSubscribe_Response_OneSuccess, Subscription_UnsubCancel, {MI_RESULT_OK, MI_RESULT_FAILED, MI_RESULT_OK, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_OK, MI_RESULT_FAILED, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1392,7 +1392,7 @@ NitsTest1(TestMgr_HandleSubscribe_Response_OneSuccess_FailedLater, Subscription_ {MI_RESULT_OK, MI_RESULT_FAILED, MI_RESULT_OK, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_OK, MI_RESULT_FAILED, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1429,7 +1429,7 @@ NitsTest1(TestMgr_HandleSubscribe_Response_AllFailed, Subscription_UnsubCancel, {MI_RESULT_OK, MI_RESULT_FAILED, MI_RESULT_OK, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_OK, MI_RESULT_FAILED, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1467,7 +1467,7 @@ NitsTest1(TestMgr_HandleSubscribe_Handle_SomeSuccess_Response_AllSuccess, Subscr {MI_RESULT_FAILED, MI_RESULT_OK, MI_RESULT_OK, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_FAILED, MI_RESULT_OK, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1505,7 +1505,7 @@ NitsTest1(TestMgr_HandleSubscribe_Handle_SomeSuccess_Response_SomeSuccess, Subsc {MI_RESULT_FAILED, MI_RESULT_OK, MI_RESULT_OK, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_FAILED, MI_RESULT_OK, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1543,7 +1543,7 @@ NitsTest1(TestMgr_HandleSubscribe_Handle_SomeSuccess_Response_SomeSuccess_SomeFa {MI_RESULT_FAILED, MI_RESULT_OK, MI_RESULT_OK, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_FAILED, MI_RESULT_OK, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1581,7 +1581,7 @@ NitsTest1(TestMgr_HandleSubscribe_Handle_SomeSuccess_Response_SomeSuccess_AllFai {MI_RESULT_FAILED, MI_RESULT_OK, MI_RESULT_OK, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_FAILED, MI_RESULT_OK, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1618,7 +1618,7 @@ NitsTest1(TestMgr_HandleSubscribe_Handle_SomeSuccess_Response_AllFailed, Subscri {MI_RESULT_FAILED, MI_RESULT_OK, MI_RESULT_OK, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_FAILED, MI_RESULT_OK, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1655,7 +1655,7 @@ NitsTest1(TestMgr_HandleSubscribe_Handle_AllFailed, Subscription_UnsubCancel, Su {MI_RESULT_FAILED, MI_RESULT_OK, MI_RESULT_OK, 2, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_FAILED, MI_RESULT_OK, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_Subscription_UnsubCancel->_Subscription_Unsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_Subscription_UnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1706,7 +1706,7 @@ static struct Test_IndiMgrStruct sTestIM3 = { NULL, NULL}; -NitsSetup1(LCIndicationUnsubscibe, Unsubscribe_Struct, TestMgr_Setup, sTestIM3) +NitsSetup1(LCIndicationUnsubscribe, Unsubscribe_Struct, TestMgr_Setup, sTestIM3) NitsContext()->_Unsubscribe_Struct->shouldUnsubscribe = MI_TRUE; NitsEndSetup @@ -1714,7 +1714,7 @@ NitsSetup1(LCIndicationCancel, Unsubscribe_Struct, TestMgr_Setup, sTestIM3) NitsContext()->_Unsubscribe_Struct->shouldUnsubscribe = MI_FALSE; NitsEndSetup -NitsSplit2(LCIndicationUnsubCancel, Unsubscribe_Struct, LCIndicationUnsubscibe, LCIndicationCancel) +NitsSplit2(LCIndicationUnsubCancel, Unsubscribe_Struct, LCIndicationUnsubscribe, LCIndicationCancel) NitsEndSplit /* @@ -1736,7 +1736,7 @@ NitsTest1(TestMgr_HandleIndicationResult_LifecycleIndication_Success, LCIndicati {MI_RESULT_OK, MI_RESULT_OK, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE}, {MI_RESULT_OK, MI_RESULT_OK, MI_RESULT_OK, 1, 0, 0, MI_FALSE, MI_FALSE},}; - Test_IndiMgrStruct* tts = NitsContext()->_LCIndicationUnsubCancel->_LCIndicationUnsubscibe->_TestMgr_Setup->_Test_IndiMgrStruct; + Test_IndiMgrStruct* tts = NitsContext()->_LCIndicationUnsubCancel->_LCIndicationUnsubscribe->_TestMgr_Setup->_Test_IndiMgrStruct; tts->rar.samResponseSize = cLCIndicationClassCount; tts->rar.samResponse = responses; tts->rar.callUnsubscribe = NitsContext()->_LCIndicationUnsubCancel->_Unsubscribe_Struct->shouldUnsubscribe; @@ -1832,7 +1832,7 @@ static struct Test_IndiMgrStruct sTestIM5 = { NitsTest1(TestMgr_HandleIndicationResult_LifecycleIndication_InvalidQuery, TestMgr_Setup, sTestIM5) NitsFaultSimMarkForRerun; - // Disable Nits Fault injection here, beacuse in RegFile_New function (Called internally in ProvReg_Init) will + // Disable Nits Fault injection here, because in RegFile_New function (Called internally in ProvReg_Init) will // return NULL in both cases Failure OR failed to allocate. And Nits doesn't like that. NitsDisableFaultSim; diff --git a/Unix/tests/io/test_io.cpp b/Unix/tests/io/test_io.cpp index 776ef8c99..c5ba7ecc1 100644 --- a/Unix/tests/io/test_io.cpp +++ b/Unix/tests/io/test_io.cpp @@ -70,7 +70,7 @@ NitsTestWithSetup(Test0, TestIoSetup) "CHAR{Test0}\n" "ZCHAR{Test0}\n"; - // Be sure file contaisn what we expected: + // Be sure file contains what we expected: UT_ASSERT(strcmp(&data[0], DATA) == 0); } diff --git a/Unix/tests/miapi/main.cpp b/Unix/tests/miapi/main.cpp index 97c4e8317..e7e5c2259 100644 --- a/Unix/tests/miapi/main.cpp +++ b/Unix/tests/miapi/main.cpp @@ -206,7 +206,7 @@ NitsEndSetup NitsCleanup(SetupTestInstance) { MI_Instance *instance = NitsContext()->_BaseSetup->_RuntimeTestData->testInstance; - NitsCompare(MI_Instance_Delete(instance), MI_RESULT_OK, PAL_T("Failed to delete instace")); + NitsCompare(MI_Instance_Delete(instance), MI_RESULT_OK, PAL_T("Failed to delete instance")); } NitsEndCleanup @@ -350,7 +350,7 @@ NitsTest1(MI_Application_NewSession_Success_CloseSync, NitsEndTest /* Test creation of session, then close asynchronously */ -extern "C" void MI_CALL Test_Sesson_CloseAync_Callback(void *context) +extern "C" void MI_CALL Test_Sesson_CloseAsync_Callback(void *context) { ptrdiff_t *wait = (ptrdiff_t*) context; *wait = 1; @@ -367,7 +367,7 @@ NitsTest1(MI_Application_NewSession_Success_CloseAsync, NitsCompare(MI_Application_NewSession(application, PAL_T("Test1"), NULL, NULL, NULL, NULL, &session), MI_RESULT_OK, PAL_T("MI_Application_NewSession returns OK")); NitsAssert(session.ft != NULL, PAL_T("MI_Session function table should not be NULL")); - MI_Session_Close(&session, (void*) &wait, Test_Sesson_CloseAync_Callback); + MI_Session_Close(&session, (void*) &wait, Test_Sesson_CloseAsync_Callback); ptrdiff_t currentWait = wait; while (!currentWait) @@ -1523,7 +1523,7 @@ NitsTest2(MI_Session_GetInstance_Sync_InvalidParameters, session.ft->GetInstance(NULL, 0, NULL, NULL, testInstance, NULL, &operation); MI_Operation_GetInstance(&operation, &result, &moreResults, &resultCode, &errorMessage, &extendedInfo); - NitsCompare(resultCode, MI_RESULT_INVALID_PARAMETER, PAL_T("GetInstance should faul due to NULL session")); + NitsCompare(resultCode, MI_RESULT_INVALID_PARAMETER, PAL_T("GetInstance should fail due to NULL session")); MI_Operation_Close(&operation); session.ft->GetInstance(&session, 0, NULL, NULL, NULL, NULL, &operation); @@ -2040,7 +2040,7 @@ NitsTest2(MI_Session_ModifyInstance_Sync_InvalidParameters, session.ft->ModifyInstance(NULL, 0, NULL, NULL, testInstance, NULL, &operation); MI_Operation_GetInstance(&operation, &result, &moreResults, &resultCode, &errorMessage, &extendedInfo); - NitsCompare(resultCode, MI_RESULT_INVALID_PARAMETER, PAL_T("GetInstance should faul due to NULL session")); + NitsCompare(resultCode, MI_RESULT_INVALID_PARAMETER, PAL_T("GetInstance should fail due to NULL session")); MI_Operation_Close(&operation); session.ft->ModifyInstance(&session, 0, NULL, NULL, NULL, NULL, &operation); @@ -2258,7 +2258,7 @@ NitsTest2(MI_Session_CreateInstance_Sync_InvalidParameters, session.ft->CreateInstance(NULL, 0, NULL, NULL, testInstance, NULL, &operation); MI_Operation_GetInstance(&operation, &result, &moreResults, &resultCode, &errorMessage, &extendedInfo); - NitsCompare(resultCode, MI_RESULT_INVALID_PARAMETER, PAL_T("GetInstance should faul due to NULL session")); + NitsCompare(resultCode, MI_RESULT_INVALID_PARAMETER, PAL_T("GetInstance should fail due to NULL session")); MI_Operation_Close(&operation); session.ft->CreateInstance(&session, 0, NULL, NULL, NULL, NULL, &operation); @@ -2478,7 +2478,7 @@ NitsTest3(MI_Session_DeleteInstance_Sync_InvalidParameters, session.ft->DeleteInstance(NULL, 0, NULL, NULL, testInstance, NULL, &operation); MI_Operation_GetInstance(&operation, &result, &moreResults, &resultCode, &errorMessage, &extendedInfo); - NitsCompare(resultCode, MI_RESULT_INVALID_PARAMETER, PAL_T("GetInstance should faul due to NULL session")); + NitsCompare(resultCode, MI_RESULT_INVALID_PARAMETER, PAL_T("GetInstance should fail due to NULL session")); MI_Operation_Close(&operation); session.ft->DeleteInstance(&session, 0, NULL, NULL, NULL, NULL, &operation); @@ -2862,7 +2862,7 @@ NitsTest2(MI_Session_EnumerateInstances_Sync_InvalidParameters, NitsCompare(resultCount, 10, PAL_T("Should have 10 results")); MI_Operation_Close(&operation); } - {/* no opertion */ + {/* no operation */ MI_Session_EnumerateInstances(session, 0, NULL, NULL, PAL_T("testClass"), MI_FALSE, NULL, NULL); /* nothing more we can do as no where for result to go */ } @@ -3034,7 +3034,7 @@ NitsTest2(MI_Session_QueryInstances_Sync_InvalidParameters, NitsCompare(result, MI_RESULT_OK, PAL_T("Operation should succeed")); MI_Operation_Close(&operation); } - {/* no opertion */ + {/* no operation */ MI_Session_QueryInstances(session, 0, NULL, NULL, PAL_T("dialect"), PAL_T("filter"), NULL, NULL); /* nothing more we can do as no where for result to go */ } @@ -3209,7 +3209,7 @@ NitsTest3(MI_Session_AssociatorInstances_Sync_InvalidParameters, NitsCompare(result, MI_RESULT_INVALID_PARAMETER, PAL_T("Operation should succeed")); MI_Operation_Close(&operation); } - {/* no opertion */ + {/* no operation */ MI_Session_AssociatorInstances(session, 0, NULL, NULL, testInstance, NULL, PAL_T("test"), NULL, NULL, MI_FALSE, NULL, NULL); /* nothing more we can do as no where for result to go */ } @@ -3386,7 +3386,7 @@ NitsTest3(MI_Session_ReferenceInstances_Sync_InvalidParameters, NitsCompare(result, MI_RESULT_INVALID_PARAMETER, PAL_T("Operation should succeed")); MI_Operation_Close(&operation); } - {/* no opertion */ + {/* no operation */ MI_Session_ReferenceInstances(session, 0, NULL, NULL, testInstance, PAL_T("test"), NULL, MI_FALSE, NULL, NULL); /* nothing more we can do as no where for result to go */ } @@ -3600,7 +3600,7 @@ NitsTest(MI_Session_GetClass_Sync_InvalidParameters) session.ft->GetClass(NULL, 0, NULL, PAL_T("namespace"), PAL_T("className"), NULL, &operation); MI_Operation_GetClass(&operation, &result, &moreResults, &resultCode, &errorMessage, &extendedInfo); - NitsCompare(resultCode, MI_RESULT_INVALID_PARAMETER, PAL_T("GetClass should faul due to NULL session")); + NitsCompare(resultCode, MI_RESULT_INVALID_PARAMETER, PAL_T("GetClass should fail due to NULL session")); MI_Operation_Close(&operation); session.ft->GetClass(&session, 0, NULL, PAL_T("namespace"), PAL_T("className"), &callbacks, NULL); @@ -3771,7 +3771,7 @@ NitsTest(MI_Session_EnumerateClasses_Sync_InvalidParameters) NitsCompare(result, MI_RESULT_OK, PAL_T("Operation should succeed")); MI_Operation_Close(&operation); } - {/* no opertion */ + {/* no operation */ MI_Session_EnumerateClasses(&session, 0, NULL, PAL_T("namespace"), PAL_T("testClass"), MI_FALSE, NULL, NULL); /* nothing more we can do as no where for result to go */ } @@ -4036,7 +4036,7 @@ NitsTest(MI_Session_Subscribe_Sync_InvalidParameters) } MI_Operation_Close(&operation); } - {/* no opertion */ + {/* no operation */ MI_Session_Subscribe(&session, 0, NULL, PAL_T("namespace"), PAL_T("dialect"), PAL_T("filter"), NULL, NULL, NULL); /* nothing more we can do as no where for result to go */ } @@ -4330,7 +4330,7 @@ NitsTest(MI_Session_TestConnection_Sync_InvalidParameters) session.ft->TestConnection(NULL, 0, NULL, &operation); MI_Operation_GetInstance(&operation, &resultInstance, &moreResults, &resultCode, &errorMessage, &extendedInfo); - NitsCompare(resultCode, MI_RESULT_INVALID_PARAMETER, PAL_T("GetClass should faul due to NULL session")); + NitsCompare(resultCode, MI_RESULT_INVALID_PARAMETER, PAL_T("GetClass should fail due to NULL session")); MI_Operation_Close(&operation); session.ft->TestConnection(&session, 0, NULL, &operation); @@ -5398,7 +5398,7 @@ static void _setup(_In_ MIAPITestStruct* mts) NitsSetup0(MIAPITest_Setup, MIAPITestStruct) /* - * MI_Application_Intialize create global log file handler _os + * MI_Application_Initialize create global log file handler _os * MI_Application_Close closes it, * thus the test case needs to make sure not close _os while * there are active MI_Application(s) objects @@ -5429,7 +5429,7 @@ static void _cleanup(_In_ MIAPITestStruct* mts) NitsCleanup(MIAPITest_Setup) /* - * MI_Application_Intialize create global log file handler _os + * MI_Application_Initialize create global log file handler _os * MI_Application_Close closes it, * thus the test case needs to make sure not close _os while * there are active MI_Application(s) objects diff --git a/Unix/tests/micxx/test_string.cpp b/Unix/tests/micxx/test_string.cpp index e415194c8..3c3a3c5f7 100644 --- a/Unix/tests/micxx/test_string.cpp +++ b/Unix/tests/micxx/test_string.cpp @@ -117,7 +117,7 @@ NitsTestWithSetup(TestRefCounting, TestStringSetup) String s3(s1); String s4; s4 = s1; - // assign the same string again - should re-allocate string, but keep contetn the same + // assign the same string again - should re-allocate string, but keep content the same s1 = MI_T("str1"); UT_ASSERT( s1 == s2 ); diff --git a/Unix/tests/mof/classes.mof b/Unix/tests/mof/classes.mof index a7c8397d6..53cb4fa01 100644 --- a/Unix/tests/mof/classes.mof +++ b/Unix/tests/mof/classes.mof @@ -141,14 +141,14 @@ Qualifier ModelCorrespondence : string[], Scope(any); /* -The Nonlocal qualifer has been removed (as an errata) as of CIM 2.3 +The Nonlocal qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier Nonlocal : string = null, Scope(reference); /* -The NonlocalType qualifer has been removed (as an errata) as of CIM 2.3 +The NonlocalType qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier NonlocalType : string = null, @@ -196,14 +196,14 @@ Qualifier Schema : string = null, Flavor(DisableOverride, Translatable); /* -The Source qualifer has been removed (as an errata) as of CIM 2.3 +The Source qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier Source : string = null, Scope(class, association, indication); /* -The SourceType qualifer has been removed (as an errata) as of CIM 2.3 +The SourceType qualifier has been removed (as an errata) as of CIM 2.3 For more information see CR1461. */ Qualifier SourceType : string = null, @@ -391,7 +391,7 @@ class Test_Misc : SMS_Class_Template [Key, MinValue(1), MaxValue(100000), SMS_Report (TRUE) ] uint32 ID; [SMS_Report (TRUE) ] uint16 Numbers[8]; [SMS_Report (TRUE) ] sint16 CurrentTimeZone; - [ArrayType("Bag"), Description("A" "B"), SMS_Report (TRUE) ] string Description = "Default Decription"; + [ArrayType("Bag"), Description("A" "B"), SMS_Report (TRUE) ] string Description = "Default Description"; [SMS_Report (TRUE) ] string Domain; [SMS_Report (TRUE) ] uint16 domainrole; [SMS_Report (TRUE) ] datetime DT; diff --git a/Unix/tests/mof/test_mof.cpp b/Unix/tests/mof/test_mof.cpp index d6668db7d..fa874bac0 100644 --- a/Unix/tests/mof/test_mof.cpp +++ b/Unix/tests/mof/test_mof.cpp @@ -417,7 +417,7 @@ NitsTestWithSetup(TestFailedIfFileDoesNotExist, TestMofSetup) MOF_Parser_SetQualifierDeclCallback(parser, QualifierDeclCallback, NULL); /* expecting error */ - int r = MOF_Parser_Parse(parser, "fileThatDoesnotExist.mof"); + int r = MOF_Parser_Parse(parser, "fileThatDoesNotExist.mof"); MOF_Parser_Delete(parser); @@ -636,7 +636,7 @@ static void AddQualifiersParseContentExpectToSucceed(const char* content, bool i NitsTestWithSetup(TestValidDateString, TestMofSetup) { - // create a mof file with valid date-time quilifier + // create a mof file with valid date-time qualifier const char content [] = "Qualifier DatetimeQ : Datetime = \"20091225123000.123456-360\", Scope(any), Flavor(DisableOverride);\n\ [DatetimeQ(\"12345678121212.123456:000\")] \n\ @@ -652,7 +652,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidDateShortString, TestMofSetup) { - // create a mof file with invalid date-time quilifier + // create a mof file with invalid date-time qualifier const char content [] = "Qualifier DatetimeQ : Datetime = \"20091225123000.123456-36\", Scope(any), Flavor(DisableOverride);"; @@ -663,7 +663,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidDateInvalidString, TestMofSetup) { - // create a mof file with invalid date-time quilifier + // create a mof file with invalid date-time qualifier const char content [] = "Qualifier DatetimeQ : Datetime = \"xxx\", Scope(any), Flavor(DisableOverride);"; ParseContentExpectToFail(content); @@ -673,7 +673,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidYear, TestMofSetup) { - // create a mof file with invalid date-time quilifier + // create a mof file with invalid date-time qualifier const char content [] = "Qualifier DatetimeQ : Datetime = \"y0091225123000.123456-360\", Scope(any), Flavor(DisableOverride);"; ParseContentExpectToFail(content); @@ -683,7 +683,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidMonth, TestMofSetup) { - // create a mof file with invalid date-time quilifier + // create a mof file with invalid date-time qualifier const char content [] = "Qualifier DatetimeQ : Datetime = \"20091x25123000.123456-360\", Scope(any), Flavor(DisableOverride);"; ParseContentExpectToFail(content); @@ -693,7 +693,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidDay, TestMofSetup) { - // create a mof file with invalid date-time quilifier + // create a mof file with invalid date-time qualifier const char content [] = "Qualifier DatetimeQ : Datetime = \"2009112z123000.123456-360\", Scope(any), Flavor(DisableOverride);"; ParseContentExpectToFail(content); @@ -703,7 +703,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidHour, TestMofSetup) { - // create a mof file with invalid date-time quilifier + // create a mof file with invalid date-time qualifier const char content [] = "Qualifier DatetimeQ : Datetime = \"20091121v23000.123456-360\", Scope(any), Flavor(DisableOverride);"; ParseContentExpectToFail(content); @@ -713,7 +713,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidMin, TestMofSetup) { - // create a mof file with invalid date-time quilifier + // create a mof file with invalid date-time qualifier const char content [] = "Qualifier DatetimeQ : Datetime = \"20091121v23000112hh56-360\", Scope(any), Flavor(DisableOverride);"; ParseContentExpectToFail(content); @@ -723,7 +723,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidSec, TestMofSetup) { - // create a mof file with invalid date-time quilifier + // create a mof file with invalid date-time qualifier const char content [] = "Qualifier DatetimeQ : Datetime = \"20091121v2300011256ss-360\", Scope(any), Flavor(DisableOverride);"; ParseContentExpectToFail(content); @@ -733,7 +733,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidDateFormat2, TestMofSetup) { - // create a mof file with invalid date-time quilifier + // create a mof file with invalid date-time qualifier const char content [] = "Qualifier DatetimeQ : Datetime = \"12345?78121212.123456:000\", Scope(any), Flavor(DisableOverride);"; ParseContentExpectToFail(content); @@ -780,7 +780,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidDateTimeArray, TestMofSetup) { - // create a mof file with invalid date-time quilifier + // create a mof file with invalid date-time qualifier const char content [] = "Qualifier DatetimeQA : Datetime[] = { \"xxx1225123000.123456-360\" } , Scope(any), Flavor(DisableOverride);"; ParseContentExpectToFail(content); @@ -790,7 +790,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidDateTimeLongArray, TestMofSetup) { - // create a mof file with invalid date-time quilifier + // create a mof file with invalid date-time qualifier const char content [] = "Qualifier DatetimeQA : Datetime[] = { \"20091225123000.123456-360\", \"20091225123000.123456-360\", \"20091225123000.123456-360\",\"xxx\" } , Scope(any), Flavor(DisableOverride);"; ParseContentExpectToFail(content); @@ -923,7 +923,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidMinValueU64, TestMofSetup) { // u64 range is 0-18446744073709551615 - // practically, attributes are limitted by sint64: + // practically, attributes are limited by sint64: // -9223372036854775807 - 1 - 9223372036854775807 // however, MinValue is Sint64, so real max for Min value is 9223372036854775807 @@ -1046,7 +1046,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidMinValueS64, TestMofSetup) { // u64 range is 0-18446744073709551615 - // practically, attributes are limitted by sint64: + // practically, attributes are limited by sint64: // -9223372036854775807 - 1 - 9223372036854775807 //ATTN! int64 errors are not processed correctly yet #if 0 @@ -1222,7 +1222,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidMaxValueU64, TestMofSetup) { // u64 range is 0-18446744073709551615 - // practically, attributes are limitted by sint64: + // practically, attributes are limited by sint64: // -9223372036854775807 - 1 - 9223372036854775807 // however, MaxValue is Sint64, so real max for Max value is 9223372036854775807 @@ -1236,7 +1236,7 @@ NitsTestWithSetup(TestInvalidMaxValueU64, TestMofSetup) "class T { [MaxValue(1)]Uint64 x = 10; /* value too large */ };" ); // ATTN: // next line is waiting for some bigger then 64-bit integer - // internal representaitons of integers in the parser + // internal representations of integers in the parser AddQualifiersParseContentExpectToFail( "class T { [MaxValue(1)]Uint64 x = -1; /* underflow */ };" ); } @@ -1349,7 +1349,7 @@ NitsEndTest NitsTestWithSetup(TestInvalidMaxValueS64, TestMofSetup) { // u64 range is 0-18446744073709551615 - // practically, attributes are limitted by sint64: + // practically, attributes are limited by sint64: // -9223372036854775807 - 1 - 9223372036854775807 //ATTN! int64 errors are not processed correctly yet #if 0 @@ -1634,7 +1634,7 @@ END_EXTERNC NitsTestWithSetup(TestUint64ConstantValue, TestMofSetup) { - // verify that parser correctly interprets vlaue greater than LLONG_MAX + // verify that parser correctly interprets value greater than LLONG_MAX const unsigned char content [] = "class T { uint64 p_uint64 = 0xFFFFFFFFFFFFFFAA; /* ok */};"; ut::writeFileContent( TEMP_FILE, vector( content, (content)+ sizeof(content) )); @@ -1678,7 +1678,7 @@ END_EXTERNC NitsTestWithSetup(TestInt64ConstantValue, TestMofSetup) { - // verify that parser correctly interprets vlaue greater than LLONG_MAX + // verify that parser correctly interprets value greater than LLONG_MAX const unsigned char content [] = "class T { sint64 p_int64 = -9223372036854775807; /* ok */};"; ut::writeFileContent( TEMP_FILE, vector( content, (content)+ sizeof(content) )); @@ -1722,7 +1722,7 @@ END_EXTERNC NitsTestWithSetup(TestHexInt64ConstantValue, TestMofSetup) { - // verify that parser correctly interprets vlaue greater than LLONG_MAX + // verify that parser correctly interprets value greater than LLONG_MAX const unsigned char content [] = "class T { sint64 p_int64 = -0x7FFFFFFFFFFFFFAA; /* ok */};"; ut::writeFileContent( TEMP_FILE, vector( content, (content)+ sizeof(content) )); @@ -1766,7 +1766,7 @@ END_EXTERNC NitsTestWithSetup(TestBinInt64ConstantValue, TestMofSetup) { - // verify that parser correctly interprets vlaue greater than LLONG_MAX + // verify that parser correctly interprets value greater than LLONG_MAX const unsigned char content [] = "class T { sint64 p_int64 = -111111111111111111111111111111111111111111111111111111111111101b; /* ok dec*/};"; ut::writeFileContent( TEMP_FILE, vector( content, (content)+ sizeof(content) )); diff --git a/Unix/tests/oi/syslog1.txt b/Unix/tests/oi/syslog1.txt index ec1558688..f546b88fe 100644 --- a/Unix/tests/oi/syslog1.txt +++ b/Unix/tests/oi/syslog1.txt @@ -7,12 +7,12 @@ void Frog_Jump(int number); -/* Below are the definitions of the Open Instrtumentation events generated +/* Below are the definitions of the Open Instrumentation events generated by the Frog example */ /* The Priority attribute is the only SysLog attribute that applies to individual events. The Facility and LogOptions are passed to the Oi generator as they - apply to the entire log, not to the individula events. */ + apply to the entire log, not to the individual events. */ OI_SETDEFAULT(PRIORITY(LOG_NOTICE)) diff --git a/Unix/tests/oi/syslog2.txt b/Unix/tests/oi/syslog2.txt index 892fc6d11..a6a96dca3 100644 --- a/Unix/tests/oi/syslog2.txt +++ b/Unix/tests/oi/syslog2.txt @@ -7,12 +7,12 @@ void Frog_Jump(int number); -/* Below are the definitions of the Open Instrtumentation events generated +/* Below are the definitions of the Open Instrumentation events generated by the Frog example */ /* The Priority attribute is the only SysLog attribute that applies to individual events. The Facility and LogOptions are passed to the Oi generator as they - apply to the entire log, not to the individula events. */ + apply to the entire log, not to the individual events. */ OI_SETDEFAULT(PRIORITY(LOG_NOTICE)) diff --git a/Unix/tests/oi/syslog3.txt b/Unix/tests/oi/syslog3.txt index 3a1c7bb54..8f259b81c 100644 --- a/Unix/tests/oi/syslog3.txt +++ b/Unix/tests/oi/syslog3.txt @@ -7,12 +7,12 @@ void Frog_Jump(int number); -/* Below are the definitions of the Open Instrtumentation events generated +/* Below are the definitions of the Open Instrumentation events generated by the Frog example */ /* The Priority attribute is the only SysLog attribute that applies to individual events. The Facility and LogOptions are passed to the Oi generator as they - apply to the entire log, not to the individula events. */ + apply to the entire log, not to the individual events. */ OI_SETDEFAULT(PRIORITY(LOG_NOTICE)) OI_SETDEFAULT(STARTID(1000)) diff --git a/Unix/tests/pal/test_pal.cpp b/Unix/tests/pal/test_pal.cpp index 3bf13f25b..3c5351509 100644 --- a/Unix/tests/pal/test_pal.cpp +++ b/Unix/tests/pal/test_pal.cpp @@ -1921,7 +1921,7 @@ NitsTest(TestHashMap1) } } - /* Release all the memroy */ + /* Release all the memory */ HashMap_Destroy(&map); } NitsEndTest @@ -1991,7 +1991,7 @@ NitsTest(TestHashMap2) TEST_ASSERT(r == 0); } - /* Release all the memroy */ + /* Release all the memory */ HashMap_Destroy(&map); } NitsEndTest @@ -2061,7 +2061,7 @@ NitsTest(TestHashMap2_preallocated) TEST_ASSERT(r == 0); } - /* Release all the memroy */ + /* Release all the memory */ HashMap_Destroy(&map); } NitsEndTest diff --git a/Unix/tests/protocol/test_protocol.cpp b/Unix/tests/protocol/test_protocol.cpp index 8b8c49a0d..04ea5bf6a 100644 --- a/Unix/tests/protocol/test_protocol.cpp +++ b/Unix/tests/protocol/test_protocol.cpp @@ -361,7 +361,7 @@ static void _TransferMessageUsingProtocol( } } - /* remove all handlers befroe destroying protocols */ + /* remove all handlers before destroying protocols */ if (selector) Selector_RemoveAllHandlers(selector); diff --git a/Unix/tests/provmgr/StrandHelper.cpp b/Unix/tests/provmgr/StrandHelper.cpp index 98a42d88f..ae0c89184 100644 --- a/Unix/tests/provmgr/StrandHelper.cpp +++ b/Unix/tests/provmgr/StrandHelper.cpp @@ -102,7 +102,7 @@ NITS_EXTERN_C void ContextTest_Ack_ForSubscriptionContext( _In_ Strand* self_) // al management done by strand implementation except broadcasting cond var - // wake up Context_PostMessageLeft if appropiate + // wake up Context_PostMessageLeft if appropriate // (no point on waking up Context_PostMessageLeft if CONTEXT_STRANDAUX_TRYPOSTLEFT is scheduled to run after us) if( CONTEXT_POSTLEFT_POSTING == tryingToPostLeftValue ) { @@ -228,7 +228,7 @@ _Use_decl_annotations_ MI_Result Test_Provider_Init( Provider* provider ) { - /* Provider already intialized. Nothing to do. */ + /* Provider already initialized. Nothing to do. */ if (provider->subMgr) { return MI_RESULT_OK; diff --git a/Unix/tests/provmgr/test_Context.cpp b/Unix/tests/provmgr/test_Context.cpp index fae59db4f..a21d28f45 100644 --- a/Unix/tests/provmgr/test_Context.cpp +++ b/Unix/tests/provmgr/test_Context.cpp @@ -196,7 +196,7 @@ NitsTest1(TestContext_IndPostIndication_GenericFailures, TestContext_SetupProvid #ifdef _PREFAST_ #pragma prefast (push) -#pragma prefast (disable: 6001) // OACR complian this context was invalid due to previous Context_Close, but it get re-initialized again by Context_Init_ByType +#pragma prefast (disable: 6001) // OACR complains this context was invalid due to previous Context_Close, but it get re-initialized again by Context_Init_ByType #endif Context_Close( &setupStruct->context ); #ifdef _PREFAST_ @@ -472,7 +472,7 @@ void TestContext_IndPostResult_SubscriptionContext_Helper( // // SubMgr_CreateSubscription:One refcount of subscription will be release in CONTEXT_STRANDAUX_INVOKESUBSCRIBE, - // however we are not invoking CONTEXT_STRANDAUX_INVOKESUBSCRIBE, so the refcount should be released explictly + // however we are not invoking CONTEXT_STRANDAUX_INVOKESUBSCRIBE, so the refcount should be released explicitly // MI_Result r = CreateAndAddSubscriptionHelper( subMgr, @@ -502,7 +502,7 @@ void TestContext_IndPostResult_SubscriptionContext_Helper( _CallPostResult_SubCtx( setupStruct, state, result, postresult ); - // Waits for asynchonous Disable thread to complete + // Waits for asynchronous Disable thread to complete while (ShutdownState_Released != disableState) { Sleep_Milliseconds(sleepTimeInMs); @@ -648,7 +648,7 @@ void TestContext_IndPostError_SubscriptionContext_Helper( // // SubMgr_CreateSubscription:One refcount of subscription will be release in CONTEXT_STRANDAUX_INVOKESUBSCRIBE, - // however we are not invoking CONTEXT_STRANDAUX_INVOKESUBSCRIBE, so the refcount should be released explictly + // however we are not invoking CONTEXT_STRANDAUX_INVOKESUBSCRIBE, so the refcount should be released explicitly // MI_Result r = CreateAndAddSubscriptionHelper( subMgr, @@ -685,7 +685,7 @@ void TestContext_IndPostError_SubscriptionContext_Helper( errmsg), PAL_T("PostError unexpected result") ); - // Waits for asynchonous Disable thread to complete + // Waits for asynchronous Disable thread to complete while (ShutdownState_Released != disableState) { Sleep_Milliseconds(sleepTimeInMs); @@ -747,7 +747,7 @@ void TestContext_IndPostCimError_SubscriptionContext_Helper( // // SubMgr_CreateSubscription:One refcount of subscription will be release in CONTEXT_STRANDAUX_INVOKESUBSCRIBE, - // however we are not invoking CONTEXT_STRANDAUX_INVOKESUBSCRIBE, so the refcount should be released explictly + // however we are not invoking CONTEXT_STRANDAUX_INVOKESUBSCRIBE, so the refcount should be released explicitly // MI_Result r = CreateAndAddSubscriptionHelper( subMgr, @@ -934,7 +934,7 @@ NitsTest1(TestContext_IndPostIndication_SubscriptionContext_ValidatesInstance, T // // SubMgr_CreateSubscription:One refcount of subscription will be release in CONTEXT_STRANDAUX_INVOKESUBSCRIBE, - // however we are not invoking CONTEXT_STRANDAUX_INVOKESUBSCRIBE, so the refcount should be released explictly + // however we are not invoking CONTEXT_STRANDAUX_INVOKESUBSCRIBE, so the refcount should be released explicitly // result = CreateAndAddSubscriptionHelper( subMgr, @@ -985,7 +985,7 @@ NitsTest1(TestContext_IndPostIndication_SubscriptionContext_ValidatesInstance, T _CallPostResult_SubCtx( setupStruct, SubscriptionState_Subscribed, MI_RESULT_OK, MI_RESULT_OK ); - // Waits for asynchonous Disable thread to complete + // Waits for asynchronous Disable thread to complete while (ShutdownState_Released != disableState) { Sleep_Milliseconds(sleepTimeInMs); diff --git a/Unix/tests/provmgr/test_IndicationFilter.cpp b/Unix/tests/provmgr/test_IndicationFilter.cpp index de1f29486..effdad622 100644 --- a/Unix/tests/provmgr/test_IndicationFilter.cpp +++ b/Unix/tests/provmgr/test_IndicationFilter.cpp @@ -93,7 +93,7 @@ NitsTest1(Test_InstanceFilter_New_with_unrecognized_query_language, Test_Instanc filter = InstanceFilter_New( &(subscribeReq->base.base) ); NitsAssert(NULL != filter, PAL_T("Failed to initialize InstanceFilter with general or unrecognized (Not WQL/CQL) query language")); - NitsAssert(NULL == InstanceFilter_GetWQL(filter), PAL_T("Failed to initialize InstanceFilter with eneral or unrecognized (Not WQL/CQL) query language")); + NitsAssert(NULL == InstanceFilter_GetWQL(filter), PAL_T("Failed to initialize InstanceFilter with general or unrecognized (Not WQL/CQL) query language")); } NitsEndTest diff --git a/Unix/tests/provmgr/test_LifecycleContext.cpp b/Unix/tests/provmgr/test_LifecycleContext.cpp index 8bff1a64f..d63fd538a 100644 --- a/Unix/tests/provmgr/test_LifecycleContext.cpp +++ b/Unix/tests/provmgr/test_LifecycleContext.cpp @@ -52,7 +52,7 @@ Sem unsubscribeLifeCtxCompletedSem; void _InitializeTestLifeCtxSemaphore() { NitsAssert( NULL != lifeContext, PAL_T("Expected initialization in setup function") ); - NitsAssert( Sem_Init(&unsubscribeLifeCtxCompletedSem, SEM_USER_ACCESS_ALLOW_ALL, 0) == 0, PAL_T("Unable to intialize unsubscribe semaphore") ); + NitsAssert( Sem_Init(&unsubscribeLifeCtxCompletedSem, SEM_USER_ACCESS_ALLOW_ALL, 0) == 0, PAL_T("Unable to initialize unsubscribe semaphore") ); unsubscribeLifeCtxCompletedSemActive = MI_TRUE; } @@ -397,7 +397,7 @@ NitsSetup1(Test_LifecycleContext_Setup_ForFtVerification, Test_LifecycleContext_ // // Initialize unsubscribe handler - // single threaded platform require that unsubsribe happen on a separate thread + // single threaded platform require that unsubscribe happen on a separate thread // RequestHandler_Init(&g_requesthandler); @@ -484,7 +484,7 @@ NitsCleanup(Test_LifecycleContext_Setup_ForFtVerification) // // Wait for the unsubscribe handler to complete. - // Single threaded platform require that unsubsribe happen on a separate thread + // Single threaded platform require that unsubscribe happen on a separate thread // wait for that thread to finish the unsubscribe call // while ( Atomic_Read( &g_requesthandler.running ) == 1 ) diff --git a/Unix/tests/provmgr/test_SubMgr.cpp b/Unix/tests/provmgr/test_SubMgr.cpp index 8dc827aa9..6adf52094 100644 --- a/Unix/tests/provmgr/test_SubMgr.cpp +++ b/Unix/tests/provmgr/test_SubMgr.cpp @@ -375,7 +375,7 @@ void Verify_SubMgrSubscription_New_Input( NitsTest(TestSubMgrSubscription_New_Fails_if_FilterError) { - // NULL filter and lanugage will trigger a failure + // NULL filter and language will trigger a failure Verify_SubMgrSubscription_New_Input( NULL, NULL, MI_FALSE ); } NitsEndTest diff --git a/Unix/tests/provmgr/test_SubscriptionContext.cpp b/Unix/tests/provmgr/test_SubscriptionContext.cpp index 3710ee510..a0d3c18df 100644 --- a/Unix/tests/provmgr/test_SubscriptionContext.cpp +++ b/Unix/tests/provmgr/test_SubscriptionContext.cpp @@ -265,7 +265,7 @@ void RequestHandler_LocalInit() { // // Initialize unsubscribe handler - // unsubsribe must happen on separate thread + // unsubscribe must happen on separate thread // RequestHandler_Init(&g_requesthandler); } @@ -274,7 +274,7 @@ void RequestHandler_LocalFinalize() { // // Initialize unsubscribe handler - // unsubsribe must happen on separate thread + // unsubscribe must happen on separate thread // wait for that thread to finish the unsubscribe call // while ( Atomic_Read( &g_requesthandler.running ) == 1 ) @@ -312,7 +312,7 @@ NitsTestWithSetup(TestSubscriptionContext_InitAndClose, TestSubscriptionContextS SubscrContext_Close( &context ); - /* Verify destoryed */ + /* Verify destroyed */ UT_ASSERT_EQUAL((MI_Uint32)0xFFFFFFFF, context.baseCtx.magic ); } NitsEndTest diff --git a/Unix/tests/provmgr/test_provmgr.cpp b/Unix/tests/provmgr/test_provmgr.cpp index 466debe32..ea4fda1c9 100644 --- a/Unix/tests/provmgr/test_provmgr.cpp +++ b/Unix/tests/provmgr/test_provmgr.cpp @@ -599,7 +599,7 @@ Sem unsubscribeCompletedSem; // void _InitializeTestProvMgrSemaphore() { - NitsAssert( Sem_Init(&unsubscribeCompletedSem, SEM_USER_ACCESS_ALLOW_ALL, 0) == 0, PAL_T("Unable to intialize unsubscribe semaphore") ); + NitsAssert( Sem_Init(&unsubscribeCompletedSem, SEM_USER_ACCESS_ALLOW_ALL, 0) == 0, PAL_T("Unable to initialize unsubscribe semaphore") ); unsubscribeCompletedSemActive = MI_TRUE; } @@ -755,7 +755,7 @@ NitsSetup1(TestProvMgr_SetupProvider, TestProvMgr_SetupStruct, TestProvmg_SetUp, (ListElem*)&setupStruct->library); // Provider init - setupStruct->provider.refCounter = 1; // simulates one outstanding reqest to the provider (prevents Load and unload) + setupStruct->provider.refCounter = 1; // simulates one outstanding request to the provider (prevents Load and unload) setupStruct->provider.lib = &setupStruct->library; setupStruct->provider.classDecl = &g_dummyTestClassDecl; setupStruct->provider.subMgr = &setupStruct->subMgr; @@ -838,7 +838,7 @@ NITS_EXTERN_C void TestProvMgr_MI_LifecycleIndicationCallback( } } -// Initializes an already intialized provider struct for lifecycle indications +// Initializes an already initialized provider struct for lifecycle indications NitsSetup1(TestProvMgr_SetupLifecycle, NitsEmptyStruct, TestProvMgr_SetupProvider, genericProvMgrTemplate) { TestProvMgr_SetupStruct* setupStruct = NitsContext()->_TestProvMgr_SetupProvider->_TestProvMgr_SetupStruct; @@ -860,7 +860,7 @@ NitsSetup1(TestProvMgr_SetupLifecycle, NitsEmptyStruct, TestProvMgr_SetupProvide // // Initialize unsubscribe handler - // single threaded platform require that unsubsribe happen on a separate thread + // single threaded platform require that unsubscribe happen on a separate thread // RequestHandler_Init(&g_requesthandler); } @@ -876,7 +876,7 @@ NitsCleanup(TestProvMgr_SetupLifecycle) // // Wait for the unsubscribe handler to complete. - // Single threaded platform require that unsubsribe happen on a separate thread + // Single threaded platform require that unsubscribe happen on a separate thread // wait for that thread to finish the unsubscribe call // while ( Atomic_Read( &g_requesthandler.running ) == 1 ) @@ -912,7 +912,7 @@ NitsTest1(TestProvMgr_LifeSubscribe_NotSupported_If_Message_Type_Not_Supported, Strand_Open(&setupStruct->leftSideStrand,ProvMgr_OpenCallback,&data,&setupStruct->msg->base.base,MI_TRUE); - NitsAssert( SUBSCRIP_TARGET_UNSUPPORTED == setupStruct->msg->targetType, PAL_T("Unexpected change to messsage") ); + NitsAssert( SUBSCRIP_TARGET_UNSUPPORTED == setupStruct->msg->targetType, PAL_T("Unexpected change to message") ); // The result is returned in another thread, so it cannot be checked directly here setupStruct->expectedResult = MI_RESULT_FAILED; @@ -1066,7 +1066,7 @@ NitsEndTest // // This simulates a provider invoking PostCreate after notification of -// subscirption to MI_LIFECYCLE_INDICATION_DELETE. This is a wrong post +// subscription to MI_LIFECYCLE_INDICATION_DELETE. This is a wrong post // type test. // NitsTest1(TestProvMgr_LifeSubscribe_Post_To_Wrong_Type, TestProvMgr_SetupLifecycle, NitsEmptyValue) diff --git a/Unix/tests/provreg/test_provreg.cpp b/Unix/tests/provreg/test_provreg.cpp index c74969637..3dd7863ce 100644 --- a/Unix/tests/provreg/test_provreg.cpp +++ b/Unix/tests/provreg/test_provreg.cpp @@ -165,7 +165,7 @@ NitsTestWithSetup(TestProvRegInvalidConfigFile, TestProvregSetup) MI_Result r; /* Load the registrations */ - r = ProvReg_Init(®, "non-exisiting-file"); + r = ProvReg_Init(®, "nonexistent-file"); UT_ASSERT (MI_RESULT_OPEN_FAILED == r); } @@ -524,9 +524,9 @@ NitsTestWithSetup(TestAssociationsInvalidClass, TestProvregSetup) ProvRegAssocPosition pos; UT_ASSERT (MI_RESULT_INVALID_NAMESPACE == ProvReg_BeginAssocClasses( ®, ZT("notExistingNamespace"), ZT("X"), 0, 0, &pos )); - UT_ASSERT (MI_RESULT_INVALID_CLASS == ProvReg_BeginAssocClasses( ®, ZT("ns"), ZT("noExisitingClass"), 0, 0, &pos )); - UT_ASSERT (MI_RESULT_INVALID_CLASS == ProvReg_BeginAssocClasses( ®, ZT("ns"), ZT("AA"), ZT("noExisitingClass"), 0, &pos )); - UT_ASSERT (MI_RESULT_INVALID_CLASS == ProvReg_BeginAssocClasses( ®, ZT("ns"), ZT("AA"), 0, ZT("noExisitingClass"), &pos )); + UT_ASSERT (MI_RESULT_INVALID_CLASS == ProvReg_BeginAssocClasses( ®, ZT("ns"), ZT("nonexistentClass"), 0, 0, &pos )); + UT_ASSERT (MI_RESULT_INVALID_CLASS == ProvReg_BeginAssocClasses( ®, ZT("ns"), ZT("AA"), ZT("nonexistentClass"), 0, &pos )); + UT_ASSERT (MI_RESULT_INVALID_CLASS == ProvReg_BeginAssocClasses( ®, ZT("ns"), ZT("AA"), 0, ZT("nonexistentClass"), &pos )); ProvReg_Destroy(®); } @@ -662,7 +662,7 @@ NitsEndTest #if defined(CONFIG_POSIX) NitsTestWithSetup(TestProvReg2, TestProvregSetup) { - // Disable Nits Fault injection here, beacuse in RegFile_New function (Called internally in ProvReg_Init2) will + // Disable Nits Fault injection here, because in RegFile_New function (Called internally in ProvReg_Init2) will // return NULL in both cases Failure OR failed to allocate. And Nits doesn't like that. NitsDisableFaultSim; diff --git a/Unix/tests/sock/test_selector.cpp b/Unix/tests/sock/test_selector.cpp index 903c8495c..4c6f29e6b 100644 --- a/Unix/tests/sock/test_selector.cpp +++ b/Unix/tests/sock/test_selector.cpp @@ -703,7 +703,7 @@ NitsTestWithSetup(TestSelectorTimeoutEvent, TestSelectorSetup) r = Selector_Run(&sel, 1000*1000, MI_FALSE); TEST_ASSERT(s_timeout_called); - // 'timeout' event on socekt is triggered na dremoves socket, so + // 'timeout' event on socket is triggered na dremoves socket, so // selector returns 'failed' TEST_ASSERT(r == MI_RESULT_FAILED); @@ -752,7 +752,7 @@ NitsTestWithSetup(TestSelectorTimeoutWithNoSocketHandler, TestSelectorSetup) s_timeout_called = false; r = Selector_Run(&sel, 1000*1000, MI_FALSE); TEST_ASSERT(s_timeout_called); - // 'timeout' event on socekt is triggered na dremoves socket, so + // 'timeout' event on socket is triggered na dremoves socket, so // selector returns 'failed' TEST_ASSERT(r == MI_RESULT_FAILED); TestEnd: diff --git a/Unix/tests/util/indiprvdconfig.h b/Unix/tests/util/indiprvdconfig.h index c9113f339..c0b73d87e 100644 --- a/Unix/tests/util/indiprvdconfig.h +++ b/Unix/tests/util/indiprvdconfig.h @@ -60,8 +60,8 @@ typedef enum _PostBehavior { PostBehavior_Default = 0, /* Spawned thread to enable context */ PostBehavior_Subcontext = 1, /* For MI_API_VERSION 1 & 2, post to subscribe context are not supported */ - PostBehavior_Enablecontext_PostOnCalllthread = 2, - PostBehavior_Subcontext_PostOnCalllthread = 3 /* For MI_API_VERSION 1 & 2, post to subscribe context are not supported */ + PostBehavior_Enablecontext_PostOnCallThread = 2, + PostBehavior_Subcontext_PostOnCallThread = 3 /* For MI_API_VERSION 1 & 2, post to subscribe context are not supported */ }PostBehavior; typedef enum _MiscTestGroup @@ -129,7 +129,7 @@ typedef struct _Config * */ MI_Result initResultCode; - MI_Uint32 initTimeoutMS; /* timeout value for intialization */ + MI_Uint32 initTimeoutMS; /* timeout value for initialization */ MI_Uint32 finalizeBehavior; /* Finalization behavior * @@ -212,7 +212,7 @@ typedef struct _Config MI_Uint64 subscriptionID; /* subscription ID from subscribe call */ Sem sem; /* semaphore */ - MI_Boolean seminited; /* semaphore intialized */ + MI_Boolean seminited; /* semaphore initialized */ char* apicallseq[MAXLOGENTRY]; /* api call sequences */ MI_Uint32 apicallseqcount; /* api call count */ diff --git a/Unix/tests/util/util.c b/Unix/tests/util/util.c index c3d12ff8c..6bd62180a 100644 --- a/Unix/tests/util/util.c +++ b/Unix/tests/util/util.c @@ -190,7 +190,7 @@ void FlushLog(FILE* file) **============================================================================== */ -/* A number used to caculate hash value */ +/* A number used to calculate hash value */ #define HASH_SEED_PRIME_NUMBER 1313038763 /* String hash algorithm */ diff --git a/Unix/tests/wql/test_wql.cpp b/Unix/tests/wql/test_wql.cpp index 922a26b5e..85f286a80 100644 --- a/Unix/tests/wql/test_wql.cpp +++ b/Unix/tests/wql/test_wql.cpp @@ -981,7 +981,7 @@ NitsTestWithSetup(TestLike, TestWqlSetup) { TEST_ASSERT(WQL_MatchLike(CT(""), CT(""), '\0')); // There are bunch of negative cases which should return false - // with or without OOM; so ignorign there errors + // with or without OOM; so ignoring there errors // TODO: The WQL_MatchLike should have some error code propagation mechanism different than return value since return value indicates whether it matched or not TEST_ASSERT(!WQL_MatchLike(CT(""), CT("x"), '\0')); TEST_ASSERT(!WQL_MatchLike(CT(""), CT("xxxx"), '\0')); diff --git a/Unix/tests/wsman/test_NumberProvider.cpp b/Unix/tests/wsman/test_NumberProvider.cpp index 49910b713..98cdd7e0a 100644 --- a/Unix/tests/wsman/test_NumberProvider.cpp +++ b/Unix/tests/wsman/test_NumberProvider.cpp @@ -809,7 +809,7 @@ NitsTestWithSetup(TestGetInstanceHugeNumberWithEmbeddedInstance, NumberProvTestS } else { - UT_ASSERT_FAILED_MSG( (string("unexcpected class name ") + ut::StrToChar(cn)).c_str() ); + UT_ASSERT_FAILED_MSG( (string("unexpected class name ") + ut::StrToChar(cn)).c_str() ); } } } @@ -960,7 +960,7 @@ NitsEndTest NitsTestWithSetup(TestGetInstanceInvalidNameSpace, NumberProvTestSetup) { - //omicli gi non/exisiting/namespace X_SmallNumber.Number=11 + //omicli gi nonexistent/namespace X_SmallNumber.Number=11 //PostResultMsg //{ // tag=4 @@ -969,7 +969,7 @@ NitsTestWithSetup(TestGetInstanceInvalidNameSpace, NumberProvTestSetup) // result=7 [INVALID_NAMESPACE] // request=NULL //} - if(!TEST_ASSERT(MI_RESULT_OK == _CallGetInstance("non/exisiting/namespace", "X_SmallNumber.Number=11"))) + if(!TEST_ASSERT(MI_RESULT_OK == _CallGetInstance("nonexistent/namespace", "X_SmallNumber.Number=11"))) NitsReturn; // validate response @@ -1125,7 +1125,7 @@ STATIC void TestEnumerateNumberDeepHelper() UT_ASSERT_EQUAL(s_instances.size(), 1003); } -// note! provider has two modes of enumeration to excersize both +// note! provider has two modes of enumeration to exercise both // sync and async APIs, so we have to call test twice NitsTestWithSetup(TestEnumerateNumberDeep, NumberProvTestSetup) @@ -1206,7 +1206,7 @@ NitsEndTest NitsTestWithSetup(TestEnumerateInvalidClass, NumberProvTestSetup) { - //omicli ei test/cpp NonExisitingClass + //omicli ei test/cpp NonexistentClass //PostResultMsg //{ // tag=4 @@ -1216,7 +1216,7 @@ NitsTestWithSetup(TestEnumerateInvalidClass, NumberProvTestSetup) // request=NULL //} - if(!TEST_ASSERT(MI_RESULT_OK == _CallEnumerate("test/cpp", "NonExisitingClass", MI_FALSE))) + if(!TEST_ASSERT(MI_RESULT_OK == _CallEnumerate("test/cpp", "NonexistentClass", MI_FALSE))) NitsReturn; // validate response @@ -1336,7 +1336,7 @@ NitsEndTest NitsTestWithSetup(TestInvokeSmallNumberGetFactors_InvalidParameter, NumberProvTestSetup) { - // trying to refer to non-static funciton in 'static' way + // trying to refer to non-static function in 'static' way //omicli iv test/cpp X_SmallNumber GetFactors //PostResultMsg //{ @@ -1360,8 +1360,8 @@ NitsEndTest NitsTestWithSetup(TestInvokeSmallNumber_InvalidFn, NumberProvTestSetup) { - // trying to non-exisiting function - //omicli iv test/cpp X_SmallNumber FunciotnThatDoesnotExist + // trying to refer to nonexistent function + //omicli iv test/cpp X_SmallNumber FunctionThatDoesNotExist //PostResultMsg //{ // tag=4 @@ -1371,7 +1371,7 @@ NitsTestWithSetup(TestInvokeSmallNumber_InvalidFn, NumberProvTestSetup) // request=NULL //} - if(!TEST_ASSERT(MI_RESULT_OK == _CallInvoke("test/cpp", "X_SmallNumber", "FunciotnThatDoesnotExist", 0))) + if(!TEST_ASSERT(MI_RESULT_OK == _CallInvoke("test/cpp", "X_SmallNumber", "FunctionThatDoesNotExist", 0))) NitsReturn; // validate response diff --git a/Unix/tests/wsman/test_auth.cpp b/Unix/tests/wsman/test_auth.cpp index fdd8b76b9..c9e402aea 100644 --- a/Unix/tests/wsman/test_auth.cpp +++ b/Unix/tests/wsman/test_auth.cpp @@ -209,7 +209,7 @@ NitsTestWithSetup(TestAuthImplicitOOPModes, TestAuthSetup) // Expecting results: // user should be omi, // requestor/in-proc expected to be root - // all pids are dufferent + // all pids are different UT_ASSERT_NOT_EQUAL(info.user_user, info.user_requestor); UT_ASSERT_NOT_EQUAL(info.group_user, info.group_requestor); UT_ASSERT_NOT_EQUAL(info.pid_user, info.pid_requestor); diff --git a/Unix/tests/wsman/test_wsman.cpp b/Unix/tests/wsman/test_wsman.cpp index 9c8a51d82..3a0d36ae9 100644 --- a/Unix/tests/wsman/test_wsman.cpp +++ b/Unix/tests/wsman/test_wsman.cpp @@ -313,7 +313,7 @@ static string _CreateCDATARequestXML( "" "" "" - "/node/node[@attribue='']" + "/node/node[@attribute='']" "" "" "32000" @@ -478,7 +478,7 @@ NitsEndTest NitsTestWithSetup(TestWSMAN_Fault_invalidNamespace, TestWsmanSetup) { string r_b, r_h; - SockSendRecvHTTP(s, false, _CreateRequestXML("X_number", "invlaid/namespace").c_str(), r_h, r_b ); + SockSendRecvHTTP(s, false, _CreateRequestXML("X_number", "invalid/namespace").c_str(), r_h, r_b ); //cout << "resp header: " << r_h << endl << endl << "body: " << r_b << endl; @@ -568,7 +568,7 @@ NitsTestWithSetup(TestWSMAN_Enumerate_XProfile_EPR_Only, TestWsmanSetup) UT_ASSERT(r_b.find("Name=\"InstanceID\">world<") != string::npos); UT_ASSERT(r_b.find("Name=\"InstanceID\">number<") != string::npos); - /* regular properties shuld not be specified */ + /* regular properties should not be specified */ UT_ASSERT(r_b.find("World") == string::npos); UT_ASSERT(r_b.find("Huge Numbers") == string::npos); } @@ -1166,7 +1166,7 @@ NitsEndTest NitsTestWithSetup(TestWSMAN_Invoke_TestAllTypesStringArray, TestWsmanSetup) { - /* unit-test expects exactly two strings and retunr 3 strings: substrings form first two plus '*'*/ + /* unit-test expects exactly two strings and return 3 strings: substrings form first two plus '*'*/ const char* c_Params = "\ 123456\ diff --git a/Unix/tests/wsman/test_wsman_inproc.cpp b/Unix/tests/wsman/test_wsman_inproc.cpp index a1abddd92..668650049 100644 --- a/Unix/tests/wsman/test_wsman_inproc.cpp +++ b/Unix/tests/wsman/test_wsman_inproc.cpp @@ -288,7 +288,7 @@ NitsTestWithSetup(TestWSMAN_EnumPull, Wsman_Inproc_Setup) StartWSManInproc( _callback, (void*)MI_RESULT_OK); - // send enum request, expect enum context back (since no OptimzeEnum tag specified) + // send enum request, expect enum context back (since no OptimizeEnum tag specified) Sock s = SockConnectLocal(PORT); string r_b, r_h; @@ -315,7 +315,7 @@ NitsTestWithSetup(TestWSMAN_EnumRelease, Wsman_Inproc_Setup) StartWSManInproc( _callback, (void*)MI_RESULT_OK); - // send enum request, expect enum context back (since no OptimzeEnum tag specified) + // send enum request, expect enum context back (since no OptimizeEnum tag specified) Sock s = SockConnectLocal(PORT); string r_b, r_h; @@ -348,7 +348,7 @@ NitsTestWithSetup(TestWSMAN_PullWithInvalidCtxID, Wsman_Inproc_Setup) StartWSManInproc( _callback, (void*)MI_RESULT_OK); - // send enum request, expect enum context back (since no OptimzeEnum tag specified) + // send enum request, expect enum context back (since no OptimizeEnum tag specified) Sock s = SockConnectLocal(PORT); string r_b, r_h; diff --git a/Unix/tests/wsman/test_wsmanclient.cpp b/Unix/tests/wsman/test_wsmanclient.cpp index c6f69ff81..5c10fe34d 100644 --- a/Unix/tests/wsman/test_wsmanclient.cpp +++ b/Unix/tests/wsman/test_wsmanclient.cpp @@ -15,7 +15,7 @@ ** THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ** KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED ** WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -** MERCHANTABLITY OR NON-INFRINGEMENT. +** MERCHANTABILITY OR NON-INFRINGEMENT. ** ** See the Apache 2 License for the specific language governing permissions ** and limitations under the License. diff --git a/Unix/tests/wsman/test_wsmanparser.cpp b/Unix/tests/wsman/test_wsmanparser.cpp index 51f780cdc..300dd4339 100644 --- a/Unix/tests/wsman/test_wsmanparser.cpp +++ b/Unix/tests/wsman/test_wsmanparser.cpp @@ -14,7 +14,7 @@ ** THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ** KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED ** WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -** MERCHANTABLITY OR NON-INFRINGEMENT. +** MERCHANTABILITY OR NON-INFRINGEMENT. ** ** See the Apache 2 License for the specific language governing permissions ** and limitations under the License. diff --git a/Unix/tests/wsman/utils.h b/Unix/tests/wsman/utils.h index 5a88f4cf5..101ada11d 100644 --- a/Unix/tests/wsman/utils.h +++ b/Unix/tests/wsman/utils.h @@ -28,7 +28,7 @@ void SockSendRecvHTTP( /* launching and terminating the server */ -/* starts server (with or without ignoreAuth option dependin on flag) +/* starts server (with or without ignoreAuth option depending on flag) and creates new connector to it */ #define USER "omi" #define PASSWORD "CfgMgr2011" diff --git a/Unix/tests/xml/test19.xml b/Unix/tests/xml/test19.xml index 7fe20e0c2..4c3e473fa 100644 --- a/Unix/tests/xml/test19.xml +++ b/Unix/tests/xml/test19.xml @@ -1,3 +1,3 @@ - + diff --git a/Unix/tests/xml/test_xml.cpp b/Unix/tests/xml/test_xml.cpp index 89cdf3a62..8c91904cf 100644 --- a/Unix/tests/xml/test_xml.cpp +++ b/Unix/tests/xml/test_xml.cpp @@ -355,7 +355,7 @@ NitsTestWithSetup(Test10, TestXmlSetup) XML * xml = (XML *) PAL_Malloc(sizeof(XML)); if(!TEST_ASSERT(xml != NULL)) NitsReturn; int r; XML_Elem e; - XML_Char data[] = PAL_T(""); + XML_Char data[] = PAL_T(""); XML_Init(xml); XML_SetText(xml, data); diff --git a/Unix/tests/xmlserializer/test_xmlserializer.cpp b/Unix/tests/xmlserializer/test_xmlserializer.cpp index 98d7ff2ff..68529ac90 100644 --- a/Unix/tests/xmlserializer/test_xmlserializer.cpp +++ b/Unix/tests/xmlserializer/test_xmlserializer.cpp @@ -14,7 +14,7 @@ ** THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ** KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED ** WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -** MERCHANTABLITY OR NON-INFRINGEMENT. +** MERCHANTABILITY OR NON-INFRINGEMENT. ** ** See the Apache 2 License for the specific language governing permissions ** and limitations under the License. diff --git a/Unix/tools/auth_tests_setup.sh b/Unix/tools/auth_tests_setup.sh index 8018e0fc3..91ea2a3e3 100755 --- a/Unix/tools/auth_tests_setup.sh +++ b/Unix/tools/auth_tests_setup.sh @@ -40,7 +40,7 @@ done # # Setup the NTLM auth file for client and server. They must be different files because -# if the differeing permissions, as the server file must be owned by root and the client by +# if the differing permissions, as the server file must be owned by root and the client by # the user. # # If there is already a cred file present we defer to it. In configure we possibly copied over @@ -122,7 +122,7 @@ if [ "x${username}" != "x" -a "x${userpasswd}" != "x" ]; then # kinit on the mac does not allow the passwd to be piped ${scriptdir}/kinit.exp ${username} ${userpasswd} else - # Just do the kinit initally to prime the cred cache + # Just do the kinit initially to prime the cred cache echo ${userpasswd} | kinit -c FILE:/tmp/omi_cc ${username} fi if [ $? -eq 0 ] ; then diff --git a/Unix/tools/ktstrip b/Unix/tools/ktstrip index b64f1d41f..98c7d152e 100755 --- a/Unix/tools/ktstrip +++ b/Unix/tools/ktstrip @@ -59,7 +59,7 @@ CleanTempFiles() } # -# Use ktutil to strip the soure keytab of anything but host/ and RestrictedKrbHost/ principals +# Use ktutil to strip the source keytab of anything but host/ and RestrictedKrbHost/ principals # First, get a list of principals and put it in a temp file to retain its line structure. # This will have junk on top that we need to strip off, including the read_kt and list commands and the # table of keys header lines @@ -78,7 +78,7 @@ fi # # Take the list. The first awk selects only the lines that start with some nomber of spaces and a digit. This gest rid of the -# junk so every line has a keytab slot descrtiptor. +# junk so every line has a keytab slot descriptor. # The next awk generates a delete_entry command for each unwanted slot. # We then sort to reverse the list since each time you delete an entry the entries after get new slot numbers. # sort -rV reverse sorts the entries by "version number" which is to say actual numeric value. -n sorts by digit. diff --git a/Unix/tools/pamtester.c b/Unix/tools/pamtester.c index 9269b51e5..d1fd76628 100644 --- a/Unix/tools/pamtester.c +++ b/Unix/tools/pamtester.c @@ -19,7 +19,7 @@ static int _authCallback( const char* password = (const char*)applicationData; int i; - /* If zero (or megative) messages, return now */ + /* If zero (or negative) messages, return now */ if (numMessages <= 0) { diff --git a/Unix/ut/strutil.h b/Unix/ut/strutil.h index 2623a1614..c15276000 100644 --- a/Unix/ut/strutil.h +++ b/Unix/ut/strutil.h @@ -28,10 +28,10 @@ namespace ut typedef std::wstring String; #endif - // primitive converion of ZChar to char - mostly for debugging printouts + // primitive conversion of ZChar to char - mostly for debugging printouts std::string StrToChar(const String& str); - // array <--> string converions like "A,B,C" <-> ["A","B","C"] + // array <--> string conversions like "A,B,C" <-> ["A","B","C"] void StringToArray( const ZChar* str, std::vector& res, diff --git a/Unix/ut/ut.cpp b/Unix/ut/ut.cpp index 4c3c53f28..fe45f21ca 100644 --- a/Unix/ut/ut.cpp +++ b/Unix/ut/ut.cpp @@ -333,7 +333,7 @@ int MI_MAIN_CALL main(int argc, _In_reads_(argc) CharPtr argv[]) Tprintf(ZT("\n")); - /* Print test executation summary */ + /* Print test execution summary */ s_summary = true; diff --git a/Unix/ut/ut.h b/Unix/ut/ut.h index 663931a69..c024d7510 100644 --- a/Unix/ut/ut.h +++ b/Unix/ut/ut.h @@ -114,7 +114,7 @@ namespace ut typedef void (*MODULE_TEST_CALLBACK) (); - // interanl callbacks - used by macros + // internal callbacks - used by macros void registerCallback(MODULE_TEST_CALLBACK pfn); unsigned int testStarted(const char* name); void testCompleted(const char* name); diff --git a/Unix/ut/utility.h b/Unix/ut/utility.h index 1fa6be373..913ae19e7 100644 --- a/Unix/ut/utility.h +++ b/Unix/ut/utility.h @@ -37,7 +37,7 @@ bool writeFileContent( const std::string& file, const std::vector< unsigned char // start_dir - can be null (use curent directory); should be provided if test is playing with current directory // sub_directory - related to unittet directory - for example "tools/mof" // file - file name -// reutrns file if found or ASSERTs otherwise +// returns file if found or ASSERTs otherwise std::string findSampleFile(const char* start_dir, const char* sub_directory, const char* file); @@ -70,7 +70,7 @@ void removeIfExist( const char* file ); void sleep_sec(MI_Uint64 sec); void sleep_ms(MI_Uint64 ms_sec); -// time funcitonality +// time functionality typedef unsigned long long uint64; uint64 time_now(); diff --git a/Unix/ut/win/acv/winomi_config.cmd b/Unix/ut/win/acv/winomi_config.cmd index f3074918c..b4fb32eb0 100644 --- a/Unix/ut/win/acv/winomi_config.cmd +++ b/Unix/ut/win/acv/winomi_config.cmd @@ -12,7 +12,7 @@ SET TESTDIR=%BINPATH%\tests SET LOGDIR=%CD% SET LOGFILENAME=%LOGDIR%\config.log -ECHO Current Direcotry: %LOGDIR% >%LOGFILENAME% 2>&1 +ECHO Current Directory: %LOGDIR% >%LOGFILENAME% 2>&1 SET TEST_ROOT=%SystemDrive%\winomi diff --git a/Unix/ut/win/acv/winomi_test.cmd b/Unix/ut/win/acv/winomi_test.cmd index 8085052c0..1d7f02756 100644 --- a/Unix/ut/win/acv/winomi_test.cmd +++ b/Unix/ut/win/acv/winomi_test.cmd @@ -9,7 +9,7 @@ SET TESTDIR=%BINPATH%\tests SET LOGDIR=%CD% SET LOGFILENAME=%LOGDIR%\test.log -ECHO Current Direcotry: %LOGDIR% >%LOGFILENAME% 2>&1 +ECHO Current Directory: %LOGDIR% >%LOGFILENAME% 2>&1 REM Workaround test failure around test_pal.cpp:TmpName function IF NOT EXIST C:\temp ( @@ -18,7 +18,7 @@ IF NOT EXIST C:\temp ( REM ======================Check Unit Test ROOT directory============= IF NOT EXIST %BINPATH%\omiserver.exe ( - echo Please check the configration. Omiserver.exe does not exist under %TEST_ROOT% >> %LOGFILENAME% 2>&1 + echo Please check the configuration. Omiserver.exe does not exist under %TEST_ROOT% >> %LOGFILENAME% 2>&1 GOTO :ERROR ) diff --git a/Unix/ut/win/validateomi.sh b/Unix/ut/win/validateomi.sh index 0e2ffb81e..92b984edd 100644 --- a/Unix/ut/win/validateomi.sh +++ b/Unix/ut/win/validateomi.sh @@ -48,7 +48,7 @@ unzip $1 -d $UNZIPDIR >unzip.txt if [ $? = 0 ] then - echo "$1 was unziped to $UNZIPDIR." + echo "$1 was unzipped to $UNZIPDIR." else echo "$1 is not a valid zip file!" exit 1 diff --git a/Unix/wql/like.c b/Unix/wql/like.c index 7517a925e..b110811b1 100644 --- a/Unix/wql/like.c +++ b/Unix/wql/like.c @@ -220,7 +220,7 @@ MI_Boolean WQL_MatchLike( { matchedPos = c + 1; /* current wild char still match, but it should be */ - /* the same as its preivous pattern char, I.E., */ + /* the same as its previous pattern char, I.E., */ /* matched one char */ currentRow[c] = MATCHED_WITH_ONE_CHAR; } @@ -228,7 +228,7 @@ MI_Boolean WQL_MatchLike( { /* if previous one is a wildcard match, */ /* then this wildcard has the same matching result */ - /* with preivous char */ + /* with previous char */ matchedPos = c; } for (; matchedPos <= stringLength; matchedPos++) @@ -262,7 +262,7 @@ MI_Boolean WQL_MatchLike( currentString = orgString + c; if (match == MATCHED_WITH_WILDCARD_CHAR) { - /* match the current char if preivous is a wildchar match */ + /* match the current char if previous is a wildchar match */ /* otherwise match the next char */ currentString --; } @@ -318,7 +318,7 @@ MI_Boolean WQL_MatchLike( currentString = orgString + c; if (match == MATCHED_WITH_WILDCARD_CHAR) { - /* match the current char if preivous is a wildchar match, */ + /* match the current char if previous is a wildchar match, */ /* otherwise match the next char */ currentString --; } diff --git a/Unix/wql/wql.c b/Unix/wql/wql.c index 1625b15e2..6762ce307 100644 --- a/Unix/wql/wql.c +++ b/Unix/wql/wql.c @@ -327,7 +327,7 @@ int _ValidateLookup( return 0; case MI_INSTANCE: /* Use WQL_TYPE_ANY since the type of the embedded instance property - * cannot be deterined. + * cannot be determined. */ symbol->type = WQL_TYPE_ANY; return 0; @@ -804,7 +804,7 @@ int WQL_LookupInstanceProperty( if (r != MI_RESULT_OK) return -1; - /* Handle ISA opeartion and ISA check for gets on embedded properties: + /* Handle ISA operation and ISA check for gets on embedded properties: * For example: SourceInstance.CIM_StorageVolume.OperationalStatus */ if (embeddedClassName) @@ -835,7 +835,7 @@ int WQL_LookupInstanceProperty( return 0; } - /* If lookup was called to get an embedded intance property */ + /* If lookup was called to get an embedded instance property */ if (embeddedPropertyName && !isa) { diff --git a/Unix/wsman/wsbuf.c b/Unix/wsman/wsbuf.c index d993fd782..b4a729b47 100644 --- a/Unix/wsman/wsbuf.c +++ b/Unix/wsman/wsbuf.c @@ -488,7 +488,7 @@ static const ZChar* s_miTypeToXmlType[MI_TYPE_MAX] = }; #if (MI_CHAR_TYPE == 1) -/* This table idnetifies special XML characters. */ +/* This table identifies special XML characters. */ static const char s_specialChars[256] = { 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, diff --git a/Unix/wsman/wsbuf.h b/Unix/wsman/wsbuf.h index ce73ae6fe..f7cbc13e0 100644 --- a/Unix/wsman/wsbuf.h +++ b/Unix/wsman/wsbuf.h @@ -196,12 +196,12 @@ void WSBuf_GenerateMessageID( _Pre_writable_size_(WS_MSG_ID_SIZE) ZChar msgID[WS_MSG_ID_SIZE]); /* Maps CIMM error to the most relevant WS fault; - Retuns description of CIM error (can be used as fault description) */ + Returns description of CIM error (can be used as fault description) */ WSBUF_FAULT_CODE WSBuf_CIMErrorToWSFault( MI_Uint32 cimErrorCode, const ZChar** description ); -/* Helper function to create a fault repsonse */ +/* Helper function to create a fault response */ Page* WSBuf_CreateFaultResponsePage( WSBUF_FAULT_CODE faultCode, const ZChar* notUnderstoodTag, @@ -212,7 +212,7 @@ Page* WSBuf_CreateReleaseResponsePage( const ZChar* requestMessageID); /* Creates soap header with provided action. - Funciotn leaves header open so extra header fields can be added */ + Function leaves header open so extra header fields can be added */ MI_Result WSBuf_CreateSoapResponseHeader( WSBuf *buf, const ZChar* action, diff --git a/Unix/wsman/wsman.c b/Unix/wsman/wsman.c index 63b66577a..f41245338 100644 --- a/Unix/wsman/wsman.c +++ b/Unix/wsman/wsman.c @@ -120,7 +120,7 @@ const MI_Uint64 WSMAN_TIMEOUT_DEFAULT = 60 * 1000 * 1000; // 60 Seconds in micro "\n" \ "\n" -/* aproximate repsonse header size */ +/* approximate response header size */ #define APPROX_ENUM_RESP_ENVELOPE_SIZE \ (sizeof(TYPICAL_ENUM_RESPONSE_ENVELOPE) + 64) @@ -134,7 +134,7 @@ typedef struct _WSMAN_ConnectionData WSMAN_ConnectionData; typedef struct _WSMAN_EnumerateContext WSMAN_EnumerateContext; /* Maximum number of enumeration contexts stored at the same time - effectively limits number of concurent enumerations */ + effectively limits number of concurrent enumerations */ #define WSMAN_MAX_ENUM_CONTEXTS 64 struct _WSMAN @@ -204,13 +204,13 @@ struct _WSMAN_ConnectionData } u; - /* incomming request msg */ + /* incoming request msg */ HttpRequestMsg * request; /* Request page (buffer for most pointers inside header/body structures) */ Page* page; - /* for single-instance/single-schema repsonses, we keep mesage until result + /* for single-instance/single-schema responses, we keep message until result received to avoid conflicts with keep-alive enabled */ Message* single_message; @@ -244,7 +244,7 @@ typedef struct _WSMAN_EnumerateContextData MI_Uint32 requestTag; /* Success response to client sent or not */ - MI_Boolean responsed; + MI_Boolean responded; }WSMAN_EnumerateContextData; /* Enumeration context: @@ -267,15 +267,15 @@ struct _WSMAN_EnumerateContext /* Total size of all instances in response queue */ MI_Uint32 totalResponseSize; - /* Number of messages in repsonse queue */ + /* Number of messages in response queue */ MI_Uint32 totalResponses; - /* lower 16 bits is aninxed in self->enumerateContexts, upper 16 bits are random data (for validation) */ + /* lower 16 bits is initialized in self->enumerateContexts, upper 16 bits are random data (for validation) */ MI_Uint32 enumerationContextID; MI_Result finalResult; PostResultMsg *errorMessage; - /* Indicates that 'Result' recevied from provider and stored in finalResult. + /* Indicates that 'Result' received from provider and stored in finalResult. * Also blocks future posts from providers during shutdown scenarios. */ MI_Boolean enumerationCompleted; @@ -883,7 +883,7 @@ static void _CD_SendFaultResponse( WSBUF_FAULT_CODE faultCode, _In_ const ZChar* descriptionText) { - /* This method is called when there is Non-Cim error occured ... + /* This method is called when there is Non-Cim error occurred ... * so sending MI_RESULT_OK */ PostResultMsg message; @@ -1401,7 +1401,7 @@ static MI_Uint64 _GetTimeoutFromConnectionData( { /* A timeout was specified. Determine the correct value to use * or use the default. - * Note: OperationTimeout has precendence when both are specified. */ + * Note: OperationTimeout has precedence when both are specified. */ if (self->wsheader.operationTimeout.exists) { DatetimeToUsec(&self->wsheader.operationTimeout.value, &timeoutUsec); @@ -1612,7 +1612,7 @@ static void _ProcessAssociatorsRequest( msg = AssociationsOfReq_New( _NextOperationID(), WSMANFlag | enumerationMode | _GetFlagsFromWsmanOptions(selfCD), - (selfCD->u.wsenumpullbody.associationFilter.isAssosiatorOperation == MI_TRUE) ? AssociatorsOfReqTag : ReferencesOfReqTag); + (selfCD->u.wsenumpullbody.associationFilter.isAssociatorOperation == MI_TRUE) ? AssociatorsOfReqTag : ReferencesOfReqTag); if (!msg || (_GetHTTPHeaderOpts(selfCD, &msg->base) != MI_RESULT_OK) || (_GetWSManHeaderOpts(selfCD, &msg->base) != MI_RESULT_OK)) { @@ -1649,7 +1649,7 @@ static void _ProcessAssociatorsRequest( AuthInfo_Copy( &msg->base.authInfo, &selfCD->httpHeaders->authInfo ); - /* Set messages fileds from association filter */ + /* Set messages fields from association filter */ { WSMAN_AssociationFilter* filter = &selfCD->u.wsenumpullbody.associationFilter; @@ -1658,7 +1658,7 @@ static void _ProcessAssociatorsRequest( msg->role = filter->role; msg->resultClass = filter->resultClassName; - if (filter->isAssosiatorOperation == MI_TRUE) + if (filter->isAssociatorOperation == MI_TRUE) { msg->assocClass = filter->associationClassName; msg->resultRole = filter->resultRole; @@ -1798,7 +1798,7 @@ static void _ParseValidateProcessInvokeRequest( { InvokeReq* msg = 0; - /* if instance was created from batch, re-use exisintg batch to allocate message */ + /* if instance was created from batch, re-use existing batch to allocate message */ if (selfCD->wsheader.instanceBatch) { /* Allocate heap space for message */ @@ -1947,7 +1947,7 @@ static void _ParseValidateProcessGetInstanceRequest( return; } - /* if instance was created from batch, re-use exisintg batch to allocate message */ + /* if instance was created from batch, re-use existing batch to allocate message */ /* Allocate heap space for message */ msg = Batch_GetClear(selfCD->wsheader.instanceBatch, sizeof(GetInstanceReq)); @@ -2121,7 +2121,7 @@ static void _ParseValidateProcessPutRequest( return; } - /* if instance was created from batch, re-use exisintg batch to allocate message */ + /* if instance was created from batch, re-use existing batch to allocate message */ /* Allocate heap space for message */ msg = Batch_GetClear(selfCD->wsheader.instanceBatch, sizeof(ModifyInstanceReq)); @@ -2211,7 +2211,7 @@ static void _ParseValidateProcessDeleteRequest( return; } - /* if instance was created from batch, re-use exisintg batch to allocate message */ + /* if instance was created from batch, re-use existing batch to allocate message */ /* Allocate heap space for message */ msg = Batch_GetClear(selfCD->wsheader.instanceBatch, sizeof(DeleteInstanceReq)); @@ -2393,7 +2393,7 @@ static void _ParseValidateProcessPullRequest( return; } - /* Process reqest */ + /* Process request */ _ProcessPullRequest(selfCD); } @@ -2562,7 +2562,7 @@ static void _EC_ProcessPendingMessage( /* * Encapsulates the check to see if the last message has been sent for an - * WSMAN_Enumeratecontext. Returns TRUE if the last message has been sent + * WSMAN_EnumerateContext. Returns TRUE if the last message has been sent * and it is OK to begin cleanup. */ static MI_Boolean _EC_IsLastMessageSent( @@ -2614,7 +2614,7 @@ static void _SendEnumPullResponse( _EC_GetMessageSubset(selfEC, selfCD, &subsetEnd, &messagesSize, &bookmarkToSend); } - /* validate if all mesages can be sent */ + /* validate if all messages can be sent */ if (endOfSequence && subsetEnd) { endOfSequence = MI_FALSE; @@ -3242,7 +3242,7 @@ static void _EC_ProcessEnumResponse( /* do we have connected client to send response to? */ if( selfEC->strand.base.info.thisClosedOther ) { - // TODO: Current code keeps acumulating results if client is not connected (that looks wrong) + // TODO: Current code keeps accumulating results if client is not connected (that looks wrong) // DEBUG_ASSERT(!selfEC->activeConnection); return; } @@ -3280,7 +3280,7 @@ static void _EC_ProcessEnumResponse( /* Check if partial response has to be sent (or enumeration is completed) */ /* Update: send anything that is available once client re-connects with pull */ - /* Send resposne now if: + /* Send response now if: - enumeration is complete - queue has enough instances to fill entire packet (by size or number) - pull request arrives. Normally, network is slower than providers, @@ -3316,7 +3316,7 @@ static void _EC_ProcessEnumResponse( * been sent. */ if (selfEC->data.requestTag == SubscribeReqTag && - MI_FALSE == selfEC->data.responsed) + MI_FALSE == selfEC->data.responded) { return; } @@ -3388,9 +3388,9 @@ static void _ProcessSubscribeResponseEnumerationContext( /* Success Subscribe Response continues the subscription */ selfEC->finalResult = MI_RESULT_OK; // TODO: this is not actually a final result - if (MI_FALSE == selfEC->data.responsed) + if (MI_FALSE == selfEC->data.responded) { - selfEC->data.responsed = MI_TRUE; + selfEC->data.responded = MI_TRUE; if (NULL == selfEC->activeConnection) { @@ -3539,7 +3539,7 @@ static void _InteractionWsman_Transport_Post( _In_ Strand* self_, _In_ Message* Message_AddRef( msg ); - // Schedule it as an auxiliary method, so anthing else scheduled already + // Schedule it as an auxiliary method, so anything else scheduled already // (like a pending ack from Http) is executed first StrandBoth_ScheduleAuxLeft( &self->strand, WSMANCONNECTION_STRANDAUX_PROCESSREQUEST ); } @@ -3917,7 +3917,7 @@ static void _InteractionWsman_Right_Ack( _In_ Strand* self_) // // Doesn't need to ack to left side (http layer) here - // since left was aleady acked upon opending this strand + // since left was already acked upon opening this strand // } @@ -4023,7 +4023,7 @@ static void _InteractionWsmanEnum_Left_Timeout( trace_Wsman_ExpiredTimerForEnumerate(self, self->enumerationContextID); _PostHandlerForFiredTimers( self ); - return; /* Prevents shutdown handling from occuring here */ + return; /* Prevents shutdown handling from occurring here */ } else { @@ -4038,11 +4038,11 @@ static void _InteractionWsmanEnum_Left_Timeout( trace_WsmanEnumerationcontext_HeartbeatTimeout(self, self->enumerationContextID); /* Send what instances are available OR a heartbeat event. - * Return early to prevents shutdown handling from occuring here + * Return early to prevents shutdown handling from occurring here */ self->ecTimer.forceResult = MI_TRUE; _PostHandlerForFiredTimers( self ); - return; /* Prevents shutdown handling from occuring here */ + return; /* Prevents shutdown handling from occurring here */ } /* Else: @@ -4190,7 +4190,7 @@ static void _InteractionWsmanEnum_Left_ConnectionDataTimeout( _In_ Strand* self_ * ECONNRESET termination of a running operation. * 2. The last message for a request has been sent. * 3. An error occurred during processing of a request. - * 4. Its hearbeat timer expired without a pull attached. + * 4. Its heartbeat timer expired without a pull attached. * 5. An incoming request from CD timed out prior to EC sending an * initial response. * @@ -4612,7 +4612,7 @@ MI_Result WSMAN_New_Listener( self->numEnumerateContexts = 0; self->deleting = MI_FALSE; - /*ATTN! slector can be null!*/ + /*ATTN! selector can be null!*/ self->selector = selector; /* Set the magic number */ @@ -4925,7 +4925,7 @@ static int _ValidateSubscribeRequest( selfCD, NULL, WSBUF_FAULT_INTERNAL_ERROR, - ZT("mandatory parameters (className, namesapce) are not provided for subscribe request")); + ZT("mandatory parameters (className, namespace) are not provided for subscribe request")); return -1; } @@ -5076,7 +5076,7 @@ static void _ProcessSubscribeRequest( enumContext->data.requestTag = msg->base.base.tag; /* mark the response flag to false */ - enumContext->data.responsed = MI_FALSE; + enumContext->data.responded = MI_FALSE; if (selfCD->u.wsenumpullbody.heartbeat.exists) { @@ -5139,7 +5139,7 @@ static void _ParseValidateProcessSubscribeRequest( return; } - /* Process reqest */ + /* Process request */ _ProcessSubscribeRequest(selfCD); } @@ -5162,7 +5162,7 @@ static void _ParseValidateProcessUnsubscribeRequest( return; } - /* Process reqest */ + /* Process request */ _ProcessUnsubscribeRequest(selfCD); } diff --git a/Unix/wsman/wsman.h b/Unix/wsman/wsman.h index f4cfc48ac..7bd0b4e2f 100644 --- a/Unix/wsman/wsman.h +++ b/Unix/wsman/wsman.h @@ -35,7 +35,7 @@ typedef struct _WSMAN_Options /* Whether to trace to standard output or not */ MI_Boolean enableTracing; - /* Whether to do HTTP-leavel tracing */ + /* Whether to do HTTP-level tracing */ MI_Boolean enableHTTPTracing; } WSMAN_Options; diff --git a/Unix/wsman/wsmanerrorhandling.c b/Unix/wsman/wsmanerrorhandling.c index 4906f3308..661b5b79a 100644 --- a/Unix/wsman/wsmanerrorhandling.c +++ b/Unix/wsman/wsmanerrorhandling.c @@ -448,7 +448,7 @@ Soap_Fault_Information g_SoapFaults[]= WSMANTAG_ACTION_FAULT_TRANSFER }, { - ERROR_WSMAN_INSUFFCIENT_SELECTORS, + ERROR_WSMAN_INSUFFICIENT_SELECTORS, SOAP_FAULT_SENDER, SOAP_FAULT_SUBCODE_ERROR_WSMAN_INVALID_SELECTORS, SOAP_FAULT_WSMAN_DETAIL_SELECTORS_INSUFFICIENT, @@ -1199,8 +1199,8 @@ Error_Types_Information g_errorTypes[]= ZT("ERROR_WSMAN_INVALID_REPRESENTATION") }, { - ERROR_WSMAN_INSUFFCIENT_SELECTORS, - ZT("ERROR_WSMAN_INSUFFCIENT_SELECTORS") + ERROR_WSMAN_INSUFFICIENT_SELECTORS, + ZT("ERROR_WSMAN_INSUFFICIENT_SELECTORS") }, { ERROR_WSMAN_INVALID_URI_WMI_SINGLETON, @@ -1452,7 +1452,7 @@ Probable_Cause_Data g_ProbableCauses[]= }; /*++ - Gets soap fault information assoicated with wsman error code + Gets soap fault information associated with wsman error code --*/ Soap_Fault_Information* GetFaultInformation( diff --git a/Unix/wsman/wsmanerrorhandling.h b/Unix/wsman/wsmanerrorhandling.h index 9f6e3192a..5497aa26e 100644 --- a/Unix/wsman/wsmanerrorhandling.h +++ b/Unix/wsman/wsmanerrorhandling.h @@ -48,7 +48,7 @@ #define SOAP_FAULT_SUBCODE_ERROR_WSMAN_DELIVERY_REFUSED WSMAN_NS_PREFIX MI_T("DeliveryRefused") #define SOAP_FAULT_SUBCODE_ERROR_WSMAN_DESTINATION_UNREACHABLE WSA_NS_PREFIX MI_T("DestinationUnreachable") #define SOAP_FAULT_SUBCODE_ERROR_WSMAN_ENCODING_LIMIT WSMAN_NS_PREFIX MI_T("EncodingLimit") -#define SOAP_FAULT_SUBCODE_ERROR_WSMAN_ENDPOINT_UNAVAILABLE WSA_NS_PREFIX MI_T("EndpointUnavilable") +#define SOAP_FAULT_SUBCODE_ERROR_WSMAN_ENDPOINT_UNAVAILABLE WSA_NS_PREFIX MI_T("EndpointUnavailable") #define SOAP_FAULT_SUBCODE_ERROR_WSMAN_EVENTDELIVERTOUNUSABLE WSMAN_NS_PREFIX MI_T("EventDeliverToUnusable") #define SOAP_FAULT_SUBCODE_ERROR_WSMAN_EVENTING_SOURCE_UNABLE_TO_PROCESS WSE_NS_PREFIX MI_T("EventSourceUnableToProcess") #define SOAP_FAULT_SUBCODE_ERROR_WSMAN_ENUMERATE_FILTER_DIALECT_REQUESTED_UNAVAILABLE WSEN_NS_PREFIX MI_T("FilterDialectRequestedUnavailable") @@ -81,7 +81,7 @@ #define SOAP_FAULT_SUBCODE_ERROR_WSMB_POLYMORPHISM_MODE_UNSUPPORTED WSMB_NS_PREFIX MI_T("PolymorphismModeNotSupported") -//WSMAN DETAIL STRINGS -- In order of apearence in WS-Man spec +//WSMAN DETAIL STRINGS -- In order of appearance in WS-Man spec #define DMTF_FAULT_DETAIL_NS MI_T("http://schemas.dmtf.org/wbem/wsman/1/wsman/") #define SOAP_FAULT_WSMAN_DETAIL_ACTION_MISMATCH DMTF_FAULT_DETAIL_NS MI_T("faultDetail/ActionMismatch") @@ -203,7 +203,7 @@ typedef enum _Error_Types ERROR_WSMAN_INVALID_XML_NAMESPACE, ERROR_WSMAN_INVALID_XML_FRAGMENT, ERROR_WSMAN_INVALID_REPRESENTATION, - ERROR_WSMAN_INSUFFCIENT_SELECTORS, + ERROR_WSMAN_INSUFFICIENT_SELECTORS, ERROR_WSMAN_INVALID_URI_WMI_SINGLETON, ERROR_WSMAN_UNEXPECTED_SELECTORS, ERROR_WSMAN_SELECTOR_TYPEMISMATCH, @@ -291,7 +291,7 @@ typedef struct _Probable_Cause_Data Error_Types type; MI_Uint16 probable_cause_id; // From CIM_Error mof const MI_Char *description; - void *alloc_p; // If the Probaable_Cause_Data was PAL_Malloc'ed, we can free it using this address. If the address is NULL, + void *alloc_p; // If the Probable_Cause_Data was PAL_Malloc'ed, we can free it using this address. If the address is NULL, // this is a pointer to static data // If it is PAL_Malloc'ed, the description is expected to be alloced along with the description and vice versa } Probable_Cause_Data; diff --git a/Unix/wsman/wsmanparser.c b/Unix/wsman/wsmanparser.c index f1731420e..4c477ecdd 100644 --- a/Unix/wsman/wsmanparser.c +++ b/Unix/wsman/wsmanparser.c @@ -641,7 +641,7 @@ static int _GetReference( ** ** _GetSingleProperty() ** -** This function gets a instance property. The caller has already counsumed +** This function gets a instance property. The caller has already consumed ** the start property element. This function reads the value and the ** closing property element. ** @@ -727,7 +727,7 @@ static int _GetSingleProperty( } else if ('a' == e.data.namespaceId) { - /* Reference as */ + /* Reference as */ value->instance = 0; if (0 != _GetReference(xml, &e, dynamicBatch, &value->instance, MI_FALSE)) RETURN(-1); @@ -1269,7 +1269,7 @@ int WS_ParseWSHeader( } else if(resourceUriHash == WSMAN_RESOURCE_URI_WS_CIM_SCHEMA) { - wsheader->schemaRequestType = WS_CIM_SCHEMA_REQEUST; + wsheader->schemaRequestType = WS_CIM_SCHEMA_REQUEST; } wsheader->rqtResourceUri = e.data.data; @@ -1519,7 +1519,7 @@ int WS_ParseWSHeader( { wsheader->unknownMandatoryTag = e.data.data; trace_Wsman_UnknownMandatoryTag(tcs(e.data.data)); - /* validate header will send correct repsonse to the client */ + /* validate header will send correct response to the client */ } if (XML_Skip(xml) != 0) @@ -1731,12 +1731,12 @@ static int _ParseAssociationFilter( if (PAL_T('b') == e.data.namespaceId && Tcscmp(e.data.data, PAL_T("AssociatedInstances")) == 0) { - filter->isAssosiatorOperation = MI_TRUE; + filter->isAssociatorOperation = MI_TRUE; } else if (PAL_T('b') == e.data.namespaceId && Tcscmp(e.data.data, PAL_T("AssociationInstances")) == 0) { - filter->isAssosiatorOperation = MI_FALSE; + filter->isAssociatorOperation = MI_FALSE; } else RETURN(-1); @@ -1814,7 +1814,7 @@ static int _ParseAssociationFilter( } } - if(filter->isAssosiatorOperation == MI_TRUE) + if(filter->isAssociatorOperation == MI_TRUE) { /* Expect */ if (XML_Expect(xml, &e, XML_END, PAL_T('b'), PAL_T("AssociatedInstances")) != 0) @@ -2258,7 +2258,7 @@ int WS_ParseReceiveBody( r = Instance_NewDynamic( dynamicInstanceParams, - PAL_T("ReceiveParamaters"), + PAL_T("ReceiveParameters"), MI_FLAG_CLASS, dynamicBatch); if (MI_RESULT_OK != r) @@ -2393,7 +2393,7 @@ int WS_ParseSendBody( r = Instance_NewDynamic( dynamicInstanceParams, - PAL_T("SendParamaters"), + PAL_T("SendParameters"), MI_FLAG_CLASS, dynamicBatch); if (MI_RESULT_OK != r) @@ -2502,7 +2502,7 @@ int WS_ParseSignalBody( r = Instance_NewDynamic( dynamicInstanceParams, - PAL_T("SignalParamaters"), + PAL_T("SignalParameters"), MI_FLAG_CLASS, dynamicBatch); if (MI_RESULT_OK != r) @@ -3252,7 +3252,7 @@ int WS_ParseFaultBody( - Normal ProviderFault respones: + Normal ProviderFault response: ERROR_INTERNAL_ERROR case: @@ -3612,7 +3612,7 @@ int WS_ParseSubscribeBody( return 0; } -/* Unsubcribe message sample: +/* Unsubscribe message sample: http://localhost:5985/wsman diff --git a/Unix/wsman/wsmanparser.h b/Unix/wsman/wsmanparser.h index a2df68461..22a0c0b00 100644 --- a/Unix/wsman/wsmanparser.h +++ b/Unix/wsman/wsmanparser.h @@ -56,7 +56,7 @@ typedef struct _WSMAN_WSHeader { NOT_A_SCHEMA_REQUEST, CIM_XML_SCHEMA_REQUEST, - WS_CIM_SCHEMA_REQEUST + WS_CIM_SCHEMA_REQUEST } schemaRequestType; MI_Boolean includeInheritanceHierarchy; @@ -84,7 +84,7 @@ typedef struct _WSMAN_AssociationFilter const TChar* resultRole; /* True if element present false if */ - MI_Boolean isAssosiatorOperation; + MI_Boolean isAssociatorOperation; } WSMAN_AssociationFilter; diff --git a/Unix/wsman/wstags.h b/Unix/wsman/wstags.h index 2b7d97d2a..9f6fde8c5 100644 --- a/Unix/wsman/wstags.h +++ b/Unix/wsman/wstags.h @@ -12,7 +12,7 @@ enum { WSMANTAG_ENUM_POLYMORPHISM_MODE_NONE = 1, - WSMANTAG_ENUM_DIALIECT = 2, + WSMANTAG_ENUM_DIALECT = 2, WSMANTAG_ENUM_MODE_EPR = 3, WSMANTAG_ENUM_MODE_OBJECT = 4, WSMAN_OPTION_INCLUDE_QUALIFIERS = 5, diff --git a/Unix/wsman/wstags.txt b/Unix/wsman/wstags.txt index eaf9aa983..75485779d 100644 --- a/Unix/wsman/wstags.txt +++ b/Unix/wsman/wstags.txt @@ -1,5 +1,5 @@ 0,None,WSMANTAG_ENUM_POLYMORPHISM_MODE_NONE -0,Dialect,WSMANTAG_ENUM_DIALIECT +0,Dialect,WSMANTAG_ENUM_DIALECT 0,EnumerateEPR,WSMANTAG_ENUM_MODE_EPR 0,EnumerateObject,WSMANTAG_ENUM_MODE_OBJECT 0,IncludeQualifiers,WSMAN_OPTION_INCLUDE_QUALIFIERS diff --git a/Unix/wsman/wstags_quick.inc b/Unix/wsman/wstags_quick.inc index 41836dedb..73860f27b 100644 --- a/Unix/wsman/wstags_quick.inc +++ b/Unix/wsman/wstags_quick.inc @@ -66,7 +66,7 @@ int HashStr(HASHSTR_CHAR c, const HASHSTR_CHAR* s, size_t n) break; case 68: if (HASHSTR_STRCMP(s, HASHSTR_T("Dialect")) == 0) - return WSMANTAG_ENUM_DIALIECT; + return WSMANTAG_ENUM_DIALECT; break; case 69: if (c == 'e' && HASHSTR_STRCMP(s, HASHSTR_T("Expires")) == 0) diff --git a/Unix/wsman/wstags_small.inc b/Unix/wsman/wstags_small.inc index d1868f83f..ba045e406 100644 --- a/Unix/wsman/wstags_small.inc +++ b/Unix/wsman/wstags_small.inc @@ -454,7 +454,7 @@ static const HashStrTuple _tuples[] = { 0x37, /* code */ 0, /* ch */ - WSMANTAG_ENUM_DIALIECT, + WSMANTAG_ENUM_DIALECT, HASHSTR_T("Dialect") }, { diff --git a/Unix/xml/new/xml.c b/Unix/xml/new/xml.c index fe695f563..df73ed314 100644 --- a/Unix/xml/new/xml.c +++ b/Unix/xml/new/xml.c @@ -217,11 +217,11 @@ INLINE Char* _ToEntityRef( /* Note: we collected the following statistics on the frequency of * each entity reference in a large body of XML documents: * - * " - 74,480 occurences - * ' - 13,877 occurences - * < - 9,919 occurences - * > - 9,853 occurences - * & - 111 occurences + * " - 74,480 occurrences + * ' - 13,877 occurrences + * < - 9,919 occurrences + * > - 9,853 occurrences + * & - 111 occurrences * * The cases below are organized in order of statistical frequency. */ @@ -312,8 +312,8 @@ INLINE Char* _ToRef(__inout XML* self, __in_z Char* p, __inout_z Char* ch) static int _Match1(Char c) { - /* Matches all but '\0', '\'', '"', and '&'. All matching charcters - * yeild 2, except for '\n', which yields 1 + /* Matches all but '\0', '\'', '"', and '&'. All matching characters + * yield 2, except for '\n', which yields 1 */ static const unsigned char _match[256] = { @@ -491,7 +491,7 @@ INLINE unsigned int _HashCode(__in_ecount_z(n) const Char* s, size_t n) * (e.g., URIs) the first character is not unique. Instead the hash * comprises three components: * (1) The length - * (3) The last chacter + * (3) The last character */ return n ? (int)(n ^ s[n-1]) : 0; } @@ -811,7 +811,7 @@ static void _ParseProcessingInstruction( } } - /* If input exhuasted */ + /* If input exhausted */ if (*p == '\0') { XML_Raise( @@ -924,7 +924,7 @@ static void _ParseStartTag( } } - /* If input exhuasted */ + /* If input exhausted */ if (*p == '\0') { XML_Raise( @@ -1145,7 +1145,7 @@ static void _ParseEndTag( } } - /* If input exhuasted */ + /* If input exhausted */ if (*p == '\0') { XML_Raise( @@ -1474,7 +1474,7 @@ static int _ParseCharData( XML_Raise( self, ID_MIUTILS_XMLPARSER_CHARDATA_EXPECTED_ELEMENT_END_TAG, - "expcted opening angle bracket"); + "expected opening angle bracket"); return 0; } diff --git a/Unix/xml/win/xml.c b/Unix/xml/win/xml.c index 409839510..512fc2d98 100644 --- a/Unix/xml/win/xml.c +++ b/Unix/xml/win/xml.c @@ -155,11 +155,11 @@ INLINE Char* _ToEntityRef( /* Note: we collected the following statistics on the frequency of * each entity reference in a large body of XML documents: * - * " - 74,480 occurences - * ' - 13,877 occurences - * < - 9,919 occurences - * > - 9,853 occurences - * & - 111 occurences + * " - 74,480 occurrences + * ' - 13,877 occurrences + * < - 9,919 occurrences + * > - 9,853 occurrences + * & - 111 occurrences * * The cases below are organized in order of statistical frequency. */ @@ -244,8 +244,8 @@ INLINE Char* _ToRef(__inout XML* self, __in_z Char* p, __inout_z Char* ch) static int _Match1(Char c) { - /* Matches all but '\0', '\'', '"', and '&'. All matching charcters - * yeild 2, except for '\n', which yields 1 + /* Matches all but '\0', '\'', '"', and '&'. All matching characters + * yield 2, except for '\n', which yields 1 */ static const unsigned char _match[256] = { @@ -420,7 +420,7 @@ INLINE unsigned int _HashCode(__in_ecount_z(n) const Char* s, size_t n) * (e.g., URIs) the first character is not unique. Instead the hash * comprises three components: * (1) The length - * (3) The last chacter + * (3) The last character */ return n ? (int)(n ^ s[n-1]) : 0; } @@ -664,7 +664,7 @@ static void _ParseAttr( /* Check for attribute array overflow */ if (elem->attrsSize == XML_MAX_ATTRIBUTES) { - elem->data.data[elem->data.size] = 0; //May not have been null termated yet + elem->data.data[elem->data.size] = 0; //May not have been null terminated yet XML_Raise(self, ID_MIUTILS_XMLPARSER_TOO_MANY_ATTRIBUTES, elem->data.data, (int)XML_MAX_ATTRIBUTES); return; } @@ -715,7 +715,7 @@ static void _ParseProcessingInstruction( } } - /* If input exhuasted */ + /* If input exhausted */ if (*p == '\0') { XML_Raise(self, ID_MIUTILS_XMLPARSER_END_OF_XML_INSTRUCTION); @@ -819,7 +819,7 @@ static void _ParseStartTag( } } - /* If input exhuasted */ + /* If input exhausted */ if (*p == '\0') { XML_Raise(self, ID_MIUTILS_XMLPARSER_ELEMENT_NAME_PREMATURE_END); @@ -1011,7 +1011,7 @@ static void _ParseEndTag( } } - /* If input exhuasted */ + /* If input exhausted */ if (*p == '\0') { XML_Raise(self, ID_MIUTILS_XMLPARSER_ELEMENT_NAME_PREMATURE_END_ELEM_END); @@ -1701,7 +1701,7 @@ void XML_Raise(__inout XML* self, unsigned formatStringId, ...) va_end(ap); } #endif - XML_Raise2(self, T("An XML error occured!")); + XML_Raise2(self, T("An XML error occurred!")); } void XML_FormatError(__inout XML* self, __out_ecount_z(size) Char* format, size_t size) diff --git a/Unix/xml/xml.c b/Unix/xml/xml.c index 68d1824f9..12e0db9ce 100644 --- a/Unix/xml/xml.c +++ b/Unix/xml/xml.c @@ -176,11 +176,11 @@ INLINE XML_Char* _ToEntityRef(_Inout_ XML* self, _In_z_ XML_Char* p, _Out_ XML_C /* Note: we collected the following statistics on the frequency of * each entity reference in a large body of XML documents: * - * " - 74,480 occurences - * ' - 13,877 occurences - * < - 9,919 occurences - * > - 9,853 occurences - * & - 111 occurences + * " - 74,480 occurrences + * ' - 13,877 occurrences + * < - 9,919 occurrences + * > - 9,853 occurrences + * & - 111 occurrences * * The cases below are organized in order of statistical frequency. */ @@ -263,8 +263,8 @@ INLINE XML_Char* _ToRef(_Inout_ XML* self, _In_z_ XML_Char* p, _Out_ XML_Char* c return _ToEntityRef(self, p, ch); } -/* Matches all but '\0', '\'', '"', and '&'. All matching charcters - * yeild 2, except for '\n', which yields 1 +/* Matches all but '\0', '\'', '"', and '&'. All matching characters + * yield 2, except for '\n', which yields 1 */ static const unsigned char _ReduceAttrValueMatchChars[256] = { @@ -463,7 +463,7 @@ INLINE unsigned int _HashCode(_In_reads_z_(n) const XML_Char* s, size_t n) * (e.g., URIs) the first character is not unique. Instead the hash * comprises three components: * (1) The length - * (3) The last chacter + * (3) The last character */ return n ? (int)(n ^ s[n-1]) : 0; } @@ -716,7 +716,7 @@ static void _ParseAttr( /* Check for attribute array overflow */ if (elem->attrsSize == XML_MAX_ATTRIBUTES) { - elem->data.data[elem->data.size] = 0; //May not have been null termated yet + elem->data.data[elem->data.size] = 0; //May not have been null terminated yet XML_Raise(self, XML_ERROR_TOO_MANY_ATTRIBUTES, tcs(elem->data.data), (int)XML_MAX_ATTRIBUTES); return; } @@ -871,7 +871,7 @@ static void _ParseStartTag( } } - /* If input exhuasted */ + /* If input exhausted */ if (*p == '\0') { XML_Raise(self, XML_ERROR_ELEMENT_NAME_PREMATURE_END); @@ -1064,7 +1064,7 @@ static void _ParseEndTag( } } - /* If input exhuasted */ + /* If input exhausted */ if (*p == '\0') { XML_Raise(self, XML_ERROR_ELEMENT_NAME_PREMATURE_END_ELEM_END); diff --git a/Unix/xml/xml.h b/Unix/xml/xml.h index 0cbdc7cd3..f043d6b6b 100644 --- a/Unix/xml/xml.h +++ b/Unix/xml/xml.h @@ -260,7 +260,7 @@ int XML_ParseCharFault(const XML *self, #define XML_ERROR_OPEN_ANGLE_BRACKET_EXPECTED ZT("Failed to parse XML. An open angle bracket '<' was expected and not found.") #define XML_ERROR_COMMENT_CDATA_DOCTYPE_EXPECTED ZT("Failed to parse XML. A comment, CDATA or DOCTYPE element was expected and not found.") #define XML_ERROR_ELEMENT_EXPECTED ZT("Failed to parse XML. An XML element was expected and not found.") -#define XML_ERROR_UNEXPECTED_STATE ZT("Failed to parse XML. The XML parser hit an interal problem that stopped it from progressing.") +#define XML_ERROR_UNEXPECTED_STATE ZT("Failed to parse XML. The XML parser hit an internal problem that stopped it from progressing.") #define XML_ERROR_SPECIFIC_ELEMENT_EXPECTED ZT("Failed to parse XML. The element name %T was expected but %T was found instead.") #define XML_ERROR_SPECIFIC_END_ELEMENT_EXPECTED ZT("Failed to parse XML. The element name %T end tag was expected but %T was found instead.") #define XML_ERROR_CHARACTER_DATA_EXPECTED ZT("Failed to parse XML. Character data was expected but not found.") diff --git a/Unix/xml/xml_errors.inc b/Unix/xml/xml_errors.inc index b0bec3d13..905f75aa2 100644 --- a/Unix/xml/xml_errors.inc +++ b/Unix/xml/xml_errors.inc @@ -26,7 +26,7 @@ XML_ERROR_OPEN_ANGLE_BRACKET_EXPECTED L"Failed to parse XML. An open angle bracket '<' was expected and not found." XML_ERROR_COMMENT_CDATA_DOCTYPE_EXPECTED L"Failed to parse XML. A comment, CDATA or DOCTYPE element was expected and not found." XML_ERROR_ELEMENT_EXPECTED L"Failed to parse XML. An XML element was expected and not found." - XML_ERROR_UNEXPECTED_STATE L"Failed to parse XML. The XML parser hit an interal problem that stopped it from progressing." + XML_ERROR_UNEXPECTED_STATE L"Failed to parse XML. The XML parser hit an internal problem that stopped it from progressing." XML_ERROR_SPECIFIC_ELEMENT_EXPECTED L"Failed to parse XML. The element name %1 was expected but %1 was found instead." XML_ERROR_SPECIFIC_END_ELEMENT_EXPECTED L"Failed to parse XML. The element name %1 end tag was expected but %1 was found instead." XML_ERROR_CHARACTER_DATA_EXPECTED L"Failed to parse XML. Character data was expected but not found." diff --git a/Unix/xmlserializer/xmldeserializer.c b/Unix/xmlserializer/xmldeserializer.c index 586288428..a8aed2bc3 100644 --- a/Unix/xmlserializer/xmldeserializer.c +++ b/Unix/xmlserializer/xmldeserializer.c @@ -55,7 +55,7 @@ typedef struct _DeserializationData } classData; struct _instanceData { - //When encoding class/instance, this is what XmlDeserialzier_GetInstanceClass needs + //When encoding class/instance, this is what XmlDeserializer_GetInstanceClass needs XMLDOM_Elem *declgroupElement; //Client passed in client list and count @@ -86,7 +86,7 @@ _Check_return_ static MI_Result _StringToMiValue(_In_opt_ const DeserializationD //Deserialize a class or instance _Check_return_ MI_Result XmlDeserializer_DoDeserializeClass(_In_ const XMLDOM_Elem *classNode, MI_Uint32 flags, _In_opt_ const MI_Class *parentClass, _In_opt_z_ const MI_Char *namespaceName, _In_opt_z_ const MI_Char *serverName, _In_opt_ MI_Deserializer_ClassObjectNeeded classObjectNeeded, _In_opt_ void *classObjectNeededContext, _Outptr_ MI_Class **resultClass, _Outptr_opt_result_maybenull_ MI_Instance **errorObject); _Check_return_ static MI_Result XmlDeserializer_DoDeserialization(_Inout_ DeserializationData *state, MI_Uint32 flags, _In_ const XMLDOM_Elem *elementNode); -_Check_return_ MI_Result XmlDeserialzier_GetInstanceClass(_In_ const DeserializationData *state, _In_ XMLDOM_Elem *firstElement, MI_Uint32 flags, _In_z_ const MI_Char *instanceClassName, _In_opt_z_ const MI_Char *namespaceName, _In_opt_z_ const MI_Char *serverName, _Outptr_ MI_Class **resultClass); +_Check_return_ MI_Result XmlDeserializer_GetInstanceClass(_In_ const DeserializationData *state, _In_ XMLDOM_Elem *firstElement, MI_Uint32 flags, _In_z_ const MI_Char *instanceClassName, _In_opt_z_ const MI_Char *namespaceName, _In_opt_z_ const MI_Char *serverName, _Outptr_ MI_Class **resultClass); MI_Result MI_CALL XmlDeserializer_DoDeserializeInstance(_Inout_ DeserializationData *stateData, XMLDOM_Elem *instanceElement); //Class specific deserializer functions @@ -99,7 +99,7 @@ _Check_return_ MI_Result XmlDeserializer_AddPropertyArray(_In_ const Deserializa _Check_return_ MI_Result XmlDeserializer_AddPropertyReference(_In_ const DeserializationData *state, _In_ const XMLDOM_Elem *propertyRefElem); _Check_return_ static MI_Result _Extract_NAMESPACEPATH(_In_ const DeserializationData *state, _In_ XMLDOM_Elem *namespacePathElem, _Outptr_result_z_ const MI_Char **serverName, _Outptr_result_z_ const MI_Char **namespacePath); -_Check_return_ static MI_Result _Extract_LOCALNAMESPACEPATH(_In_ const DeserializationData *state, _In_ XMLDOM_Elem *localNmespacePathElem, _Outptr_result_z_ const MI_Char **namespacePath); +_Check_return_ static MI_Result _Extract_LOCALNAMESPACEPATH(_In_ const DeserializationData *state, _In_ XMLDOM_Elem *localNamespacePathElem, _Outptr_result_z_ const MI_Char **namespacePath); _Check_return_ static MI_Result _Extract_INSTANCEPATH(_In_ const DeserializationData *state, _In_ XMLDOM_Elem *refChildElem, _Outptr_ MI_Instance **instanceRef); _Check_return_ static MI_Result _Extract_LOCALINSTANCEPATH(_In_ const DeserializationData *state, _In_ XMLDOM_Elem *refChildElem, _Outptr_ MI_Instance **instanceRef); @@ -499,7 +499,7 @@ MI_Result MI_CALL XmlDeserializer_DoDeserializeInstance( if (stateData->u.instanceData.instanceClass == NULL) { MI_Class *instanceClass = NULL; - result = XmlDeserialzier_GetInstanceClass(stateData, stateData->u.instanceData.declgroupElement, 0, instanceClassName, stateData->u.instanceData.namespaceName, stateData->u.instanceData.serverName, &instanceClass); + result = XmlDeserializer_GetInstanceClass(stateData, stateData->u.instanceData.declgroupElement, 0, instanceClassName, stateData->u.instanceData.namespaceName, stateData->u.instanceData.serverName, &instanceClass); if ((result != MI_RESULT_OK) && (result != MI_RESULT_NOT_FOUND)) { goto cleanup; @@ -593,7 +593,7 @@ MI_Result MI_CALL XmlDeserializer_Instance_GetClassName( return MI_RESULT_NOT_SUPPORTED; } -_Check_return_ MI_Result XmlDeserialzier_GetInstanceClass( +_Check_return_ MI_Result XmlDeserializer_GetInstanceClass( _In_ const DeserializationData *state, _In_ XMLDOM_Elem *declgroupElem, MI_Uint32 flags, @@ -644,7 +644,7 @@ _Check_return_ MI_Result XmlDeserialzier_GetInstanceClass( if (superclassName) { //We need to get the superclass class object to pass through to this guy - result = XmlDeserialzier_GetInstanceClass(state, declgroupElem, flags, superclassName, namespaceName, serverName, &parentClass); + result = XmlDeserializer_GetInstanceClass(state, declgroupElem, flags, superclassName, namespaceName, serverName, &parentClass); if (result != MI_RESULT_OK) { _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_INST_CANNOT_FIND_CLASS, superclassName); @@ -756,8 +756,8 @@ _Check_return_ MI_Result XmlDeserializer_DoDeserializeClass( } else if (!superClassName && parentClass) { - //We have no supercalss but a parent class was passed in - _CreateErrorObject(stateData.errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_CLASS_SUPERCLASS_PARENT_MISSMATCH); + //We have no superclass but a parent class was passed in + _CreateErrorObject(stateData.errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_CLASS_SUPERCLASS_PARENT_MISMATCH); result = MI_RESULT_INVALID_PARAMETER; goto cleanup; } @@ -765,7 +765,7 @@ _Check_return_ MI_Result XmlDeserializer_DoDeserializeClass( { //superclass does not match parent class result = MI_RESULT_INVALID_PARAMETER; - _CreateErrorObject(stateData.errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_CLASS_SUPERCLASS_PARENT_MISSMATCH); + _CreateErrorObject(stateData.errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_CLASS_SUPERCLASS_PARENT_MISMATCH); goto cleanup; } @@ -962,7 +962,7 @@ _Check_return_ static MI_Result _ExtractQualifierAttributes( result = _StringToMiType(attrList->value, type); if (result != MI_RESULT_OK) { - _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("QUALIFIER"), attrList->name); + _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("QUALIFIER"), attrList->name); return result; } foundType = MI_TRUE; @@ -973,7 +973,7 @@ _Check_return_ static MI_Result _ExtractQualifierAttributes( result = _StringToMiBool(attrList->value, &tmpBool); if (result != MI_RESULT_OK) { - _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("QUALIFIER"), attrList->name); + _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("QUALIFIER"), attrList->name); return MI_RESULT_INVALID_PARAMETER; } if (tmpBool == MI_TRUE) @@ -993,7 +993,7 @@ _Check_return_ static MI_Result _ExtractQualifierAttributes( result = _StringToMiBool(attrList->value, &tmpBool); if (result != MI_RESULT_OK) { - _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("QUALIFIER"), attrList->name); + _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("QUALIFIER"), attrList->name); return MI_RESULT_INVALID_PARAMETER; } if (tmpBool) @@ -1011,7 +1011,7 @@ _Check_return_ static MI_Result _ExtractQualifierAttributes( result = _StringToMiBool(attrList->value, &tmpBool); if (result != MI_RESULT_OK) { - _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("QUALIFIER"), attrList->name); + _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("QUALIFIER"), attrList->name); return MI_RESULT_INVALID_PARAMETER; } if (tmpBool) @@ -1033,7 +1033,7 @@ _Check_return_ static MI_Result _ExtractQualifierAttributes( result = _StringToMiBool(attrList->value, &boolValue); if (result != MI_RESULT_OK) { - _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("QUALIFIER"), attrList->name); + _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("QUALIFIER"), attrList->name); return result; } } @@ -1080,7 +1080,7 @@ _Check_return_ static MI_Result _ExtractQualifierAttributes( result = _StringToMiValue(NULL, tempValue, *type, value); if (result != MI_RESULT_OK) { - _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("QUALIFIER")); + _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("QUALIFIER")); return MI_RESULT_INVALID_PARAMETER; } } @@ -1144,7 +1144,7 @@ _Check_return_ MI_Result XmlDeserializer_AddClassQualifier( result = _StringToMiValue(NULL, cursorElem->value_first->value, type, &value); if (result != MI_RESULT_OK) { - _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("CLASS QUALIFIER")); + _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("CLASS QUALIFIER")); return MI_RESULT_INVALID_PARAMETER; } @@ -1198,7 +1198,7 @@ _Check_return_ static MI_Result _ExtractPropertyAttributes( result = _StringToMiType(attrList->value, type); if (result != MI_RESULT_OK) { - _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("PROPERTY"), attrList->name); + _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("PROPERTY"), attrList->name); return result; } typeExists = MI_TRUE; @@ -1212,7 +1212,7 @@ _Check_return_ static MI_Result _ExtractPropertyAttributes( result = _StringToMiBool(attrList->value, propagated); if (result != MI_RESULT_OK) { - _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("PROPERTY"), attrList->name); + _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("PROPERTY"), attrList->name); return result; } } @@ -1224,7 +1224,7 @@ _Check_return_ static MI_Result _ExtractPropertyAttributes( *embedded = 2; else { - _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("PROPERTY"), attrList->name); + _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("PROPERTY"), attrList->name); return MI_RESULT_INVALID_PARAMETER; } } @@ -1243,7 +1243,7 @@ _Check_return_ static MI_Result _ExtractPropertyAttributes( #pragma prefast(pop) #endif { - _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("PROPERTY"), attrList->name); + _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("PROPERTY"), attrList->name); return MI_RESULT_INVALID_PARAMETER; } } @@ -1256,7 +1256,7 @@ _Check_return_ static MI_Result _ExtractPropertyAttributes( result = _StringToMiBool(attrList->value, modified); if (result != MI_RESULT_OK) { - _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("PROPERTY"), attrList->name); + _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("PROPERTY"), attrList->name); return result; } } @@ -1327,7 +1327,7 @@ _Check_return_ static MI_Result _ExtractPropertyReferenceAttributes( result = _StringToMiBool(attrList->value, propagated); if (result != MI_RESULT_OK) { - return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("PROPERTY.REFERENCE"), attrList->name); + return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("PROPERTY.REFERENCE"), attrList->name); } } else if (Tcscmp(attrList->name, PAL_T("MODIFIED")) == 0) @@ -1335,7 +1335,7 @@ _Check_return_ static MI_Result _ExtractPropertyReferenceAttributes( result = _StringToMiBool(attrList->value, modified); if (result != MI_RESULT_OK) { - return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("PROPERTY.REFERENCE"), attrList->name); + return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("PROPERTY.REFERENCE"), attrList->name); } } else @@ -1396,7 +1396,7 @@ _Check_return_ MI_Result XmlDeserializer_AddPropertyQualifier( return result; result = _StringToMiValue(NULL, tempValue, type, &value); if (result != MI_RESULT_OK) - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("PROPERTY QUALIFIER")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("PROPERTY QUALIFIER")); result = Class_AddElementQualifierArrayItem(finalClass, elementId, qualifierIndex, value); if (result != MI_RESULT_OK) @@ -1466,11 +1466,11 @@ static MI_Result ProcessOverrideQualifier(_In_ const DeserializationData *state, { result = _StringToMiBool(currentElem->child_first->value_first->value, overridden); if (result != MI_RESULT_OK) - return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, elementBeingProcessed, PAL_T("Overridden")); + return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, elementBeingProcessed, PAL_T("Overridden")); } else { - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("QUALIFIER")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("QUALIFIER")); } } @@ -1526,7 +1526,7 @@ _Check_return_ MI_Result XmlDeserializer_AddProperty(_In_ const DeserializationD } else { - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("QUALIFIER")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("QUALIFIER")); } } else if (Tcscasecmp(currentElem->attr_first->value, PAL_T("EMBEDDEDOBJECT"))==0) @@ -1567,7 +1567,7 @@ _Check_return_ MI_Result XmlDeserializer_AddProperty(_In_ const DeserializationD return result; result = _StringToMiValue(state, firstElemValue, type, &value); if (result != MI_RESULT_OK) - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("PROPERTY")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("PROPERTY")); valueExists = MI_TRUE; } else if (Tcscmp(currentElem->name, PAL_T("VALUE.OBJECT")) == 0) @@ -1598,13 +1598,13 @@ _Check_return_ MI_Result XmlDeserializer_AddProperty(_In_ const DeserializationD if ((currentElem->child_first == NULL) || (Tcscmp(currentElem->child_first->name, PAL_T("INSTANCE")) != 0)) { - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("PROPERTY")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("PROPERTY")); } result = XmlDeserializer_DoDeserializeInstance(&embeddedState, currentElem->child_first); FreeNamespaceBuffer(&embeddedState); if (result != MI_RESULT_OK) - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("PROPERTY")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("PROPERTY")); type = MI_INSTANCE; value.instance = embeddedState.u.instanceData.instanceResult; @@ -1731,7 +1731,7 @@ _Check_return_ MI_Result XmlDeserializer_AddPropertyArray(_In_ const Deserializa } else { - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("QUALIFIER")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("QUALIFIER")); } } else if (currentElem->attr_first && @@ -1839,7 +1839,7 @@ _Check_return_ MI_Result XmlDeserializer_AddPropertyArray(_In_ const Deserializa } result = _StringToMiValue(state, valueString, type, &value); if (result != MI_RESULT_OK) - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("PROPERTY.ARRAY")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("PROPERTY.ARRAY")); if (state->type == DeserializingClass) { @@ -2034,11 +2034,11 @@ _Check_return_ MI_Result XmlDeserializer_AddMethodQualifier( if ((cursorElem->value_first == NULL) || (cursorElem->value_first->value == NULL)) { - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("METHOD QUALIFIER")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("METHOD QUALIFIER")); } result = _StringToMiValue(NULL, cursorElem->value_first->value, type, &value); if (result != MI_RESULT_OK) - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("METHOD QUALIFIER")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("METHOD QUALIFIER")); result = Class_AddMethodQualifierArrayItem(finalClass, methodId, qualifierId, value); if (result != MI_RESULT_OK) @@ -2077,7 +2077,7 @@ _Check_return_ static MI_Result _ExtractMethodAttributes( { result = _StringToMiType(attrList->value, type); if (result != MI_RESULT_OK) - return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("METHOD"), attrList->name); + return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("METHOD"), attrList->name); typeExists = MI_TRUE; } else if (Tcscmp(attrList->name, PAL_T("CLASSORIGIN")) == 0) @@ -2090,7 +2090,7 @@ _Check_return_ static MI_Result _ExtractMethodAttributes( MI_Boolean boolValue; result = _StringToMiBool(attrList->value, &boolValue); if (result != MI_RESULT_OK) - return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("METHOD"), attrList->name); + return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("METHOD"), attrList->name); } else { @@ -2130,7 +2130,7 @@ _Check_return_ static MI_Result _ExtractMethodParameterAttribute( { result = _StringToMiType(attrList->value, type); if (result != MI_RESULT_OK) - return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("PARAMETER"), PAL_T("TYPE")); + return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("PARAMETER"), PAL_T("TYPE")); typeExists = MI_TRUE; } else @@ -2172,7 +2172,7 @@ _Check_return_ static MI_Result _ExtractMethodParameterArrayAttribute( { result = _StringToMiType(attrList->value, type); if (result != MI_RESULT_OK) - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("PARAMETER.ARRAY"), PAL_T("TYPE")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("PARAMETER.ARRAY"), PAL_T("TYPE")); typeFound = MI_TRUE; } else if (Tcscmp(attrList->name, PAL_T("ARRAYSIZE")) == 0) @@ -2189,7 +2189,7 @@ _Check_return_ static MI_Result _ExtractMethodParameterArrayAttribute( #ifdef _PREFAST_ #pragma prefast(pop) #endif - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("PARAMETER.ARRAY"), PAL_T("ARRAYSIZE")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("PARAMETER.ARRAY"), PAL_T("ARRAYSIZE")); } else { @@ -2247,7 +2247,7 @@ _Check_return_ static MI_Result _ExtractMethodParameterReferenceAttribute( #ifdef _PREFAST_ #pragma prefast(pop) #endif - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("PARAMETER.REFERENCE"), PAL_T("ARRAYSIZE")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("PARAMETER.REFERENCE"), PAL_T("ARRAYSIZE")); } else { @@ -2325,7 +2325,7 @@ _Check_return_ MI_Result XmlDeserializer_AddMethodParameterQualifier( { result = _StringToMiValue(NULL, cursorElem->value_first->value, type, &value); if (result != MI_RESULT_OK) - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("PARAMETER QUALIFIER"));; + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("PARAMETER QUALIFIER"));; } result = Class_AddMethodParameterQualifierArrayItem(finalClass, methodId, parameterId, qualifierId, value); if (result != MI_RESULT_OK) @@ -2871,7 +2871,7 @@ _Check_return_ static MI_Result _Extract_NAMESPACEPATH( //Extract the namespace from a LOCALNAMESPACEPATH node _Check_return_ static MI_Result _Extract_LOCALNAMESPACEPATH( _In_ const DeserializationData *state, - _In_ XMLDOM_Elem *localNmespacePathElem, + _In_ XMLDOM_Elem *localNamespacePathElem, _Outptr_result_z_ const MI_Char **namespacePath) { // LOCALNAMESPACEPATH could be like following, need to concat all elements to form the namespace @@ -2880,7 +2880,7 @@ _Check_return_ static MI_Result _Extract_LOCALNAMESPACEPATH( // // // - XMLDOM_Elem * namespaceElem = localNmespacePathElem->child_first; + XMLDOM_Elem * namespaceElem = localNamespacePathElem->child_first; MI_Result r = MI_RESULT_INVALID_PARAMETER; MI_Char * pCurrentNamespace; MI_Uint32 namespaceBufferLength = 0; @@ -2937,7 +2937,7 @@ _Check_return_ static MI_Result _Extract_LOCALNAMESPACEPATH( pCurrentNamespace = bufferData->pNamespaceBuffer; *pCurrentNamespace = PAL_T('\0'); - namespaceElem = localNmespacePathElem->child_first; + namespaceElem = localNamespacePathElem->child_first; while (namespaceElem != NULL) { const MI_Char * tNamespace = namespaceElem->attr_first->value; @@ -2959,9 +2959,9 @@ _Check_return_ static MI_Result _Extract_LOCALNAMESPACEPATH( return r; } - if (localNmespacePathElem->child_first) + if (localNamespacePathElem->child_first) { - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_CHILD_UNK, PAL_T("LOCALNAMESPACEPATH"), localNmespacePathElem->child_first->name); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ELEM_CHILD_UNK, PAL_T("LOCALNAMESPACEPATH"), localNamespacePathElem->child_first->name); } else { @@ -3202,10 +3202,10 @@ _Check_return_ static MI_Result _Extract_KEYVALUE( MI_Type validateType; result = _StringToMiType(cimType, &validateType); if (result != MI_RESULT_OK) - return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("KEYVALUE"), PAL_T("TYPE")); + return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("KEYVALUE"), PAL_T("TYPE")); if (!Instance_IsDynamic(instanceObject) && (validateType != type)) - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_KEYVALUE_TYPE_MISSMATCH); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_KEYVALUE_TYPE_MISMATCH); } if (Tcscmp(valueType, PAL_T("boolean"))==0) { @@ -3214,7 +3214,7 @@ _Check_return_ static MI_Result _Extract_KEYVALUE( type = MI_BOOLEAN; } else if (type != MI_BOOLEAN) - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_KEYVALUE_TYPE_MISSMATCH); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_KEYVALUE_TYPE_MISMATCH); } else if (Tcscmp(valueType, PAL_T("string"))==0) { @@ -3223,7 +3223,7 @@ _Check_return_ static MI_Result _Extract_KEYVALUE( type = MI_STRING; } else if ((type != MI_STRING) && (type != MI_CHAR16) && (type != MI_DATETIME)) - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_KEYVALUE_TYPE_MISSMATCH); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_KEYVALUE_TYPE_MISMATCH); } else if (Tcscmp(valueType, PAL_T("numeric"))==0) { @@ -3235,17 +3235,17 @@ _Check_return_ static MI_Result _Extract_KEYVALUE( (type != MI_UINT32) && (type != MI_SINT32) && (type != MI_UINT64) && (type != MI_SINT64) && (type != MI_REAL32) && (type != MI_REAL64)) { - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_KEYVALUE_TYPE_MISSMATCH); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_KEYVALUE_TYPE_MISMATCH); } } else { - return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED, PAL_T("KEYVALUE"), PAL_T("VALUETYPE")); + return _CreateErrorObject(state->errorObject, MI_RESULT_INVALID_PARAMETER, ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED, PAL_T("KEYVALUE"), PAL_T("VALUETYPE")); } result = _StringToMiValue(state, value, type, &miValue); if (result != MI_RESULT_OK) - return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED, PAL_T("KEYVALUE")); + return _CreateErrorObject(state->errorObject, result, ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED, PAL_T("KEYVALUE")); if (Instance_IsDynamic(instanceObject)) { @@ -3329,7 +3329,7 @@ _Check_return_ static MI_Result _Extract_INSTANCENAME( if (state->type == DeserializingInstance) { //Can we find the class? - result = XmlDeserialzier_GetInstanceClass(state, state->u.instanceData.declgroupElement, 0, className, namespaceName, serverName, &refClass); + result = XmlDeserializer_GetInstanceClass(state, state->u.instanceData.declgroupElement, 0, className, namespaceName, serverName, &refClass); if ((result != MI_RESULT_OK) && (result != MI_RESULT_NOT_FOUND)) { return result; diff --git a/Unix/xmlserializer/xmldeserializer_errors.inc b/Unix/xmlserializer/xmldeserializer_errors.inc index a28e04d4e..9a9baca4f 100644 --- a/Unix/xmlserializer/xmldeserializer_errors.inc +++ b/Unix/xmlserializer/xmldeserializer_errors.inc @@ -3,16 +3,16 @@ ID_MI_DES_XML_INST_TOO_MANY_CLASSES L"Failed to deserialize CIM-XML document. The instance is too complex to deserialize because it uses too many classes." ID_MI_DES_XML_INST_CANNOT_FIND_CLASS L"Failed to deserialize CIM-XML document. Could not find the class definition %1 while deserializing instance." ID_MI_DES_XML_CLASS_DERIVATION_LIST_WRONG L"Failed to deserialize CIM-XML document. A class definition has a SUPERCLASS attribute and a DERIVATION attribute. The SUPERCLASS attribute value should be the first item in the DERIVATION attribute list." - ID_MI_DES_XML_CLASS_SUPERCLASS_PARENT_MISSMATCH L"Failed to deserialize CIM-XML document. While decoding a class definition there was a mismatch between the SUPERCLASS attribute and the passed in parent class definition." + ID_MI_DES_XML_CLASS_SUPERCLASS_PARENT_MISMATCH L"Failed to deserialize CIM-XML document. While decoding a class definition there was a mismatch between the SUPERCLASS attribute and the passed in parent class definition." ID_MI_DES_XML_ELEM_CHILD_UNK L"Failed to deserialize CIM-XML document. %1 XML element has duplicate or unknown child element %2." ID_MI_DES_XML_EMPTY_VAL_NOT_STRING L"Failed to deserialize CIM-XML document. Empty VALUE XML elements must be of string type." - ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED L"Failed to deserialize CIM-XML document. %1 XML element has an attribute %2 with an invalid value." - ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED L"Failed to deserialize CIM-XML document. %1 XML element has a VALUE with an invalid value." + ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED L"Failed to deserialize CIM-XML document. %1 XML element has an attribute %2 with an invalid value." + ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED L"Failed to deserialize CIM-XML document. %1 XML element has a VALUE with an invalid value." ID_MI_DES_XML_ELEM_HAS_NO_CHILDREN L"Failed to deserialize CIM-XML document. %1 XML element has no children when one or more were expected." ID_MI_DES_XML_ELEM_INVALID_EMBED_CLASS_NAME L"Failed to deserialize CIM-XML document. %1 XML element has attribute EmbeddedClassName when the %1 is not an embedded instance." ID_MI_DES_XML_ELEM_MISSING_ELEM L"Failed to deserialize CIM-XML document. %1 XML element has missing child element %2." ID_MI_DES_XML_REF_TO_VALUE_NOT_SUPPORTED L"Failed to deserialize CIM-XML document. VALUE.REFERENCE of types CLASSPATH, LOCALCLASSPATH or CLASSNAME are not supported." ID_MI_DES_XML_KEYVALUE_FOR_NON_KEY L"Failed to deserialize CIM-XML document. A KEYVALUE was found for a non-key property." - ID_MI_DES_XML_KEYVALUE_TYPE_MISSMATCH L"Failed to deserialize CIM-XML document. A KEYVALUE type does not match the class declaration." + ID_MI_DES_XML_KEYVALUE_TYPE_MISMATCH L"Failed to deserialize CIM-XML document. A KEYVALUE type does not match the class declaration." ID_MI_DES_XML_INSTANCENAME_COULD_NOT_FIND_KEY L"Failed to deserialize CIM-XML document. INSTANCENAME XML element has implied a key name, but no keys were found in the class declaration." ID_MI_DES_XML_ELEM_VAL_NO_DATA L"Failed to deserialize CIM-XML document. %1 XML element has no value." diff --git a/Unix/xmlserializer/xmldeserializer_ids.h b/Unix/xmlserializer/xmldeserializer_ids.h index 4ac7de6fc..8e3ab92f3 100644 --- a/Unix/xmlserializer/xmldeserializer_ids.h +++ b/Unix/xmlserializer/xmldeserializer_ids.h @@ -8,17 +8,17 @@ #define ID_MI_DES_XML_INST_TOO_MANY_CLASSES 4002 #define ID_MI_DES_XML_INST_CANNOT_FIND_CLASS 4003 #define ID_MI_DES_XML_CLASS_DERIVATION_LIST_WRONG 4004 -#define ID_MI_DES_XML_CLASS_SUPERCLASS_PARENT_MISSMATCH 4005 +#define ID_MI_DES_XML_CLASS_SUPERCLASS_PARENT_MISMATCH 4005 #define ID_MI_DES_XML_ELEM_CHILD_UNK 4006 #define ID_MI_DES_XML_EMPTY_VAL_NOT_STRING 4007 -#define ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED 4008 -#define ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED 4009 +#define ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED 4008 +#define ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED 4009 #define ID_MI_DES_XML_ELEM_HAS_NO_CHILDREN 4010 #define ID_MI_DES_XML_ELEM_INVALID_EMBED_CLASS_NAME 4011 #define ID_MI_DES_XML_ELEM_MISSING_ELEM 4012 #define ID_MI_DES_XML_REF_TO_VALUE_NOT_SUPPORTED 4013 #define ID_MI_DES_XML_KEYVALUE_FOR_NON_KEY 4014 -#define ID_MI_DES_XML_KEYVALUE_TYPE_MISSMATCH 4015 +#define ID_MI_DES_XML_KEYVALUE_TYPE_MISMATCH 4015 #define ID_MI_DES_XML_INSTANCENAME_COULD_NOT_FIND_KEY 4016 #define ID_MI_DES_XML_ELEM_VAL_NO_DATA 4017 #else @@ -27,17 +27,17 @@ #define ID_MI_DES_XML_INST_TOO_MANY_CLASSES PAL_T("Failed to deserialize CIM-XML document. The instance is too complex to deserialize because it uses too many classes.") #define ID_MI_DES_XML_INST_CANNOT_FIND_CLASS PAL_T("Failed to deserialize CIM-XML document. Could not find the class definition %T while deserializing instance.") #define ID_MI_DES_XML_CLASS_DERIVATION_LIST_WRONG PAL_T("Failed to deserialize CIM-XML document. A class definition has a SUPERCLASS attribute and a DERIVATION attribute. The SUPERCLASS attribute value should be the first item in the DERIVATION attribute list." ) -#define ID_MI_DES_XML_CLASS_SUPERCLASS_PARENT_MISSMATCH PAL_T("Failed to deserialize CIM-XML document. While decoding a class definition there was a mismatch between the SUPERCLASS attribute and the passed in parent class definition." ) +#define ID_MI_DES_XML_CLASS_SUPERCLASS_PARENT_MISMATCH PAL_T("Failed to deserialize CIM-XML document. While decoding a class definition there was a mismatch between the SUPERCLASS attribute and the passed in parent class definition." ) #define ID_MI_DES_XML_ELEM_CHILD_UNK PAL_T("Failed to deserialize CIM-XML document. %T XML element has duplicate or unknown child element %T.") #define ID_MI_DES_XML_EMPTY_VAL_NOT_STRING PAL_T("Failed to deserialize CIM-XML document. Empty VALUE XML elements must be of string type.") -#define ID_MI_DES_XML_ATTR_VAL_CONVERTION_FAILED PAL_T("Failed to deserialize CIM-XML document. %T XML element has an attribute %T with an invalid value.") -#define ID_MI_DES_XML_ELEM_VAL_CONVERTION_FAILED PAL_T("Failed to deserialize CIM-XML document. %T XML element has a VALUE with an invalid value.") +#define ID_MI_DES_XML_ATTR_VAL_CONVERSION_FAILED PAL_T("Failed to deserialize CIM-XML document. %T XML element has an attribute %T with an invalid value.") +#define ID_MI_DES_XML_ELEM_VAL_CONVERSION_FAILED PAL_T("Failed to deserialize CIM-XML document. %T XML element has a VALUE with an invalid value.") #define ID_MI_DES_XML_ELEM_HAS_NO_CHILDREN PAL_T("Failed to deserialize CIM-XML document. %T XML element has no children when one or more were expected.") #define ID_MI_DES_XML_ELEM_INVALID_EMBED_CLASS_NAME PAL_T("Failed to deserialize CIM-XML document. %T XML element has attribute EmbeddedClassName when the %T is not an embedded instance.") #define ID_MI_DES_XML_ELEM_MISSING_ELEM PAL_T("Failed to deserialize CIM-XML document. %T XML element has missing child element %T.") #define ID_MI_DES_XML_REF_TO_VALUE_NOT_SUPPORTED PAL_T("Failed to deserialize CIM-XML document. VALUE.REFERENCE of types CLASSPATH, LOCALCLASSPATH or CLASSNAME are not supported.") #define ID_MI_DES_XML_KEYVALUE_FOR_NON_KEY PAL_T("Failed to deserialize CIM-XML document. A KEYVALUE was found for a non-key property.") -#define ID_MI_DES_XML_KEYVALUE_TYPE_MISSMATCH PAL_T("Failed to deserialize CIM-XML document. A KEYVALUE type does not match the class declaration.") +#define ID_MI_DES_XML_KEYVALUE_TYPE_MISMATCH PAL_T("Failed to deserialize CIM-XML document. A KEYVALUE type does not match the class declaration.") #define ID_MI_DES_XML_INSTANCENAME_COULD_NOT_FIND_KEY PAL_T("Failed to deserialize CIM-XML document. INSTANCENAME XML element has implied a key name, but no keys were found in the class declaration.") #define ID_MI_DES_XML_ELEM_VAL_NO_DATA PAL_T("Failed to deserialize CIM-XML document. %T XML element has no value.") #endif diff --git a/Unix/xmlserializer/xmlserializer.c b/Unix/xmlserializer/xmlserializer.c index b92754d09..e65c57702 100644 --- a/Unix/xmlserializer/xmlserializer.c +++ b/Unix/xmlserializer/xmlserializer.c @@ -187,7 +187,7 @@ static void WriteBuffer_RecurseInstanceClass( } if (*writtenClassCount == 50) { - *result = MI_RESULT_FAILED; /*Overrite error in this case as this is very fatal!*/ + *result = MI_RESULT_FAILED; /*Overwrite error in this case as this is very fatal!*/ return; } @@ -622,7 +622,7 @@ static void WriteBuffer_MiPropertyDecls( WriteBuffer_StringLiteral(clientBuffer, clientBufferLength, clientBufferNeeded, PAL_T("\""), escapingDepth, result); } - /* %ArraySize; -- property arays */ + /* %ArraySize; -- property arrays */ if ((propertyType & MI_ARRAY) && propertySubscript) { WriteBuffer_StringLiteral(clientBuffer, clientBufferLength, clientBufferNeeded, PAL_T(" ARRAYSIZE=\""), escapingDepth, result); @@ -683,7 +683,7 @@ static void WriteBuffer_MiPropertyDecls( { //Dynamic classes do not have qualifiers, only flags. They don't even mark a property as being a property! - //If this is a dynanic instance and this is property is an embedded instance then we need to fabricate a EmbeddedObject qualifier otherwise + //If this is a dynamic instance and this is property is an embedded instance then we need to fabricate a EmbeddedObject qualifier otherwise //deserialization will think it is a string if ((propertyType&~MI_ARRAY) == MI_INSTANCE) { @@ -1760,7 +1760,7 @@ MI_Result MI_CALL XmlSerializer_SerializeClassEx( return result; } -/* Wrapper method to accomendate WSMAN flags in using the API */ +/* Wrapper method to accommodate WSMAN flags in using the API */ MI_Result MI_CALL XmlSerializer_SerializeClass( _Inout_ MI_Serializer *serializer, MI_Uint32 flags, @@ -1839,7 +1839,7 @@ MI_Result MI_CALL XmlSerializer_SerializeInstanceEx( return result; } -/* Wrapper method to accomendate WSMAN flags in using the API */ +/* Wrapper method to accommodate WSMAN flags in using the API */ MI_Result MI_CALL XmlSerializer_SerializeInstance( _Inout_ MI_Serializer *serializer, MI_Uint32 flags,
Linux VerisonPackages Needed
Linux VersionPackages Needed
RHEL 7.3, CentOS 7.3 krb5-workstation-1.14.1-27.el7.x86_64 or later
gssntlmssp-0.7.0-1.el7.x86_6
Ubuntu 16.04 (xenial) libgssapi-krb5-2 version 1.13.2+dfsg-5 or later